feat(backend): initial setup for cms backend service #1
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "",
|
"name": "Gallus Pub Site",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
BIN
public/images/events/event_advents-kalender.jpeg
Normal file
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
BIN
public/images/events/event_ferien.jpeg
Normal file
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 94 KiB |
BIN
public/images/events/event_neujahrs-apero.jpeg
Normal file
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 49 KiB |
BIN
public/images/events/event_santa_karaoke.jpeg
Normal file
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
BIN
public/images/events/event_schlager-karaoke.jpeg
Normal file
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 800 KiB |
|
After Width: | Height: | Size: 747 KiB |
|
After Width: | Height: | Size: 398 KiB |
|
After Width: | Height: | Size: 604 KiB |
|
After Width: | Height: | Size: 580 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 567 KiB |
|
After Width: | Height: | Size: 184 KiB |
|
After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 196 KiB |
@ -29,15 +29,15 @@ const { id } = Astro.props;
|
|||||||
|
|
||||||
<div class="circle-row">
|
<div class="circle-row">
|
||||||
<div class="circle whiskey-circle" title="Whiskey 1">
|
<div class="circle whiskey-circle" title="Whiskey 1">
|
||||||
<img src="/images/Whiskey1.png" alt="Whiskey 1" class="circle-image" />
|
<img src="/images/whiskey/Whiskey1.png" alt="Whiskey 1" class="circle-image" />
|
||||||
<span class="circle-label"></span>
|
<span class="circle-label"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="circle whiskey-circle" title="Whiskey 2">
|
<div class="circle whiskey-circle" title="Whiskey 2">
|
||||||
<img src="/images/Whiskey2.png" alt="Whiskey 2" class="circle-image" />
|
<img src="/images/whiskey/Whiskey2.png" alt="Whiskey 2" class="circle-image" />
|
||||||
<span class="circle-label"></span>
|
<span class="circle-label"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="circle whiskey-circle" title="Whiskey 3">
|
<div class="circle whiskey-circle" title="Whiskey 3">
|
||||||
<img src="/images/Whiskey3.png" alt="Whiskey 3" class="circle-image" />
|
<img src="/images/whiskey/Whiskey3.png" alt="Whiskey 3" class="circle-image" />
|
||||||
<span class="circle-label"></span>
|
<span class="circle-label"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -39,7 +39,7 @@ const {title, description, image = "", date} = Astro.props;
|
|||||||
|
|
||||||
// Close card when clicking outside (mobile only)
|
// Close card when clicking outside (mobile only)
|
||||||
document.addEventListener('click', (e) => {
|
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');
|
card.classList.remove('active');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -5,12 +5,10 @@ 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";
|
|
||||||
|
|
||||||
const events = [
|
const events = [
|
||||||
{
|
{
|
||||||
image: "/images/karaoke.jpg",
|
image: "/images/events/event_karaoke.jpg",
|
||||||
title: "Karaoke",
|
title: "Karaoke",
|
||||||
date: "Mittwoch - Samstag",
|
date: "Mittwoch - Samstag",
|
||||||
description: `
|
description: `
|
||||||
@ -20,7 +18,7 @@ const events = [
|
|||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: "/images/pub_quiz.jpg",
|
image: "/images/events/event_pub-quiz.jpg",
|
||||||
title: "Pub Quiz",
|
title: "Pub Quiz",
|
||||||
date: "Jeden Freitag",
|
date: "Jeden Freitag",
|
||||||
description: `
|
description: `
|
||||||
@ -30,28 +28,58 @@ const events = [
|
|||||||
*zum mitmachen minimum 1 Getränk konsumieren oder 5CHF
|
*zum mitmachen minimum 1 Getränk konsumieren oder 5CHF
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: "/images/Event4.png",
|
image: "/images/events/event_schlager-karaoke.jpeg",
|
||||||
title: "Kevin McFlannigan <br> Live Music im Gallus Pub!",
|
title: "Schlager Hüttenzauber Karaoke",
|
||||||
date: "Sa, 27. September 2025",
|
date: "27. November - 19:00 Uhr",
|
||||||
description: `
|
description: `
|
||||||
<b>ab 20:00 Uhr</b> <br>
|
Ab 19:00 Uhr Eintritt ist Frei! Reservieren unter <a href="tel:+41772322770">077 232 27 70</a>
|
||||||
Eintritt ist Frei / Hutkollekte <br>
|
|
||||||
Reservieren unter <a href="tel:+41772322770">077 232 27 70</a>
|
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
image: "/images/events/event_advents-kalender.jpeg",
|
||||||
|
title: "Adventskalender",
|
||||||
|
date: "03. Dezember - 20. Dezember 2025",
|
||||||
|
description: `
|
||||||
|
Jeden Tag neue Überraschungen! Check unsere Social Media Stories!
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
image: "/images/events/event_santa_karaoke.jpeg",
|
||||||
|
title: "Santa Karaoke-Party",
|
||||||
|
date: "06. Dezember 2025",
|
||||||
|
description: `
|
||||||
|
🤶🏻🎅🏻Komme als Weihnachts-Mann/-Frau und bekomme einen Shot auf's Haus!🤶🏻🎅🏻 `,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
image: "/images/events/event_ferien.jpeg",
|
||||||
|
title: "Weihnachtsferien",
|
||||||
|
date: "21. Dezember 2025 - 01. Januar 2026",
|
||||||
|
description: `
|
||||||
|
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
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
image: "/images/events/event_neujahrs-apero.jpeg",
|
||||||
|
title: "Neujahrs-Apero",
|
||||||
|
date: "02. Januar 2026 - 18:00-20:00 Uhr",
|
||||||
|
description: `
|
||||||
|
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const images = [
|
const images = [
|
||||||
{ src: "/images/Gallery7.png", alt: "Siebtes Bild" },
|
{ src: "/images/gallery/Gallery7.png", alt: "Siebtes Bild" },
|
||||||
{ src: "/images/Gallery8.png", alt: "Achtes Bild" },
|
{ src: "/images/gallery/Gallery8.png", alt: "Achtes Bild" },
|
||||||
{ src: "/images/Gallery9.png", alt: "Neuntes Bild" },
|
{ src: "/images/gallery/Gallery9.png", alt: "Neuntes Bild" },
|
||||||
{ src: "/images/Gallery6.png", alt: "Sechstes Bild" },
|
{ src: "/images/gallery/Gallery6.png", alt: "Sechstes Bild" },
|
||||||
{ src: "/images/Gallery1.png", alt: "Erstes Bild" },
|
{ src: "/images/gallery/Gallery1.png", alt: "Erstes Bild" },
|
||||||
{ src: "/images/Gallery2.png", alt: "Zweites Bild" },
|
{ src: "/images/gallery/Gallery2.png", alt: "Zweites Bild" },
|
||||||
{ src: "/images/Gallery3.png", alt: "Drittes Bild" },
|
{ src: "/images/gallery/Gallery3.png", alt: "Drittes Bild" },
|
||||||
{ src: "/images/Gallery4.png", alt: "Viertes Bild" },
|
{ src: "/images/gallery/Gallery4.png", alt: "Viertes Bild" },
|
||||||
{ src: "/images/Gallery5.png", alt: "Fünftes Bild" },
|
{ src: "/images/gallery/Gallery5.png", alt: "Fünftes Bild" },
|
||||||
];
|
];
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||