Fix features link on mobile
This commit is contained in:
parent
9feac14c3e
commit
934de53f33
@ -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 />
|
||||||
|
Loading…
Reference in New Issue
Block a user