From 9895dae53a52403aaa6d0d328e41072bd9bdc512 Mon Sep 17 00:00:00 2001 From: Mike Karl Date: Wed, 22 Apr 2026 16:25:51 +0200 Subject: [PATCH] nav fix --- src/sections/AboutSection.tsx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/sections/AboutSection.tsx b/src/sections/AboutSection.tsx index d16f1fc..dd828e5 100644 --- a/src/sections/AboutSection.tsx +++ b/src/sections/AboutSection.tsx @@ -1,5 +1,6 @@ "use client"; +import Link from "next/link"; import { useScrollReveal } from "../hooks/useScrollReveal"; import { aboutContent, aboutPage } from "../data/about"; import { ArrowRight } from "lucide-react"; @@ -7,12 +8,6 @@ import { ArrowRight } from "lucide-react"; export default function AboutSection() { const revealRef = useScrollReveal({ stagger: 0.15 }); - const handleProjectsClick = (e: React.MouseEvent) => { - e.preventDefault(); - const target = document.querySelector("#projects"); - if (target) target.scrollIntoView({ behavior: "smooth" }); - }; - return (
@@ -24,9 +19,8 @@ export default function AboutSection() { ))}
- @@ -36,7 +30,7 @@ export default function AboutSection() { size={18} className="group-hover:translate-x-1 transition-transform" /> - +