wave canvas styling fix + links righthand bar

This commit is contained in:
2026-03-04 20:29:38 -06:00
parent 6d5e6b5202
commit fd13b72380
6 changed files with 91 additions and 86 deletions

View File

@@ -6,15 +6,16 @@ import wave from "../img/menu-wave.svg";
import "./nav.scss";
import {motion} from "framer-motion";
import {Link} from "../router/Link";
import {Path} from "../router/router";
import {Links} from "./Links";
export default function Nav() {
const [active, setActive] = useState(false);
return <>
<nav className="header">
<nav>
<MenuButton active={active} setActive={setActive}/>
<Title/>
<Link href="/about" className="nav-item">About</Link>
<Links/>
</nav>
<Menu active={active}/>
<img className="wave" alt="wave" src={wave}/>
@@ -34,11 +35,3 @@ function MenuButton(props : { active: boolean, setActive: (_:boolean) => void })
</div>
);
}
function Title() {
return (
<Link href="/" className="name">
<motion.h1>Tymur Arsentiev</motion.h1>
</Link>
);
}