From 9af1854a7e35785a8e86426c4fb1edd465f164a3 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 1 Jan 2026 18:32:49 -0800 Subject: Massive refactor courtesy of 5 dollars of AI tokens --- src/components/DirectionCard.svelte | 80 +++++++--- src/components/Footer.svelte | 154 ++++++++++++------ src/components/NavBar.svelte | 306 ++++++++++++++++++++++++++++++++---- 3 files changed, 439 insertions(+), 101 deletions(-) (limited to 'src/components') diff --git a/src/components/DirectionCard.svelte b/src/components/DirectionCard.svelte index 0097d33..7f9d76f 100644 --- a/src/components/DirectionCard.svelte +++ b/src/components/DirectionCard.svelte @@ -1,26 +1,60 @@ -
- {#if direction == 'right'} -
-
- {imageSpec.alt} -
-
- -
-
- {:else} -
-
- -
-
- {imageSpec.alt} -
-
- {/if} -
+
+ {#if direction === 'right'} +
+
+ {imageSpec.alt} +
+
+ +
+
+ {:else} +
+
+ +
+
+ {imageSpec.alt} +
+
+ {/if} +
+ + diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index 00d3e07..c9375e5 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,46 +1,110 @@ -