Compare commits
2 Commits
71a586280e
...
803c7907f1
| Author | SHA1 | Date | |
|---|---|---|---|
| 803c7907f1 | |||
| 3d4bbf77bc |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
BIN
public/images/events/event_schlager-karaoke.jpeg
Normal file
|
After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
@ -39,7 +39,7 @@ const {title, description, image = "", date} = Astro.props;
|
||||
|
||||
// Close card when clicking outside (mobile only)
|
||||
document.addEventListener('click', (e) => {
|
||||
if (window.innerWidth <= 768 && !card.contains(e.target)) {
|
||||
if (window.innerWidth <= 768 && !card.contains(e.target as Node)) {
|
||||
card.classList.remove('active');
|
||||
}
|
||||
});
|
||||
|
||||
@ -5,12 +5,21 @@ import Welcome from "../components/Welcome.astro";
|
||||
import EventsGrid from "../components/EventsGrid.astro";
|
||||
import Drinks from "../components/Drinks.astro";
|
||||
import ImageCarousel from "../components/ImageCarousel.astro";
|
||||
import Contact from "../components/Contact.astro";
|
||||
import About from "../components/About.astro";
|
||||
|
||||
const events = [
|
||||
{
|
||||
image: "/images/events/event_schlager-karaoke.jpeg",
|
||||
title: "Schlager Hüttenzauber Karaoke",
|
||||
date: "27. November - 19:00 Uhr",
|
||||
description: `
|
||||
<b>FREE ENTRY!</b> Schnappt euch eure Freunde und kommt vorbei zum Schlager Hüttenzauber Karaoke! <br>
|
||||
Singt eure Lieblings-Schlager Hits und geniesst einen gemütlichen Abend mit uns. <br>
|
||||
Türen öffnen um 19:00 Uhr. <br>
|
||||
Eintritt frei, gute Laune garantiert!
|
||||
`,
|
||||
},
|
||||
{
|
||||
image: "/images/events/Event5.jpg",
|
||||
image: "/images/events/event_karaoke.jpg",
|
||||
title: "Karaoke",
|
||||
date: "Mittwoch - Samstag",
|
||||
description: `
|
||||
@ -20,7 +29,7 @@ const events = [
|
||||
`,
|
||||
},
|
||||
{
|
||||
image: "/images/events/Event1.jpg",
|
||||
image: "/images/events/event_pub-quiz.jpg",
|
||||
title: "Pub Quiz",
|
||||
date: "Jeden Freitag",
|
||||
description: `
|
||||
@ -29,17 +38,7 @@ const events = [
|
||||
Auch Einzelpersonen sind herzlich willkommen! <br>
|
||||
*zum mitmachen minimum 1 Getränk konsumieren oder 5CHF
|
||||
`,
|
||||
},
|
||||
{
|
||||
image: "/images/events/Event4.png",
|
||||
title: "Kevin McFlannigan <br> Live Music im Gallus Pub!",
|
||||
date: "Sa, 27. September 2025",
|
||||
description: `
|
||||
<b>ab 20:00 Uhr</b> <br>
|
||||
Eintritt ist Frei / Hutkollekte <br>
|
||||
Reservieren unter <a href="tel:+41772322770">077 232 27 70</a>
|
||||
`,
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
const images = [
|
||||
|
||||