From e11c705d3dd0f8526154017d00937df3194de90f Mon Sep 17 00:00:00 2001 From: theoleuthardt Date: Thu, 13 Feb 2025 01:09:37 +0100 Subject: [PATCH] fix: use Link instead of a elements for optimization (thx nextjs) --- src/components/Navbar.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 685e918..6bbb9b4 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,6 +1,7 @@ import React from "react"; import Image from "next/image"; import LOGO from "../assets/werkzeugkasten.svg"; +import Link from "next/link"; interface NavProps { className?: string; @@ -17,21 +18,21 @@ const Navbar = (props: NavProps) => {
{props.renderHomeLink ? ( - home - + ) : null}
- github - +