From 7420f6e59bad9bc18879402b53a3d5655cde8d12 Mon Sep 17 00:00:00 2001 From: tree Date: Thu, 7 Mar 2024 11:23:15 +0100 Subject: [PATCH] updated gen --- src/components/EventImageGenerator.svelte | 26 ++++++------ .../event-formats/poster-simple.svelte | 2 +- src/components/event-formats/poster.svelte | 2 +- .../event-formats/square-speaker.svelte | 2 +- src/components/event-formats/square.svelte | 2 +- .../event-formats/wide-square.svelte | 2 +- src/components/event-formats/wide.svelte | 41 +++++++++---------- src/pages/gen/event.astro | 2 +- 8 files changed, 40 insertions(+), 39 deletions(-) diff --git a/src/components/EventImageGenerator.svelte b/src/components/EventImageGenerator.svelte index fa1e511..c3acaed 100644 --- a/src/components/EventImageGenerator.svelte +++ b/src/components/EventImageGenerator.svelte @@ -129,29 +129,31 @@ const tools = {
-
Square (1:1)
+
Square (1:1)
-
+
-
Wide-square (4:3)
+
Wide-square (4:3)
-
+
-
Wide (16:9)
+
Wide (16:9)
- +
+ +
-
Square (speaker) (1:1)
+
Square (speaker) (1:1)
Speaker:
-
+
-
Poster (3:2)
+
Poster (3:2)
-
+
-
Poster (simple) (3:2)
+
Poster (simple) (3:2)
-
+
diff --git a/src/components/event-formats/poster-simple.svelte b/src/components/event-formats/poster-simple.svelte index 15cb3e0..ac771cd 100644 --- a/src/components/event-formats/poster-simple.svelte +++ b/src/components/event-formats/poster-simple.svelte @@ -4,7 +4,7 @@ export let tools; -
+
{#if event.type === 'summit'} diff --git a/src/components/event-formats/poster.svelte b/src/components/event-formats/poster.svelte index ad2c8c4..59e2790 100644 --- a/src/components/event-formats/poster.svelte +++ b/src/components/event-formats/poster.svelte @@ -5,7 +5,7 @@ export let topics; -
+
diff --git a/src/components/event-formats/square-speaker.svelte b/src/components/event-formats/square-speaker.svelte index 42d292d..7cb45dd 100644 --- a/src/components/event-formats/square-speaker.svelte +++ b/src/components/event-formats/square-speaker.svelte @@ -8,7 +8,7 @@ -
+
diff --git a/src/components/event-formats/square.svelte b/src/components/event-formats/square.svelte index cda3860..e0523ca 100644 --- a/src/components/event-formats/square.svelte +++ b/src/components/event-formats/square.svelte @@ -5,7 +5,7 @@ -
+
diff --git a/src/components/event-formats/wide-square.svelte b/src/components/event-formats/wide-square.svelte index 6f4590f..a065245 100644 --- a/src/components/event-formats/wide-square.svelte +++ b/src/components/event-formats/wide-square.svelte @@ -5,7 +5,7 @@ -
+
diff --git a/src/components/event-formats/wide.svelte b/src/components/event-formats/wide.svelte index 5034dd2..a2187f3 100644 --- a/src/components/event-formats/wide.svelte +++ b/src/components/event-formats/wide.svelte @@ -5,30 +5,29 @@ -
-
- +
-
- + -
-
-
- {tools.dateFormat(event.date)} -
-
-
-
- {event.city}, {event.country} -
-
-
-
- {event.type} -
+
+ + +
+
+
+ {tools.dateFormat(event.date)}
+
+
+ {event.city}, {event.country} +
+
+
+
+ {event.type} +
+
-
\ No newline at end of file +
diff --git a/src/pages/gen/event.astro b/src/pages/gen/event.astro index 81d28fa..b5a41af 100644 --- a/src/pages/gen/event.astro +++ b/src/pages/gen/event.astro @@ -16,7 +16,7 @@ let url = Astro.url; crossorigin /> - +