nav bar refinements

This commit is contained in:
2025-01-30 22:12:10 -05:00
parent 80aca7d424
commit 46202f3337
6 changed files with 1168 additions and 5 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"_variables": { "_variables": {
"lastUpdateCheck": 1736808843243 "lastUpdateCheck": 1738292575979
} }
} }
+1158
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+5 -2
View File
@@ -21,8 +21,11 @@ const navLinks: NavLink[] = [
<nav> <nav>
{ {
navLinks.map((link) => ( navLinks.map((link) => (
<li class={pathname === link.path ? 'selected' : null}> <li>
<a href={link.path}> <a
href={link.path}
class={pathname === link.path ? 'selected' : null}
>
<span>{link.label}</span> <span>{link.label}</span>
</a> </a>
</li> </li>
+3 -1
View File
@@ -21,6 +21,7 @@
:root { :root {
--blue: #1e66f5; --blue: #1e66f5;
--sky: #04a5e5;
--red: #d20f39; --red: #d20f39;
--orange: #fe640b; --orange: #fe640b;
--text: #4c4f69; --text: #4c4f69;
@@ -33,6 +34,7 @@
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--blue: #89b4fa; --blue: #89b4fa;
--sky: #89dceb;
--red: #f38ba8; --red: #f38ba8;
--orange: #fab387; --orange: #fab387;
--text: #cdd6f4; --text: #cdd6f4;
@@ -83,7 +85,7 @@ header > nav > li > a:hover {
} }
header > nav > li > .selected { header > nav > li > .selected {
border-bottom: 1px solid #e56045; font-weight: bold;
} }
footer { footer {