From f62843efcfc18d1e356d6850fd039ce1578b2ed7 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Tue, 9 Dec 2025 06:50:54 +0100 Subject: [PATCH] Refactor Navigation component to use Next.js Link for navigation links, improving performance and accessibility. --- components/Navigation.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/components/Navigation.tsx b/components/Navigation.tsx index 8a9888e..322b54f 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -1,5 +1,6 @@ "use client"; +import Link from "next/link"; import PlayerStats from "./PlayerStats"; export default function Navigation() { @@ -20,24 +21,24 @@ export default function Navigation() { {/* Navigation Links - Center */}
- HOME - - + EVENTS - - + LEADERBOARD - +
{/* Player Stats - Right */}