aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppHeader.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 20:10:43 -0800
committerAdam Soltys <[email protected]>2026-02-11 20:10:43 -0800
commit56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (patch)
treed6bc2557c56b93177bb14aa376847c6e123a4862 /src/components/AppHeader.svelte
parent13466248004327e9a026cb89f94926f9b060d1c1 (diff)
downloadcoinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.tar.gz
coinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.zip
format
Diffstat (limited to 'src/components/AppHeader.svelte')
-rw-r--r--src/components/AppHeader.svelte7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index f45f4d0c..daeedcdb 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -56,9 +56,7 @@
]);
let opacity = $derived((href) =>
- $page.url.pathname === href
- ? "opacity-100"
- : "opacity-90 hover:opacity-none",
+ $page.url.pathname === href ? "opacity-100" : "opacity-90 hover:opacity-none",
);
</script>
@@ -74,8 +72,7 @@
{#each links as { href, icon, label }}
<a {href} data-sveltekit-preload-code="eager" aria-label={label}>
<button class="btn-menu {opacity(href)}" aria-label={label}>
- <iconify-icon noobserver {icon} width={(w ?? 0) > 640 ? 32 : 24}
- ></iconify-icon>
+ <iconify-icon noobserver {icon} width={(w ?? 0) > 640 ? 32 : 24}></iconify-icon>
</button>
</a>
{/each}