From d756598342c023d8ba3135c232e89cdb3d54c95e Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Fri, 18 Oct 2024 11:31:34 -0700 Subject: [PATCH 1/3] fix: Next page link on first page --- src/routes/post/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/post/+page.svelte b/src/routes/post/+page.svelte index 62a29e4..f34c550 100644 --- a/src/routes/post/+page.svelte +++ b/src/routes/post/+page.svelte @@ -12,4 +12,4 @@
- + From 60fc46af4a5f94f4882713a1feb48fe3f6bc25d2 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Fri, 18 Oct 2024 11:34:16 -0700 Subject: [PATCH 2/3] fix: Styling disabled nav-link --- src/app.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app.css b/src/app.css index 99d0b06..ba4e396 100644 --- a/src/app.css +++ b/src/app.css @@ -115,11 +115,13 @@ a, button { text-shadow: 0 0 5px; } .nav-link, .nav-link * { - color: var(--navlink); @apply text-lg; font-weight: 500; font-family: serif; } +.nav-link:not(.disabled-link) { + color: var(--navlink); +} a.disabled-link { color: rgb(128,128,128); pointer-events: none; From 0cea3461dca470f004177207304f6cea214f7b39 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Fri, 18 Oct 2024 11:42:08 -0700 Subject: [PATCH 3/3] fix: Styling current link --- src/app.css | 2 +- src/routes/Navbar.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.css b/src/app.css index ba4e396..a617065 100644 --- a/src/app.css +++ b/src/app.css @@ -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 { diff --git a/src/routes/Navbar.svelte b/src/routes/Navbar.svelte index 82e28ea..25917b5 100644 --- a/src/routes/Navbar.svelte +++ b/src/routes/Navbar.svelte @@ -16,8 +16,8 @@ {#each routes as item} {item.name} {/each}