mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
fix: move links nav before about
This commit is contained in:
@@ -90,14 +90,6 @@ const isActive = (path: string) => {
|
|||||||
{t.nav.tags}
|
{t.nav.tags}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="col-span-2">
|
|
||||||
<a
|
|
||||||
href={getRelativeLocaleUrl(locale, "about")}
|
|
||||||
class:list={{ "active-nav": isActive("/about") }}
|
|
||||||
>
|
|
||||||
{t.nav.about}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="col-span-2">
|
<li class="col-span-2">
|
||||||
<a
|
<a
|
||||||
href={getRelativeLocaleUrl(locale, "links")}
|
href={getRelativeLocaleUrl(locale, "links")}
|
||||||
@@ -106,6 +98,14 @@ const isActive = (path: string) => {
|
|||||||
{t.nav.links}
|
{t.nav.links}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="col-span-2">
|
||||||
|
<a
|
||||||
|
href={getRelativeLocaleUrl(locale, "about")}
|
||||||
|
class:list={{ "active-nav": isActive("/about") }}
|
||||||
|
>
|
||||||
|
{t.nav.about}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
{
|
{
|
||||||
features.showArchives && (
|
features.showArchives && (
|
||||||
<li class="col-span-2">
|
<li class="col-span-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user