diff --git a/src/lib/components/AdventureCard.svelte b/src/lib/components/AdventureCard.svelte index 1b2180f..4adc189 100644 --- a/src/lib/components/AdventureCard.svelte +++ b/src/lib/components/AdventureCard.svelte @@ -15,8 +15,6 @@ export let regionId: String | undefined = undefined; export let visited: Boolean | undefined = undefined; export let countryCode: String | undefined = undefined; - export let activityTypes: String[] | undefined = undefined; - export let description: String | undefined = undefined; function remove() { dispatch("remove", id); @@ -41,128 +39,31 @@ } -{#if type === "mylog"} -
-
-

{name}

- {#if location !== ""} -
- -

{location}

-
- {/if} - {#if date && date !== ""} -
- -

{date}

-
- {/if} -
+
+
+

{name}

+ {#if location && location !== ""} +
+ +

{location}

+
+ {/if} + {#if date && date !== ""} +
+ +

{date}

+
+ {/if} +
+ {#if type == "mylog"} -
-
-
-{/if} - -{#if type === "featured"} -
-
-

{name}

- {#if location && location != ""} -
- -

{location}

-
{/if} -
+ {#if type == "featured"} -
-
-
-{/if} - -{#if type === "shared"} -
-
-

{name}

- {#if location && location !== ""} -
- -

{location}

-
- {/if} - {#if date !== ""} -
- -

{date}

-
{/if}
-{/if} - -{#if type === "worldtravelregion"} -
-
-

{name}

-

{regionId}

-
- - {#if !visited} - - {/if} - {#if visited} - - {/if} -
-
-
-{/if} - -{#if type === "planner"} -
-
-

{name}

- {#if location != ""} -
- -

{location}

-
- {/if} - {#if activityTypes && activityTypes.length > 0} - {#each activityTypes as activity} -
- {activity} -
- {/each} - {/if} - {#if description && description.length > 0} -

{description}

- {/if} - {#if date && date != undefined} -
- -

{date}

-
- {/if} -
- -
-
-
-{/if} +
diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte index 3f799de..48997b2 100644 --- a/src/lib/components/Navbar.svelte +++ b/src/lib/components/Navbar.svelte @@ -78,10 +78,6 @@ - {/if}