diff --git a/package.json b/package.json index 012303d..15c194d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "", + "name": "Gallus Pub Site", "type": "module", "version": "0.0.1", "scripts": { 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_santa_karaoke.jpeg b/public/images/events/event_santa_karaoke.jpeg new file mode 100644 index 0000000..d28a068 Binary files /dev/null and b/public/images/events/event_santa_karaoke.jpeg differ 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;
+
+
+
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..221a536 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,12 +5,10 @@ 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/karaoke.jpg", + { + image: "/images/events/event_karaoke.jpg", title: "Karaoke", date: "Mittwoch - Samstag", description: ` @@ -20,7 +18,7 @@ const events = [ `, }, { - image: "/images/pub_quiz.jpg", + image: "/images/events/event_pub-quiz.jpg", title: "Pub Quiz", date: "Jeden Freitag", description: ` @@ -30,28 +28,58 @@ const events = [ *zum mitmachen minimum 1 Getränk konsumieren oder 5CHF `, }, - { - image: "/images/Event4.png", - title: "Kevin McFlannigan