From 48ac320238db8aff652b614fad3381dc0f3f27e3 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Sat, 17 Aug 2024 14:38:24 -0400 Subject: [PATCH] image card --- .../src/lib/components/EditAdventure.svelte | 45 +++++++++---------- .../src/lib/components/NewAdventure.svelte | 4 +- 2 files changed, 24 insertions(+), 25 deletions(-) diff --git a/frontend/src/lib/components/EditAdventure.svelte b/frontend/src/lib/components/EditAdventure.svelte index 44b5cb3..cd97263 100644 --- a/frontend/src/lib/components/EditAdventure.svelte +++ b/frontend/src/lib/components/EditAdventure.svelte @@ -349,10 +349,25 @@ {/if} - +
+
+
+
+ +
+
+
-

Location Information

+

Location Information


@@ -369,7 +384,7 @@
-
-
-
-
- -
-
-
-
@@ -469,7 +467,7 @@ it would also work to just use on:click on the MapLibre component itself. -->
{:else}

Upload images here

-

{adventureToEdit.id}

+

@@ -499,8 +497,9 @@ it would also work to just use on:click on the MapLibre component itself. --> class="btn btn-error" on:click={() => { removeImage(image.id); - }} - /> + }}>X + {image.id} {/each}
diff --git a/frontend/src/lib/components/NewAdventure.svelte b/frontend/src/lib/components/NewAdventure.svelte index 1e10f46..fa4a00d 100644 --- a/frontend/src/lib/components/NewAdventure.svelte +++ b/frontend/src/lib/components/NewAdventure.svelte @@ -352,7 +352,7 @@
-
+

@@ -390,7 +390,7 @@