From 5252b95e209ccdfc66e04693a0d09f163711bf68 Mon Sep 17 00:00:00 2001 From: tree Date: Wed, 6 Mar 2024 23:11:20 +0100 Subject: [PATCH] update --- .../events/{meetup01.png => summit02.png} | Bin public/gen-img/summit-title.svg | 6 ++ src/components/EventImageGenerator.svelte | 5 +- .../event-formats/poster-simple.svelte | 52 +++++++++++++----- .../event-formats/wide-square.svelte | 4 +- src/components/event-formats/wide.svelte | 4 +- 6 files changed, 50 insertions(+), 21 deletions(-) rename public/gen-img/events/{meetup01.png => summit02.png} (100%) create mode 100644 public/gen-img/summit-title.svg diff --git a/public/gen-img/events/meetup01.png b/public/gen-img/events/summit02.png similarity index 100% rename from public/gen-img/events/meetup01.png rename to public/gen-img/events/summit02.png diff --git a/public/gen-img/summit-title.svg b/public/gen-img/summit-title.svg new file mode 100644 index 0000000..77184c8 --- /dev/null +++ b/public/gen-img/summit-title.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/components/EventImageGenerator.svelte b/src/components/EventImageGenerator.svelte index 9257b12..fa1e511 100644 --- a/src/components/EventImageGenerator.svelte +++ b/src/components/EventImageGenerator.svelte @@ -15,7 +15,8 @@ import PosterSimple from './event-formats/poster-simple.svelte'; const topics = [ 'identity', - 'netw./event-formats/square.svelterivacy', + 'network states', + 'fullstack privacy', 'private messaging', 'r&d: ZK, MPC, THE', 'on-chain privacy', @@ -32,7 +33,7 @@ const events = { m24tll: { image: 'tallinn01' }, m24opo: { image: 'porto01' }, m24ber: { image: 'berlin02' }, - s24prg: { image: 'summit01' }, + s24prg: { image: 'summit02' }, m24lju: { image: 'ljubljana01' }, m24bcn: { image: 'barcelona01' }, m24cph: { image: 'copenhagen01' }, diff --git a/src/components/event-formats/poster-simple.svelte b/src/components/event-formats/poster-simple.svelte index e1bfe71..c29c2e4 100644 --- a/src/components/event-formats/poster-simple.svelte +++ b/src/components/event-formats/poster-simple.svelte @@ -7,23 +7,45 @@
-
-
-
+ {#if event.type === 'summit'} + +
+
+
-
-
-
- {tools.dateFormat(event.date)} -
-
- {event.city}, {event.country} +
+
+
+ {tools.dateFormat(event.date)} +
+
+ {event.city}, {event.country} +
-
-
- {event.type} -
+ + {:else} +
+
+
+ +
+
+
+ {tools.dateFormat(event.date)} +
+
+ {event.city}, {event.country} +
+
+
+
+ {event.type} +
+
-
+ {/if} + + +
\ No newline at end of file diff --git a/src/components/event-formats/wide-square.svelte b/src/components/event-formats/wide-square.svelte index d849b27..6f4590f 100644 --- a/src/components/event-formats/wide-square.svelte +++ b/src/components/event-formats/wide-square.svelte @@ -24,8 +24,8 @@
-
- Meetup +
+ {event.type}
diff --git a/src/components/event-formats/wide.svelte b/src/components/event-formats/wide.svelte index b46820f..5034dd2 100644 --- a/src/components/event-formats/wide.svelte +++ b/src/components/event-formats/wide.svelte @@ -25,8 +25,8 @@
-
- Meetup +
+ {event.type}