Add Forum page with layout, mock data, and routing; update navigation and localization

This commit is contained in:
2025-10-03 16:37:46 +08:00
parent 7579e48611
commit 060a08371f
5 changed files with 620 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ function Nav({ currentPage }: NavProps) {
<Link to="/servers" className={currentPage === 'servers' ? 'active' : ''}>{t('nav.servers')}</Link>
<Link to="/blog" className={currentPage === 'blog' ? 'active' : ''}>{t('nav.blog')}</Link>
<a href="https://git.cialloo.com" className={currentPage === 'git' ? 'active' : ''}>{t('nav.git')}</a>
<a href="/#forum" className={currentPage === 'forum' ? 'active' : ''}>{t('nav.forum')}</a>
<Link to="/forum" className={currentPage === 'forum' ? 'active' : ''}>{t('nav.forum')}</Link>
<Link to="/friends" className={currentPage === 'friends' ? 'active' : ''}>{t('nav.friends')}</Link>
<ThemeToggle />
<LanguageSelector />