import { useState } from "react";
import { Link } from "react-router-dom";
import logo from "../assets/logo_light_160.png";
import { SideSheet } from "@douyinfe/semi-ui";
import { IconMenu } from "@douyinfe/semi-icons";
export default function Navbar() {
const [openMenu, setOpenMenu] = useState(false);
return (
<>
document
.getElementById("features")
.scrollIntoView({ behavior: "smooth" })
}
>
Features
Editor
Templates
}
visible={openMenu}
onCancel={() => setOpenMenu(false)}
width={window.innerWidth}
>
{
document
.getElementById("features")
.scrollIntoView({ behavior: "smooth" });
setOpenMenu(false);
}}
>
Features
Editor
Templates
>
);
}