design: re-do menus, dynamic origin animations

This commit is contained in:
James Xylight committed 2025-08-22 15:35:53 -07:00
1 parent 148436d3b8
commit 0805313852
14 files changed
+91 -74

No files matched your search

+6 -2
View File
@@ -197,7 +197,7 @@
</span>
{/if}
</Menu>
<Menu>
<Menu placement="bottom">
{#snippet target()}
<button
class="w-10 h-10 rounded-full border-slate-200 dark:border-zinc-700
@@ -224,7 +224,11 @@
{/snippet}
{#snippet children(open)}
{#if open}
{#await import('./Profile.svelte') then { default: Profile }}
{#await import('./Profile.svelte')}
<div class="m-8 w-full h-full grid place-items-center">
<Spinner width={20} />
</div>
{:then { default: Profile }}
<Profile />
{/await}
{/if}