Add Blog page with routing, layout, and mock posts; update navigation and localization

This commit is contained in:
2025-10-03 16:13:04 +08:00
parent 1b745c7ffc
commit 2ddadc44e2
5 changed files with 505 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ function Nav({ currentPage }: NavProps) {
<div className="nav-links">
<a href="/" className={currentPage === 'home' ? 'active' : ''}>{t('nav.home')}</a>
<a href="/#servers" className={currentPage === 'servers' ? 'active' : ''}>{t('nav.servers')}</a>
<a href="/#blog" className={currentPage === 'blog' ? 'active' : ''}>{t('nav.blog')}</a>
<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="/friends" className={currentPage === 'friends' ? 'active' : ''}>{t('nav.friends')}</Link>