diff --git a/package-lock.json b/package-lock.json index cb9b17a..8ffe5f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3988,6 +3988,7 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.45.1.tgz", "integrity": "sha512-4iya7Jb76fVpQyLoiVpzUrsjQ12r3dM7fIVz+4NwoYvZOShknRmiv+iu9CClZml5ZLGb0XMcYLutK6w9tgxHDw==", "license": "MIT", + "peer": true, "dependencies": { "@types/estree": "1.0.8" }, @@ -4625,6 +4626,7 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz", "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==", "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -4839,6 +4841,7 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/public/images/events/event_advents-kalender.jpeg b/public/images/events/event_advents-kalender.jpeg new file mode 100644 index 0000000..2a8e88c Binary files /dev/null and b/public/images/events/event_advents-kalender.jpeg differ diff --git a/public/images/events/event_ferien.jpeg b/public/images/events/event_ferien.jpeg new file mode 100644 index 0000000..132f3d2 Binary files /dev/null and b/public/images/events/event_ferien.jpeg differ diff --git a/public/images/karaoke.jpg b/public/images/events/event_karaoke.jpg similarity index 100% rename from public/images/karaoke.jpg rename to public/images/events/event_karaoke.jpg diff --git a/public/images/events/event_neujahrs-apero.jpeg b/public/images/events/event_neujahrs-apero.jpeg new file mode 100644 index 0000000..c6c500f Binary files /dev/null and b/public/images/events/event_neujahrs-apero.jpeg differ diff --git a/public/images/pub_quiz.jpg b/public/images/events/event_pub-quiz.jpg similarity index 100% rename from public/images/pub_quiz.jpg rename to public/images/events/event_pub-quiz.jpg diff --git a/public/images/events/event_schlager-karaoke.jpeg b/public/images/events/event_schlager-karaoke.jpeg new file mode 100644 index 0000000..2eac490 Binary files /dev/null and b/public/images/events/event_schlager-karaoke.jpeg differ diff --git a/public/images/Event2.png b/public/images/events/old/Event2.png similarity index 100% rename from public/images/Event2.png rename to public/images/events/old/Event2.png diff --git a/public/images/Event3.png b/public/images/events/old/Event3.png similarity index 100% rename from public/images/Event3.png rename to public/images/events/old/Event3.png diff --git a/public/images/Event4.png b/public/images/events/old/Event4.png similarity index 100% rename from public/images/Event4.png rename to public/images/events/old/Event4.png diff --git a/public/images/Gallery1.png b/public/images/gallery/Gallery1.png similarity index 100% rename from public/images/Gallery1.png rename to public/images/gallery/Gallery1.png diff --git a/public/images/Gallery2.png b/public/images/gallery/Gallery2.png similarity index 100% rename from public/images/Gallery2.png rename to public/images/gallery/Gallery2.png diff --git a/public/images/Gallery3.png b/public/images/gallery/Gallery3.png similarity index 100% rename from public/images/Gallery3.png rename to public/images/gallery/Gallery3.png diff --git a/public/images/Gallery4.png b/public/images/gallery/Gallery4.png similarity index 100% rename from public/images/Gallery4.png rename to public/images/gallery/Gallery4.png diff --git a/public/images/Gallery5.png b/public/images/gallery/Gallery5.png similarity index 100% rename from public/images/Gallery5.png rename to public/images/gallery/Gallery5.png diff --git a/public/images/Gallery6.png b/public/images/gallery/Gallery6.png similarity index 100% rename from public/images/Gallery6.png rename to public/images/gallery/Gallery6.png diff --git a/public/images/Gallery7.png b/public/images/gallery/Gallery7.png similarity index 100% rename from public/images/Gallery7.png rename to public/images/gallery/Gallery7.png diff --git a/public/images/Gallery8.png b/public/images/gallery/Gallery8.png similarity index 100% rename from public/images/Gallery8.png rename to public/images/gallery/Gallery8.png diff --git a/public/images/Gallery9.png b/public/images/gallery/Gallery9.png similarity index 100% rename from public/images/Gallery9.png rename to public/images/gallery/Gallery9.png diff --git a/public/images/Whiskey1.png b/public/images/whiskey/Whiskey1.png similarity index 100% rename from public/images/Whiskey1.png rename to public/images/whiskey/Whiskey1.png diff --git a/public/images/Whiskey2.png b/public/images/whiskey/Whiskey2.png similarity index 100% rename from public/images/Whiskey2.png rename to public/images/whiskey/Whiskey2.png diff --git a/public/images/Whiskey3.png b/public/images/whiskey/Whiskey3.png similarity index 100% rename from public/images/Whiskey3.png rename to public/images/whiskey/Whiskey3.png diff --git a/src/components/Drinks.astro b/src/components/Drinks.astro index 92c1ff9..ab0834c 100644 --- a/src/components/Drinks.astro +++ b/src/components/Drinks.astro @@ -29,15 +29,15 @@ const { id } = Astro.props;
- Whiskey 1 + Whiskey 1
- Whiskey 2 + Whiskey 2
- Whiskey 3 + Whiskey 3
diff --git a/src/components/Hero.astro b/src/components/Hero.astro index cc431ec..4b060b0 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -15,7 +15,7 @@ const { id } = Astro.props;

Im Herzen von St.Gallen

- Aktuelles ↓ + Aktuelles ↓ diff --git a/src/components/HoverCard.astro b/src/components/HoverCard.astro index ef92d2d..8737696 100644 --- a/src/components/HoverCard.astro +++ b/src/components/HoverCard.astro @@ -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'); } }); diff --git a/src/pages/index.astro b/src/pages/index.astro index d6a071c..a20fd37 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,12 +5,52 @@ 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: ` + FREE ENTRY! Schnappt euch eure Freunde und kommt vorbei zum Schlager Hüttenzauber Karaoke!
+ Singt eure Lieblings-Schlager Hits und geniesst einen gemütlichen Abend mit uns.
+ Türen öffnen um 19:00 Uhr.
+ Eintritt frei, gute Laune garantiert! + `, + }, + { + image: "/images/events/event_advents-kalender.jpeg", + title: "Adventskalender", + date: "03. Dezember - 20. Dezember 2025", + description: ` + JEDEN TAG EINE NEUE ÜBERRASCHUNG! Unser Adventskalender ist da!
+ Vom 3. bis 20. Dezember gibt es jeden Tag (während unseren Öffnungszeiten) eine neue Überraschung zu entdecken.
+ Check our Social Media Stories um nichts zu verpassen!
+ `, + }, { - image: "/images/karaoke.jpg", + image: "/images/events/event_ferien.jpeg", + title: "Weihnachtsferien", + date: "21. Dezember 2025 - 01. Januar 2026", + description: ` + WIR MACHEN FERIEN! Vom 21. Dezember 2025 bis 01. Januar 2026 gönnen wir uns eine wohlverdiente Pause.
+ Wir wünschen allen eine wunderbare Weihnachtszeit und einen guten Rutsch ins neue Jahr!
+ Danke und bis bald! - Raphael & Sabrina + `, + }, + { + image: "/images/events/event_neujahrs-apero.jpeg", + title: "Neujahrs-Apero", + date: "02. Januar 2026 - 18:00-20:00 Uhr", + description: ` + HAPPY NEW YEAR! Wir stossen mit euch an! 🥂
+ Feiert mit uns am Freitag, 02. Januar 2026 von 18:00-20:00 Uhr den Start ins neue Jahr.
+ 1 Gläsli Prosecco auf's Haus!
+ Wir freuen uns auf euch! + `, + }, + { + image: "/images/events/event_karaoke.jpg", title: "Karaoke", date: "Mittwoch - Samstag", description: ` @@ -20,7 +60,7 @@ const events = [ `, }, { - image: "/images/pub_quiz.jpg", + image: "/images/events/event_pub-quiz.jpg", title: "Pub Quiz", date: "Jeden Freitag", description: ` @@ -29,29 +69,19 @@ const events = [ Auch Einzelpersonen sind herzlich willkommen!
*zum mitmachen minimum 1 Getränk konsumieren oder 5CHF `, - }, - { - image: "/images/Event4.png", - title: "Kevin McFlannigan
Live Music im Gallus Pub!", - date: "Sa, 27. September 2025", - description: ` - ab 20:00 Uhr
- Eintritt ist Frei / Hutkollekte
- Reservieren unter 077 232 27 70 - `, - }, + } ]; const images = [ - { src: "/images/Gallery7.png", alt: "Siebtes Bild" }, - { src: "/images/Gallery8.png", alt: "Achtes Bild" }, - { src: "/images/Gallery9.png", alt: "Neuntes Bild" }, - { src: "/images/Gallery6.png", alt: "Sechstes Bild" }, - { src: "/images/Gallery1.png", alt: "Erstes Bild" }, - { src: "/images/Gallery2.png", alt: "Zweites Bild" }, - { src: "/images/Gallery3.png", alt: "Drittes Bild" }, - { src: "/images/Gallery4.png", alt: "Viertes Bild" }, - { src: "/images/Gallery5.png", alt: "Fünftes Bild" }, + { src: "/images/gallery/Gallery7.png", alt: "Siebtes Bild" }, + { src: "/images/gallery/Gallery8.png", alt: "Achtes Bild" }, + { src: "/images/gallery/Gallery9.png", alt: "Neuntes Bild" }, + { src: "/images/gallery/Gallery6.png", alt: "Sechstes Bild" }, + { src: "/images/gallery/Gallery1.png", alt: "Erstes Bild" }, + { src: "/images/gallery/Gallery2.png", alt: "Zweites Bild" }, + { src: "/images/gallery/Gallery3.png", alt: "Drittes Bild" }, + { src: "/images/gallery/Gallery4.png", alt: "Viertes Bild" }, + { src: "/images/gallery/Gallery5.png", alt: "Fünftes Bild" }, ]; ---