From d1e94f14027c413a004f193a1ebec695e8cfdc37 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Tue, 9 Dec 2025 08:51:24 +0100 Subject: [PATCH] Update HeroSection buttons to use Next.js Link for navigation to events and leaderboard, enhancing user experience and accessibility. Rename game title in Navigation component to 'Peaksys'. --- components/HeroSection.tsx | 19 ++++++++++++------- components/Navigation.tsx | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/components/HeroSection.tsx b/components/HeroSection.tsx index c032b01..e6bb07b 100644 --- a/components/HeroSection.tsx +++ b/components/HeroSection.tsx @@ -1,6 +1,7 @@ "use client"; import { useBackgroundImage } from "@/hooks/usePreferences"; +import Link from "next/link"; export default function HeroSection() { const backgroundImage = useBackgroundImage("home", "/got-2.jpg"); @@ -52,13 +53,17 @@ export default function HeroSection() { {/* Call-to-Action Buttons */}
- - + + + + + +
diff --git a/components/Navigation.tsx b/components/Navigation.tsx index f01cf6d..b5a193c 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -17,7 +17,7 @@ export default function Navigation() {
- Game of Tech + Peaksys