From ba84d9ac5be59d7b89ee1d4fb1230a82ba2a8207 Mon Sep 17 00:00:00 2001 From: tree Date: Fri, 24 Nov 2023 12:39:36 +0100 Subject: [PATCH] update --- src/components/EventItem.astro | 44 ++++++++++++++++++++-------------- src/pages/events.astro | 9 ++++--- src/styles/base.css | 10 +++++--- 3 files changed, 39 insertions(+), 24 deletions(-) diff --git a/src/components/EventItem.astro b/src/components/EventItem.astro index 44f402e..41f2170 100644 --- a/src/components/EventItem.astro +++ b/src/components/EventItem.astro @@ -46,26 +46,34 @@ function dateEnd(str, days) { ---
-
-
-
{dateFormat(item.date)}
- {item.days && item.days > 1 && -
{dateFormat(dateEnd(item.date, item.days))}
- } -
-
-
{nameRenderer(item)}
-
- -
- {item.city}, {item.country.toUpperCase()} - {item.coincidence && -   - {ccRenderer(item)} - } +
+
+
+
{dateFormat(item.date)}
+ {item.days && item.days > 1 && +
- {dateFormat(dateEnd(item.date, item.days))}
+ } +
+
+
{nameRenderer(item)}
+
+ +
+ {item.city}, {item.country.toUpperCase()} + {item.coincidence && +   - {ccRenderer(item)} + } +
+ {item.links?.rsvp && +
+ +
+ } +
-
+