diff --git a/data/wotd_audio/hope.mp3 b/data/wotd_audio/hope.mp3 new file mode 100644 index 0000000..342e88e Binary files /dev/null and b/data/wotd_audio/hope.mp3 differ diff --git a/frontend/src/lib/components/HubBar.svelte b/frontend/src/lib/components/HubBar.svelte new file mode 100644 index 0000000..c5363e5 --- /dev/null +++ b/frontend/src/lib/components/HubBar.svelte @@ -0,0 +1,111 @@ + + + { if (e.key === 'Escape') open = false; }} /> + +
+ + upbeatBytes + + +
+ + + + + + + +
+
+ +{#if open} + +{/if} + + diff --git a/frontend/src/lib/components/HubShell.svelte b/frontend/src/lib/components/HubShell.svelte index 26f12bd..2b1465f 100644 --- a/frontend/src/lib/components/HubShell.svelte +++ b/frontend/src/lib/components/HubShell.svelte @@ -1,27 +1,12 @@
-
- - upbeatBytes - - -
+
{@render children?.()}
@@ -42,24 +27,6 @@ } .page :global(*) { box-sizing: border-box; } - .bar { - display: flex; align-items: center; justify-content: space-between; - max-width: 1180px; width: 100%; margin: 0 auto; box-sizing: border-box; - padding: 26px clamp(18px, 5vw, 44px) 0; - } - .brand { display: block; line-height: 0; } - .brand img { height: 48px; width: auto; display: block; } - .nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-size: 16.5px; font-weight: 500; } - .nav a { color: var(--body); text-decoration: none; } - .nav a.on { color: #23201b; } - .nav a:hover { color: var(--teal); } - .nav-soon { color: #b3a890; } - .acct { - width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #e6c9a0; background: #FCEFD7; - display: flex; align-items: center; justify-content: center; - } - .acct:hover { background: #fbe6c4; } - .shell-main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; box-sizing: border-box; padding: clamp(26px, 5vw, 56px) clamp(18px, 5vw, 44px) clamp(40px, 6vw, 72px); diff --git a/frontend/src/routes/home3/+page.svelte b/frontend/src/routes/home3/+page.svelte index 51f2e78..86d1ec7 100644 --- a/frontend/src/routes/home3/+page.svelte +++ b/frontend/src/routes/home3/+page.svelte @@ -1,6 +1,7 @@