2024-09-01 08:24:04 +07:00
|
|
|
import Link from "next/link";
|
|
|
|
|
|
|
|
|
|
const FixedButton = ({ children, href = '/' }) => (
|
|
|
|
|
<Link
|
|
|
|
|
href={href}
|
2024-04-19 19:44:46 +07:00
|
|
|
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
|
|
|
);
|
|
|
|
|
|
2024-04-19 19:44:46 +07:00
|
|
|
export default FixedButton;
|