fix: Page navigation links #25

Merged
aniva merged 3 commits from post/page into main 2024-10-18 14:36:59 -07:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 0cea3461dc - Show all commits

View File

@ -119,7 +119,7 @@ a, button {
font-weight: 500;
font-family: serif;
}
.nav-link:not(.disabled-link) {
.nav-link:not(.disabled-link):not(.current-link) {
color: var(--navlink);
}
a.disabled-link {

View File

@ -16,8 +16,8 @@
{#each routes as item}
<a
class="nav-link"
class:current-link={isCurrentLink($page.url.pathname, item.route)}
class:disabled-link={item.disabled}
class:current-link={isCurrentLink($page.url.pathname, item.route)}
href={item.route}>{item.name}</a>
{/each}
<a class="nav-link icon" href="/rss.xml"><Rss /></a>