diff --git a/ui/src/lib/components/Countdown.svelte b/ui/src/lib/components/Countdown.svelte index 206d305..476bdca 100644 --- a/ui/src/lib/components/Countdown.svelte +++ b/ui/src/lib/components/Countdown.svelte @@ -1,54 +1,72 @@ {#if isPast} -

{pastMessage}

+

+ {pastMessage} +

{:else if compact} -
- {#each units as unit, i (unit.label)} - {#if i > 0}·{/if} - {unit.value} - {unit.label} - {/each} -
+
+ {#each units as unit, i (unit.label)} + {#if i > 0}·{/if} + {unit.value} + {unit.label} + {/each} +
{:else} -
- {#each units as unit (unit.label)} -
- - {String(unit.value).padStart(2, '0')} - - {unit.label} -
- {/each} -
+
+ {#each units as unit (unit.label)} +
+ + {String(unit.value).padStart(2, "0")} + + {unit.label} +
+ {/each} +
{/if} diff --git a/ui/src/lib/components/PhotoBackground.svelte b/ui/src/lib/components/PhotoBackground.svelte index 0303c95..660e5a8 100644 --- a/ui/src/lib/components/PhotoBackground.svelte +++ b/ui/src/lib/components/PhotoBackground.svelte @@ -1,87 +1,99 @@ {#if photos.length > 0} - + {/if} diff --git a/ui/src/routes/+layout.svelte b/ui/src/routes/+layout.svelte index aa63bee..4a72546 100644 --- a/ui/src/routes/+layout.svelte +++ b/ui/src/routes/+layout.svelte @@ -1,45 +1,93 @@ -
-
- -
- -
-
-
- {@render children()} -
+
+
+ + {#if menuOpen} +
+ {#each links as link (link.href)} + + {link.label} + + {/each} +
+ {/if} +
+
+ {@render children()} +
diff --git a/ui/src/routes/+page.svelte b/ui/src/routes/+page.svelte index 4db0d42..6ec9590 100644 --- a/ui/src/routes/+page.svelte +++ b/ui/src/routes/+page.svelte @@ -8,7 +8,7 @@
diff --git a/ui/src/routes/photos/+page.svelte b/ui/src/routes/photos/+page.svelte index 1fa49a4..446b55c 100644 --- a/ui/src/routes/photos/+page.svelte +++ b/ui/src/routes/photos/+page.svelte @@ -65,7 +65,7 @@ {#if !isOpen}

Photo uploads open on the wedding day

-

Come back on {formatFullDate(wedding.date)} to share your photos with Zoé & Shaldon.

+

Come back on {formatFullDate(wedding.date)} to share your photos with Zoé & Shaldon.

{:else if status === 'done'}
@@ -74,36 +74,36 @@ {:else}

Share your photos

-

+

Upload photos from the day — up to {MAX_FILES} at a time, {MAX_SIZE_MB}MB each.