feat(img, navbar): make the animation smoother
This commit is contained in:
parent
231488859c
commit
e77b3b9d42
5 changed files with 47 additions and 43 deletions
|
|
@ -1,9 +1,9 @@
|
|||
const FixedButton = ({ children, onClick }) => (
|
||||
<button
|
||||
onClick={onClick}
|
||||
className="fixed top-2 -left-2 md:left-10 flex justify-center items-center rounded-full p-4 transition duration-300 ease-in-out z-50 transparent">
|
||||
{children}
|
||||
</button>
|
||||
<button
|
||||
onClick={onClick}
|
||||
className="fixed top-2 -left-2 md:left-10 flex justify-center items-center rounded-full p-4 transition duration-300 ease-in-out z-50 transparent">
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
|
||||
export default FixedButton;
|
||||
export default FixedButton;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue