aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-02 21:32:59 -0800
committerAdam Soltys <[email protected]>2026-03-02 21:32:59 -0800
commitf73a6be565bace826404d470b8e8a8c1a25eb19e (patch)
treeb47dde049fd6f0d70132500d9bd2be7837c0ccaa /src/components
parent7c4d393feaf9c594fa6bdae274abc0edd45c3373 (diff)
downloadcoinos-ui-f73a6be565bace826404d470b8e8a8c1a25eb19e.tar.gz
coinos-ui-f73a6be565bace826404d470b8e8a8c1a25eb19e.zip
fix svelte-check issues
Diffstat (limited to 'src/components')
-rw-r--r--src/components/AppHeader.svelte8
-rw-r--r--src/components/Menu.svelte9
2 files changed, 2 insertions, 15 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 27698a77..5f99cdc3 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -77,7 +77,7 @@
{#if user}
{#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}>
+ <button class="flex justify-center items-center bg-base-100 p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl {opacity(href)}" aria-label={label}>
<iconify-icon noobserver {icon} width={(w ?? 0) > 640 ? 32 : 24}></iconify-icon>
</button>
</a>
@@ -100,12 +100,6 @@
{/if}
<style>
- @reference "../app.css";
-
- .btn-menu {
- @apply flex justify-center items-center bg-base-100 p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl;
- }
-
header {
z-index: 50;
view-transition-name: header;
diff --git a/src/components/Menu.svelte b/src/components/Menu.svelte
index 6c581ba1..6a7c488a 100644
--- a/src/components/Menu.svelte
+++ b/src/components/Menu.svelte
@@ -27,7 +27,7 @@
<div>
<OutClick onOutClick={hideMenu}>
- <button class="btn-menu {opacity('/support')}" onclick={toggleMenu} aria-label="Open menu">
+ <button class="flex justify-center items-center bg-base-100 p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl {opacity('/support')}" onclick={toggleMenu} aria-label="Open menu">
<iconify-icon noobserver icon="ph:list-bold" width={w > 640 ? 32 : 24}></iconify-icon>
</button>
@@ -67,10 +67,3 @@
</OutClick>
</div>
-<style>
- @reference "../app.css";
-
- .btn-menu {
- @apply flex justify-center items-center bg-base-100 p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl;
- }
-</style>