diff --git a/src/routes/(app)/events/Event.svelte b/src/routes/(app)/events/Event.svelte index 6b60d7bc..c55ae91a 100644 --- a/src/routes/(app)/events/Event.svelte +++ b/src/routes/(app)/events/Event.svelte @@ -14,6 +14,7 @@ | "imageUrl" | "isCancelled" | "location" + | "link" > & Partial>; @@ -56,6 +57,21 @@ {/if} +{#if event.link} +
+ +
+{/if} diff --git a/src/routes/(app)/events/EventEditor.svelte b/src/routes/(app)/events/EventEditor.svelte index 3c8e6f2d..243f9fa6 100644 --- a/src/routes/(app)/events/EventEditor.svelte +++ b/src/routes/(app)/events/EventEditor.svelte @@ -260,6 +260,7 @@ ? URL.createObjectURL($form.image) : ($form.imageUrl ?? null), location: $form.location, // Pass location to Event component + link: $form.link, }} >
diff --git a/src/routes/(app)/events/SmallEventCard.svelte b/src/routes/(app)/events/SmallEventCard.svelte index b9cf6686..1c34c3b5 100644 --- a/src/routes/(app)/events/SmallEventCard.svelte +++ b/src/routes/(app)/events/SmallEventCard.svelte @@ -89,6 +89,21 @@
{/if} + {#if event.link} +
+ +
+ {/if}