Fix features link on mobile

This commit is contained in:
1ilit 2024-02-28 14:09:23 +02:00
parent 9feac14c3e
commit 934de53f33

View File

@ -53,7 +53,15 @@ export default function Navbar() {
onCancel={() => setOpenMenu(false)} onCancel={() => setOpenMenu(false)}
width={window.innerWidth} width={window.innerWidth}
> >
<Link className="hover:bg-zinc-100 block p-3 text-base font-semibold"> <Link
className="hover:bg-zinc-100 block p-3 text-base font-semibold"
onClick={() => {
document
.getElementById("features")
.scrollIntoView({ behavior: "smooth" });
setOpenMenu(false);
}}
>
Features Features
</Link> </Link>
<hr /> <hr />