Add venue address to calendar files
This commit is contained in:
+3
-2
@@ -733,6 +733,7 @@
|
||||
const timeMatch = timeText?.match(/^(\d{1,2}):(\d{2})/);
|
||||
const isWineEvent = card.classList.contains('wine-event');
|
||||
const title = isWineEvent ? 'Weinreise bei Frida & Fred' : 'Käsetasting bei Frida & Fred';
|
||||
const eventAddress = 'Untere Bachgasse 3, 93047 Regensburg';
|
||||
const slug = `${isWineEvent ? 'weinreise' : 'kaesetasting'}-${date}`;
|
||||
const calendarLink = document.createElement('a');
|
||||
calendarLink.className = 'calendar-link';
|
||||
@@ -771,8 +772,8 @@
|
||||
`DTSTAMP:${formatIcsUtcDateTime(new Date())}Z`,
|
||||
...calendarContent,
|
||||
`SUMMARY:${escapeIcsText(title)}`,
|
||||
'LOCATION:Frida & Fred',
|
||||
`DESCRIPTION:${escapeIcsText('Anmeldung: info@frida-fred.com oder 0151 19426530')}`,
|
||||
`LOCATION:${escapeIcsText(eventAddress)}`,
|
||||
`DESCRIPTION:${escapeIcsText(`Adresse: ${eventAddress}\nAnmeldung: info@frida-fred.com oder 0151 19426530`)}`,
|
||||
'END:VEVENT',
|
||||
'END:VCALENDAR'
|
||||
].join('\r\n');
|
||||
|
||||
Reference in New Issue
Block a user