diff --git a/src/components/AddToCalendar.astro b/src/components/AddToCalendar.astro new file mode 100644 index 00000000..ebd2c6b6 --- /dev/null +++ b/src/components/AddToCalendar.astro @@ -0,0 +1,56 @@ +--- +// TODO: replace with the public iCal URL of the DevFest 2026 calendar event. +// Use `webcal://` scheme so most browsers hand off to the OS default calendar app +// (Apple Calendar, Outlook desktop). Falls back to downloading the .ics file. +const ICS_URL = 'webcal://example.com/devfest-cz-2026.ics'; +--- + + + Add to calendar + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index 8f362b41..30737c28 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,6 +2,7 @@ import BaseLayout from '../layouts/BaseLayout.astro'; import Countdown from '../components/Countdown'; import NewsletterForm from '../components/NewsletterForm'; +import AddToCalendar from '../components/AddToCalendar.astro'; import Footer from '../components/Footer.astro'; import HeroBackground from '../components/HeroBackground.astro'; import Ticker from '../components/Ticker.astro'; @@ -144,6 +145,9 @@ const tickerTopics = [ Leave your email and we'll let you know the moment tickets go on sale.