Compare commits
32 Commits
0b37f73634
...
perf/impro
| Author | SHA1 | Date | |
|---|---|---|---|
| 54bf9730ba | |||
| 2cae2e86ed | |||
| 636c7fc03a | |||
| 5fdea37a90 | |||
| 11932d51ec | |||
| 803c7907f1 | |||
| 3d4bbf77bc | |||
| 71a586280e | |||
| 1f4cea0c35 | |||
| 193f3ff0bb | |||
| 292747d197 | |||
| 18f7ea5da5 | |||
| 1f94bbca15 | |||
| 5ef15f0b5c | |||
| 020bfca731 | |||
| ac864ba054 | |||
| e93ba5d29b | |||
| feb137471d | |||
| 0622d190d1 | |||
| 2867678223 | |||
| 096ac9f789 | |||
| 3006ccd5a0 | |||
| 8a8bcc304a | |||
| 54c6f205e0 | |||
| 48fddf7b15 | |||
| 2733c2e7f4 | |||
| 9502123b89 | |||
| ca2d724bd8 | |||
| 38229ac5e9 | |||
| a11c838d2a | |||
| f9fe914c32 | |||
| 21e09f7155 |
6
package-lock.json
generated
@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "Gallus_Pub",
|
"name": "Gallus Pub Site",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "Gallus Pub Site",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^5.12.0"
|
"astro": "^5.12.0"
|
||||||
@ -3988,6 +3989,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.45.1.tgz",
|
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.45.1.tgz",
|
||||||
"integrity": "sha512-4iya7Jb76fVpQyLoiVpzUrsjQ12r3dM7fIVz+4NwoYvZOShknRmiv+iu9CClZml5ZLGb0XMcYLutK6w9tgxHDw==",
|
"integrity": "sha512-4iya7Jb76fVpQyLoiVpzUrsjQ12r3dM7fIVz+4NwoYvZOShknRmiv+iu9CClZml5ZLGb0XMcYLutK6w9tgxHDw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/estree": "1.0.8"
|
"@types/estree": "1.0.8"
|
||||||
},
|
},
|
||||||
@ -4625,6 +4627,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
|
"resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
|
||||||
"integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
|
"integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esbuild": "^0.25.0",
|
"esbuild": "^0.25.0",
|
||||||
"fdir": "^6.4.4",
|
"fdir": "^6.4.4",
|
||||||
@ -4839,6 +4842,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
|
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
|
||||||
"integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
|
"integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/colinhacks"
|
"url": "https://github.com/sponsors/colinhacks"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "",
|
"name": "Gallus Pub Site",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 626 KiB |
|
Before Width: | Height: | Size: 402 KiB |
|
Before Width: | Height: | Size: 298 KiB |
|
Before Width: | Height: | Size: 885 KiB |
BIN
public/pdf/Getraenke_Gallus_2025.pdf
Normal file
|
Before Width: | Height: | Size: 706 KiB After Width: | Height: | Size: 706 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 122 KiB |
BIN
src/assets/images/MonthlyHit.png
Normal file
|
After Width: | Height: | Size: 250 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
BIN
src/assets/images/events/event_advents-kalender.jpeg
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
src/assets/images/events/event_ferien.jpeg
Normal file
|
After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
BIN
src/assets/images/events/event_neujahrs-apero.jpeg
Normal file
|
After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
BIN
src/assets/images/events/event_schlager-karaoke.jpeg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
src/assets/images/events/old/Event2.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
src/assets/images/events/old/Event3.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
src/assets/images/events/old/Event4.png
Normal file
|
After Width: | Height: | Size: 160 KiB |
BIN
src/assets/images/gallery/Gallery1.png
Normal file
|
After Width: | Height: | Size: 800 KiB |
BIN
src/assets/images/gallery/Gallery2.png
Normal file
|
After Width: | Height: | Size: 747 KiB |
BIN
src/assets/images/gallery/Gallery3.png
Normal file
|
After Width: | Height: | Size: 398 KiB |
BIN
src/assets/images/gallery/Gallery4.png
Normal file
|
After Width: | Height: | Size: 604 KiB |
BIN
src/assets/images/gallery/Gallery5.png
Normal file
|
After Width: | Height: | Size: 580 KiB |
BIN
src/assets/images/gallery/Gallery6.png
Normal file
|
After Width: | Height: | Size: 117 KiB |
BIN
src/assets/images/gallery/Gallery7.png
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
src/assets/images/gallery/Gallery8.png
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
src/assets/images/gallery/Gallery9.png
Normal file
|
After Width: | Height: | Size: 567 KiB |
BIN
src/assets/images/whiskey/Whiskey1.png
Normal file
|
After Width: | Height: | Size: 184 KiB |
BIN
src/assets/images/whiskey/Whiskey2.png
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
src/assets/images/whiskey/Whiskey3.png
Normal file
|
After Width: | Height: | Size: 196 KiB |
@ -1,35 +1,49 @@
|
|||||||
---
|
---
|
||||||
|
import { Image } from "astro:assets";
|
||||||
import "../styles/components/Drinks.css"
|
import "../styles/components/Drinks.css"
|
||||||
|
import MonthlyHit from "../assets/images/MonthlyHit.png";
|
||||||
|
import Whiskey1 from "../assets/images/whiskey/Whiskey1.png";
|
||||||
|
import Whiskey2 from "../assets/images/whiskey/Whiskey2.png";
|
||||||
|
import Whiskey3 from "../assets/images/whiskey/Whiskey3.png";
|
||||||
|
|
||||||
const { id } = Astro.props;
|
const { id } = Astro.props;
|
||||||
---
|
---
|
||||||
<section id={id} class="Drinks">
|
<section id={id} class="Drinks">
|
||||||
<h2 class="title">Drinks</h2>
|
<h2 class="title">Drinks</h2>
|
||||||
|
|
||||||
<a href="/pdf/Menu.pdf" class="card-link" target="_blank" rel="noopener noreferrer">Getränkekarte</a>
|
<p class="note">
|
||||||
|
Ob ein frisch gezapftes Pint, ein edler Tropfen Whiskey oder ein gemütliches Glas Wein – hier kannst du in entspannter
|
||||||
|
Atmosphäre das Leben genießen. Natürlich dürfen auch Cocktails nicht fehlen. Vieles kreieren wir auch selber - Sláinte!
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<a href="/pdf/Getraenke_Gallus_2025.pdf" class="card-link" target="_blank" rel="noopener noreferrer">Getränkekarte</a>
|
||||||
|
|
||||||
<h3 class="monats-hit">Monats Hit</h3>
|
<h3 class="monats-hit">Monats Hit</h3>
|
||||||
|
|
||||||
<div class="mate-vodka">
|
<div class="mate-vodka">
|
||||||
<div class="circle" title="Mate Vodka">
|
<div class="circle" title="Mate Vodka">
|
||||||
<span class="circle-label">Mate Vodka</span>
|
<Image src={MonthlyHit} alt="Monats Hit" class="circle-image" />
|
||||||
|
<span class="circle-label"></span>
|
||||||
</div>
|
</div>
|
||||||
<div>Mate Vodka</div>
|
<div>Mate Vodka</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<p class="note">
|
||||||
|
Für Whisky-Liebhaber haben wir erlesene Sorten aus Schottland und Irland im Angebot.
|
||||||
|
</p>
|
||||||
|
|
||||||
<div class="circle-row">
|
<div class="circle-row">
|
||||||
<div class="circle" title="Bier">
|
<div class="circle whiskey-circle" title="Whiskey 1">
|
||||||
<span class="circle-label">Bier</span>
|
<Image src={Whiskey1} alt="Whiskey 1" class="circle-image" />
|
||||||
|
<span class="circle-label"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="circle" title="Wein">
|
<div class="circle whiskey-circle" title="Whiskey 2">
|
||||||
<span class="circle-label">Wein</span>
|
<Image src={Whiskey2} alt="Whiskey 2" class="circle-image" />
|
||||||
|
<span class="circle-label"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="circle" title="Cocktails">
|
<div class="circle whiskey-circle" title="Whiskey 3">
|
||||||
<span class="circle-label">Cocktails</span>
|
<Image src={Whiskey3} alt="Whiskey 3" class="circle-image" />
|
||||||
|
<span class="circle-label"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="note">
|
|
||||||
Wir bieten eine Auswahl an erlesenen Getränken für jeden Geschmack. Besuche uns und entdecke unsere saisonalen Spezialitäten und Klassiker.
|
|
||||||
</p>
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -2,9 +2,10 @@
|
|||||||
// src/components/EventsGrid.astro
|
// src/components/EventsGrid.astro
|
||||||
|
|
||||||
import HoverCard from "./HoverCard.astro";
|
import HoverCard from "./HoverCard.astro";
|
||||||
|
import type { ImageMetadata } from "astro";
|
||||||
|
|
||||||
interface Event {
|
interface Event {
|
||||||
image: string;
|
image: ImageMetadata;
|
||||||
title: string;
|
title: string;
|
||||||
date: string;
|
date: string;
|
||||||
description: string;
|
description: string;
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
---
|
---
|
||||||
// src/components/Header.astro
|
// src/components/Header.astro
|
||||||
|
import { Image } from "astro:assets";
|
||||||
|
import Logo from "../assets/images/Logo.png";
|
||||||
const { url } = Astro;
|
const { url } = Astro;
|
||||||
import "../styles/components/Header.css";
|
import "../styles/components/Header.css";
|
||||||
---
|
---
|
||||||
@ -9,7 +11,7 @@ import "../styles/components/Header.css";
|
|||||||
<div class="desktop-layout">
|
<div class="desktop-layout">
|
||||||
<div class="logo-container">
|
<div class="logo-container">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="/images/Logo.png" alt="Logo" class="logo" />
|
<Image src={Logo} alt="Logo" class="logo" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -31,7 +33,7 @@ import "../styles/components/Header.css";
|
|||||||
<!-- Centered Logo -->
|
<!-- Centered Logo -->
|
||||||
<div class="mobile-logo-container">
|
<div class="mobile-logo-container">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="/images/Logo.png" alt="Logo" class="logo" />
|
<Image src={Logo} alt="Logo" class="logo" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -65,16 +67,16 @@ import "../styles/components/Header.css";
|
|||||||
const mobileMenuLinks = document.querySelectorAll('.mobile-menu a');
|
const mobileMenuLinks = document.querySelectorAll('.mobile-menu a');
|
||||||
|
|
||||||
// Toggle menu when burger icon is clicked
|
// Toggle menu when burger icon is clicked
|
||||||
burgerIcon.addEventListener('click', () => {
|
burgerIcon?.addEventListener('click', () => {
|
||||||
burgerIcon.classList.toggle('active');
|
burgerIcon.classList.toggle('active');
|
||||||
mobileMenu.classList.toggle('active');
|
mobileMenu?.classList.toggle('active');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Close menu when a navigation link is clicked
|
// Close menu when a navigation link is clicked
|
||||||
mobileMenuLinks.forEach(link => {
|
mobileMenuLinks.forEach(link => {
|
||||||
link.addEventListener('click', () => {
|
link.addEventListener('click', () => {
|
||||||
burgerIcon.classList.remove('active');
|
burgerIcon?.classList.remove('active');
|
||||||
mobileMenu.classList.remove('active');
|
mobileMenu?.classList.remove('active');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -15,7 +15,7 @@ const { id } = Astro.props;
|
|||||||
|
|
||||||
<p>Im Herzen von St.Gallen</p>
|
<p>Im Herzen von St.Gallen</p>
|
||||||
|
|
||||||
<a href="#" class="button">Aktuelles ↓</a>
|
<a href="#welcome" class="button">Aktuelles ↓</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,12 +1,18 @@
|
|||||||
---
|
---
|
||||||
// src/components/HoverCard.astro
|
import { Image } from "astro:assets";
|
||||||
|
import type { ImageMetadata } from "astro";
|
||||||
import "../styles/components/HoverCard.css";
|
import "../styles/components/HoverCard.css";
|
||||||
const {title, description, image = "", date} = Astro.props;
|
const {title, description, image, date} = Astro.props as {
|
||||||
|
title: string;
|
||||||
|
description: string;
|
||||||
|
image: ImageMetadata;
|
||||||
|
date: string;
|
||||||
|
};
|
||||||
---
|
---
|
||||||
|
|
||||||
<article class="hover-card">
|
<article class="hover-card">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img class="card-image" src={image} alt={title} />
|
<Image class="card-image" src={image} alt={title} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="hover-text">
|
<div class="hover-text">
|
||||||
@ -21,12 +27,29 @@ const {title, description, image = "", date} = Astro.props;
|
|||||||
const hoverCards = document.querySelectorAll('.hover-card');
|
const hoverCards = document.querySelectorAll('.hover-card');
|
||||||
|
|
||||||
hoverCards.forEach(card => {
|
hoverCards.forEach(card => {
|
||||||
card.addEventListener('click', () => {
|
card.addEventListener('click', (e) => {
|
||||||
// Only toggle on mobile devices
|
// Only toggle on mobile devices
|
||||||
if (window.innerWidth <= 768) {
|
if (window.innerWidth <= 768) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
// Close all other active cards first
|
||||||
|
hoverCards.forEach(otherCard => {
|
||||||
|
if (otherCard !== card) {
|
||||||
|
otherCard.classList.remove('active');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Toggle current card
|
||||||
card.classList.toggle('active');
|
card.classList.toggle('active');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Close card when clicking outside (mobile only)
|
||||||
|
document.addEventListener('click', (e) => {
|
||||||
|
if (window.innerWidth <= 768 && !card.contains(e.target as Node)) {
|
||||||
|
card.classList.remove('active');
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -1,13 +1,15 @@
|
|||||||
---
|
---
|
||||||
// src/components/ImageCarousel.astro
|
// src/components/ImageCarousel.astro
|
||||||
|
import { Image } from "astro:assets";
|
||||||
|
import type { ImageMetadata } from "astro";
|
||||||
import "../styles/components/ImageCarousel.css";
|
import "../styles/components/ImageCarousel.css";
|
||||||
|
|
||||||
interface Image {
|
interface ImageData {
|
||||||
src: string;
|
src: ImageMetadata;
|
||||||
alt: string;
|
alt: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { images = [], id } = Astro.props as { images: Image[], id?: string };
|
const { images = [], id } = Astro.props as { images: ImageData[], id?: string };
|
||||||
---
|
---
|
||||||
|
|
||||||
<section id={id} class="image-carousel-container">
|
<section id={id} class="image-carousel-container">
|
||||||
@ -21,7 +23,7 @@ const { images = [], id } = Astro.props as { images: Image[], id?: string };
|
|||||||
<div class="carousel-track">
|
<div class="carousel-track">
|
||||||
{images.map((image, index) => (
|
{images.map((image, index) => (
|
||||||
<div class="carousel-slide" data-index={index}>
|
<div class="carousel-slide" data-index={index}>
|
||||||
<img src={image.src} alt={image.alt} class="carousel-image" />
|
<Image src={image.src} alt={image.alt} class="carousel-image" />
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
// src/components/Welcome.astro
|
// src/components/Welcome.astro
|
||||||
|
import { Image } from "astro:assets";
|
||||||
import "../styles/components/Welcome.css"
|
import "../styles/components/Welcome.css"
|
||||||
|
import WelcomeImg from "../assets/images/Welcome.png";
|
||||||
|
|
||||||
const { id } = Astro.props;
|
const { id } = Astro.props;
|
||||||
---
|
---
|
||||||
@ -52,7 +54,7 @@ const { id } = Astro.props;
|
|||||||
|
|
||||||
|
|
||||||
<div class="welcome-image">
|
<div class="welcome-image">
|
||||||
<img src="/images/Welcome.png" alt="Welcome background image" />
|
<Image src={WelcomeImg} alt="Welcome background image" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -1,17 +1,33 @@
|
|||||||
---
|
---
|
||||||
// src/pages/index.astro
|
|
||||||
import Layout from "../components/Layout.astro";
|
import Layout from "../components/Layout.astro";
|
||||||
import Hero from "../components/Hero.astro";
|
import Hero from "../components/Hero.astro";
|
||||||
import Welcome from "../components/Welcome.astro";
|
import Welcome from "../components/Welcome.astro";
|
||||||
import EventsGrid from "../components/EventsGrid.astro";
|
import EventsGrid from "../components/EventsGrid.astro";
|
||||||
import Drinks from "../components/Drinks.astro";
|
import Drinks from "../components/Drinks.astro";
|
||||||
import ImageCarousel from "../components/ImageCarousel.astro";
|
import ImageCarousel from "../components/ImageCarousel.astro";
|
||||||
import Contact from "../components/Contact.astro";
|
|
||||||
import About from "../components/About.astro";
|
// Import event images
|
||||||
|
import eventKaraoke from "../assets/images/events/event_karaoke.jpg";
|
||||||
|
import eventPubQuiz from "../assets/images/events/event_pub-quiz.jpg";
|
||||||
|
import eventSchlager from "../assets/images/events/event_schlager-karaoke.jpeg";
|
||||||
|
import eventAdvent from "../assets/images/events/event_advents-kalender.jpeg";
|
||||||
|
import eventFerien from "../assets/images/events/event_ferien.jpeg";
|
||||||
|
import eventNeujahr from "../assets/images/events/event_neujahrs-apero.jpeg";
|
||||||
|
|
||||||
|
// Import gallery images
|
||||||
|
import Gallery1 from "../assets/images/gallery/Gallery1.png";
|
||||||
|
import Gallery2 from "../assets/images/gallery/Gallery2.png";
|
||||||
|
import Gallery3 from "../assets/images/gallery/Gallery3.png";
|
||||||
|
import Gallery4 from "../assets/images/gallery/Gallery4.png";
|
||||||
|
import Gallery5 from "../assets/images/gallery/Gallery5.png";
|
||||||
|
import Gallery6 from "../assets/images/gallery/Gallery6.png";
|
||||||
|
import Gallery7 from "../assets/images/gallery/Gallery7.png";
|
||||||
|
import Gallery8 from "../assets/images/gallery/Gallery8.png";
|
||||||
|
import Gallery9 from "../assets/images/gallery/Gallery9.png";
|
||||||
|
|
||||||
const events = [
|
const events = [
|
||||||
{
|
{
|
||||||
image: "/images/karaoke.jpg",
|
image: eventKaraoke,
|
||||||
title: "Karaoke",
|
title: "Karaoke",
|
||||||
date: "Mittwoch - Samstag",
|
date: "Mittwoch - Samstag",
|
||||||
description: `
|
description: `
|
||||||
@ -21,7 +37,7 @@ const events = [
|
|||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: "/images/pub_quiz.jpg",
|
image: eventPubQuiz,
|
||||||
title: "Pub Quiz",
|
title: "Pub Quiz",
|
||||||
date: "Jeden Freitag",
|
date: "Jeden Freitag",
|
||||||
description: `
|
description: `
|
||||||
@ -31,59 +47,51 @@ const events = [
|
|||||||
*zum mitmachen minimum 1 Getränk konsumieren oder 5CHF
|
*zum mitmachen minimum 1 Getränk konsumieren oder 5CHF
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: "/images/Event1.png",
|
image: eventSchlager,
|
||||||
title: "Crepes Sucette <br /> Live Music im Gallus Pub!",
|
title: "Schlager Hüttenzauber Karaoke",
|
||||||
date: "Do, 04. September 2025",
|
date: "27. November - 19:00 Uhr",
|
||||||
description: `
|
description: `
|
||||||
<b>20:00 Uhr</b> <br>
|
Ab 19:00 Uhr Eintritt ist Frei! Reservieren unter <a href="tel:+41772322770">077 232 27 70</a>
|
||||||
<a href="Metzgergasse 13, 9000 St. Gallen">Metzgergasse 13, 9000 St. Gallen</a> <br>
|
`,
|
||||||
Erlebt einen musikalischen Abend mit der Band <b>Crepes Sucette</b> <br>
|
|
||||||
Jetzt reservieren: <a href="tel:+41772322770">077 232 27 70</a>`,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: "/images/Event3.png",
|
image: eventAdvent,
|
||||||
title: "Karaoke",
|
title: "Adventskalender",
|
||||||
date: "Mittwoch - Samstag",
|
date: "03. Dezember - 20. Dezember 2025",
|
||||||
description: `
|
description: `
|
||||||
Bei uns gibt es Karaoke Mi-Sa!! <br>
|
Jeden Tag neue Überraschungen! Check unsere Social Media Stories!
|
||||||
Seid ihr eine Gruppe und lieber unter euch? ..unseren 2.Stock kannst du auch mieten ;) <br>
|
|
||||||
Reserviere am besten gleich per Whatsapp <a href="tel:+41772322770">077 232 27 70</a>
|
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: "/images/Event2.png",
|
image: eventFerien,
|
||||||
title: "Karaoke",
|
title: "Weihnachtsferien",
|
||||||
date: "Mittwoch - Samstag",
|
date: "21. Dezember 2025 - 01. Januar 2026",
|
||||||
description: `
|
description: `
|
||||||
Bei uns gibt es Karaoke Mi-Sa!! <br>
|
Wir sind ab 02.01.2026 wieder wie gewohnt für euch da! 🍀. <br> Für Anfragen WA <a href="tel:+41772322770">077 232 27 70</a> Antwort innerhalb 48h
|
||||||
Seid ihr eine Gruppe und lieber unter euch? ..unseren 2.Stock kannst du auch mieten ;) <br>
|
|
||||||
Reserviere am besten gleich per Whatsapp <a href="tel:+41772322770">077 232 27 70</a>
|
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: "/images/kevin_mcflannigan.png",
|
image: eventNeujahr,
|
||||||
title: "Kevin McFlannigan <br> Live Music im Gallus Pub!",
|
title: "Neujahrs-Apero",
|
||||||
date: "Sa, 27. September 2025",
|
date: "02. Januar 2026 - 18:00-20:00 Uhr",
|
||||||
description: `
|
description: `
|
||||||
<b>ab 20:00 Uhr</b> <br>
|
|
||||||
Singer & Songwriter Kevin McFlannigan <br>
|
|
||||||
Eintritt ist Frei / Hutkollekte <br>
|
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const images = [
|
const images = [
|
||||||
{ src: "/images/Logo.png", alt: "Erstes Bild" },
|
{ src: Gallery7, alt: "Siebtes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Zweites Bild" },
|
{ src: Gallery8, alt: "Achtes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Drittes Bild" },
|
{ src: Gallery9, alt: "Neuntes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Viertes Bild" },
|
{ src: Gallery6, alt: "Sechstes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Fünftes Bild" },
|
{ src: Gallery1, alt: "Erstes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Sechstes Bild" },
|
{ src: Gallery2, alt: "Zweites Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Siebtes Bild" },
|
{ src: Gallery3, alt: "Drittes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Achtes Bild" },
|
{ src: Gallery4, alt: "Viertes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Neuntes Bild" },
|
{ src: Gallery5, alt: "Fünftes Bild" },
|
||||||
{ src: "/images/Logo.png", alt: "Zehntes Bild" },
|
|
||||||
];
|
];
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: var(--font-size-large);
|
font-size: var(--font-size-large);
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 0.5rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@ -25,6 +25,7 @@
|
|||||||
.card-link {
|
.card-link {
|
||||||
border: 2px solid var(--color-accent-beige);
|
border: 2px solid var(--color-accent-beige);
|
||||||
padding: 0.75rem 1.5rem;
|
padding: 0.75rem 1.5rem;
|
||||||
|
margin-top: 2.5rem;
|
||||||
margin-bottom: 2.5rem;
|
margin-bottom: 2.5rem;
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
background-color: var(--color-background);
|
background-color: var(--color-background);
|
||||||
@ -68,7 +69,6 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background-color: rgba(0, 0, 0, 0.2);
|
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
width: 80%;
|
width: 80%;
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
@ -81,8 +81,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.circle {
|
.circle {
|
||||||
height: 9em;
|
height: 35vh;
|
||||||
width: 9em;
|
width: 35vh;
|
||||||
border: 2px solid var(--color-accent-beige);
|
border: 2px solid var(--color-accent-beige);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin: 0.5rem;
|
margin: 0.5rem;
|
||||||
@ -94,6 +94,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.circle:hover {
|
.circle:hover {
|
||||||
@ -109,12 +110,25 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
transition: opacity var(--transition-standard);
|
transition: opacity var(--transition-standard);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.circle:hover .circle-label {
|
.circle:hover .circle-label {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.circle-image {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.circle-row {
|
.circle-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -149,10 +163,6 @@
|
|||||||
width: 90%;
|
width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.circle {
|
|
||||||
height: 5em;
|
|
||||||
width: 5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.circle-label {
|
.circle-label {
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
|
|||||||
@ -12,8 +12,19 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hover-card:hover {
|
/* Hover effects only for devices that support hover */
|
||||||
transform: translateY(-5px);
|
@media (hover: hover) and (pointer: fine) {
|
||||||
|
.hover-card:hover {
|
||||||
|
transform: translateY(-5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hover-card:hover .hover-text {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hover-card:hover .card-image {
|
||||||
|
opacity: 0.1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-title {
|
.card-title {
|
||||||
@ -93,15 +104,7 @@
|
|||||||
scrollbar-color: var(--color-accent-beige) rgba(0, 0, 0, 0.1);
|
scrollbar-color: var(--color-accent-beige) rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hover-card:hover .hover-text {
|
/* Active state for mobile tap functionality */
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hover-card:hover .card-image {
|
|
||||||
opacity: 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Active state for mobile click functionality */
|
|
||||||
.hover-card.active .hover-text {
|
.hover-card.active .hover-text {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
@ -122,5 +125,31 @@
|
|||||||
/* Maintain square aspect ratio */
|
/* Maintain square aspect ratio */
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
/* Add cursor pointer to indicate it's clickable */
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add visual feedback for tap */
|
||||||
|
.hover-card:active {
|
||||||
|
transform: scale(0.98);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hover-card::after {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 10px;
|
||||||
|
right: 10px;
|
||||||
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
|
color: var(--color-accent-beige);
|
||||||
|
font-size: 0.7rem;
|
||||||
|
padding: 4px 8px;
|
||||||
|
border-radius: 12px;
|
||||||
|
opacity: 0.8;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide the hint when card is active */
|
||||||
|
.hover-card.active::after {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||