From 0f709df621fdd878ee1369e46bb1886a8670f013 Mon Sep 17 00:00:00 2001 From: cialloo Date: Sat, 4 Oct 2025 07:02:34 +0800 Subject: [PATCH] Refactor navigation links in Footer and Nav components to use Link for consistent routing and improve accessibility --- src/components/Footer.tsx | 4 ++-- src/components/Nav.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index a1f4217..8f372be 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -16,8 +16,8 @@ function Footer() { {t('nav.home')} {t('nav.servers')} {t('nav.blog')} - {t('nav.git')} - {t('nav.forum')} + {t('nav.git')} + {t('nav.forum')} {t('nav.friends')}
diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index 87f8635..eda0b02 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -19,10 +19,10 @@ function Nav({ currentPage }: NavProps) {
- {t('nav.home')} + {t('nav.home')} {t('nav.servers')} {t('nav.blog')} - {t('nav.git')} + {t('nav.git')} {t('nav.forum')} {t('nav.friends')}