vkorobtsev-nextJs/components/FixedButton.jsx

12 lines
309 B
React
Raw Normal View History

2024-09-01 08:24:04 +07:00
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}
2024-09-01 08:24:04 +07:00
</Link>
2023-09-06 12:29:16 +07:00
);
export default FixedButton;