router changes

This commit is contained in:
2026-03-03 11:38:54 -06:00
parent 0713ad7521
commit bf1f26d851
6 changed files with 104 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ import {Menu} from "./Menu";
import wave from "../img/menu-wave.svg";
import "./nav.scss";
import {motion} from "framer-motion";
import {Link} from "../router/Link";
export function Nav() {
const [active, setActive] = useState(false);
@@ -35,8 +36,8 @@ function MenuButton(props : { active: boolean, setActive: (_:boolean) => void })
function Title() {
return (
<a href="/" className="name click">
<Link href="/" className="name click">
<motion.h1>Tymur Arsentiev</motion.h1>
</a>
</Link>
);
}