diff --git a/src/lib/assets/calendar.svg b/src/lib/assets/calendar.svg new file mode 100644 index 0000000..8d2afab --- /dev/null +++ b/src/lib/assets/calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/lib/assets/locationDot.svg b/src/lib/assets/locationDot.svg new file mode 100644 index 0000000..f5af965 --- /dev/null +++ b/src/lib/assets/locationDot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/lib/components/AdventureCard.svelte b/src/lib/components/AdventureCard.svelte index ee94bee..9cefb52 100644 --- a/src/lib/components/AdventureCard.svelte +++ b/src/lib/components/AdventureCard.svelte @@ -1,5 +1,7 @@ -
- -

Name: {name}

-

Location: {location}

-

Created: {created}

- - +
+
+

{name}

+

Logo{location}

+

Logo{created}

+
+ + +
+
- \ No newline at end of file diff --git a/src/routes/log/+page.svelte b/src/routes/log/+page.svelte index 3bd2d09..5aaec3c 100644 --- a/src/routes/log/+page.svelte +++ b/src/routes/log/+page.svelte @@ -71,17 +71,19 @@ -{#each adventures as adventure, i} -
+ +
+ {#each adventures as adventure (adventure.id)} -
-{/each} + {/each} +
+ {#if adventures.length == 0}

Add some adventures!

Logo -
+
{/if}