vkorobtsev-nextJs/components/FixedButton.jsx
2024-09-01 08:24:04 +07:00

11 lines
309 B
JavaScript

import Link from "next/link";
const FixedButton = ({ children, href = '/' }) => (
<Link
href={href}
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}
</Link>
);
export default FixedButton;