From ef1f7da878de991a149f69f5cfc2854f46dd6043 Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Fri, 13 Sep 2024 18:22:55 +0200 Subject: [PATCH] :sparkles: add OSM-link & calendar-file to Hero-info Signed-off-by: SindreKjelsrud --- public/ical.ics | 39 ++++++++++++++++++++++++++++++++++ src/components/Main/Hero.astro | 20 ++++++++++------- 2 files changed, 51 insertions(+), 8 deletions(-) create mode 100644 public/ical.ics diff --git a/public/ical.ics b/public/ical.ics new file mode 100644 index 0000000..a853fe6 --- /dev/null +++ b/public/ical.ics @@ -0,0 +1,39 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//ical.marudot.com//iCal Event Maker +CALSCALE:GREGORIAN +BEGIN:VTIMEZONE +TZID:Europe/Berlin +LAST-MODIFIED:20240422T053451Z +TZURL:https://www.tzurl.org/zoneinfo-outlook/Europe/Berlin +X-LIC-LOCATION:Europe/Berlin +BEGIN:DAYLIGHT +TZNAME:CEST +TZOFFSETFROM:+0100 +TZOFFSETTO:+0200 +DTSTART:19700329T020000 +RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU +END:DAYLIGHT +BEGIN:STANDARD +TZNAME:CET +TZOFFSETFROM:+0200 +TZOFFSETTO:+0100 +DTSTART:19701025T030000 +RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU +END:STANDARD +END:VTIMEZONE +BEGIN:VEVENT +DTSTAMP:20240913T161901Z +UID:1726244271074-26732@ical.marudot.com +DTSTART;TZID=Europe/Berlin:20241107T163000 +DTEND;TZID=Europe/Berlin:20241107T211000 +SUMMARY:Bergen Open Source conference +URL:https://boskonf.no +LOCATION:https://www.openstreetmap.org/node/6137059358 +BEGIN:VALARM +ACTION:DISPLAY +DESCRIPTION:Bergen Open Source conference +TRIGGER:-P1W +END:VALARM +END:VEVENT +END:VCALENDAR \ No newline at end of file diff --git a/src/components/Main/Hero.astro b/src/components/Main/Hero.astro index 11f656f..583250c 100644 --- a/src/components/Main/Hero.astro +++ b/src/components/Main/Hero.astro @@ -24,14 +24,18 @@ const program = await getProgram(year, language);
-
- calendar icon - {formatDate(program.date)} -
-
- location icon - {program.location} -
+ +
+ calendar icon + {formatDate(program.date)} +
+
+ +
+ location icon + {program.location} +
+

{t("main.title")}