From 4758017563f5bdbc6d0acfecd23746229ed5193b Mon Sep 17 00:00:00 2001 From: "Leonardo (SWE Agent)" Date: Wed, 16 Sep 2026 21:35:23 +0000 Subject: [PATCH] feat: complete v2 website relaunch (dark elegance, 50/50 hero, trattoria admin, gutschein shop, enzino bot, i18n) --- src/components/ApartmentCard.astro | 54 +- src/components/EnzinoChat.astro | 287 +++++++ src/components/EviivoWidget.astro | 54 +- src/components/Footer.astro | 144 +++- src/components/Header.astro | 172 +++- src/components/Hero5050.astro | 198 +++++ src/content/blog/48-stunden-in-goslar.md | 35 + src/content/blog/direktbuchung-vorteile.md | 21 + .../blog/sizilianische-kueche-goslar.md | 30 + src/content/blog/workation-im-harz.md | 25 + src/content/config.ts | 16 + src/data/enzinoPrompt.ts | 49 ++ src/data/i18n.ts | 151 ++++ src/layouts/Layout.astro | 33 +- src/pages/apartments/[slug].astro | 111 ++- src/pages/apartments/index.astro | 177 ++++ src/pages/blog/[slug].astro | 89 ++ src/pages/blog/index.astro | 126 +++ src/pages/datenschutz.astro | 102 +++ src/pages/faq.astro | 239 ++++++ src/pages/geschichte.astro | 150 ++++ src/pages/impressum.astro | 104 +++ src/pages/index.astro | 274 +++--- src/pages/trattoria-admin/index.astro | 792 ++++++++++++++++++ src/pages/trattoria.astro | 721 ++++++++++++++++ src/styles/global.css | 77 +- tailwind.config.mjs | 19 +- 27 files changed, 3958 insertions(+), 292 deletions(-) create mode 100644 src/components/EnzinoChat.astro create mode 100644 src/components/Hero5050.astro create mode 100644 src/content/blog/48-stunden-in-goslar.md create mode 100644 src/content/blog/direktbuchung-vorteile.md create mode 100644 src/content/blog/sizilianische-kueche-goslar.md create mode 100644 src/content/blog/workation-im-harz.md create mode 100644 src/data/enzinoPrompt.ts create mode 100644 src/data/i18n.ts create mode 100644 src/pages/apartments/index.astro create mode 100644 src/pages/blog/[slug].astro create mode 100644 src/pages/blog/index.astro create mode 100644 src/pages/datenschutz.astro create mode 100644 src/pages/faq.astro create mode 100644 src/pages/geschichte.astro create mode 100644 src/pages/impressum.astro create mode 100644 src/pages/trattoria-admin/index.astro create mode 100644 src/pages/trattoria.astro diff --git a/src/components/ApartmentCard.astro b/src/components/ApartmentCard.astro index e2e22bd..f703f88 100644 --- a/src/components/ApartmentCard.astro +++ b/src/components/ApartmentCard.astro @@ -16,62 +16,70 @@ interface Props { const { title, subtitle, category, guests, sizeSqm, balcony, workspace, kitchen, highlights, image, slug } = Astro.props; --- -
+
-
-
- +
+ {category} + {balcony && ( + + 🌿 Balkon/Terrasse + + )}
- -
- {title} + +
+
+ 🏛️ + {title} +
-
-
-
- 👤 Bis zu {guests} Gäste +
+
+
+ 👤 Bis zu {guests} Gäste • - 📐 {sizeSqm} m² - {balcony && ( + 📐 {sizeSqm} m² + {workspace && ( <> • - 🌿 Balkon/Terrasse + 💻 Workstation )}
-

+

{title}

-

+

{subtitle}

-
    +
      {highlights.slice(0, 3).map((item) => (
    • - ✓ - {item} + ✓ + {item}
    • ))}
-
- + diff --git a/src/components/EnzinoChat.astro b/src/components/EnzinoChat.astro new file mode 100644 index 0000000..3b6bc31 --- /dev/null +++ b/src/components/EnzinoChat.astro @@ -0,0 +1,287 @@ +--- +import { + ENZINO_INITIAL_GREETING_DE, + ENZINO_INITIAL_GREETING_EN, + ENZINO_QUICK_QUESTIONS_DE, + ENZINO_QUICK_QUESTIONS_EN +} from '../data/enzinoPrompt'; + +interface Props { + lang?: 'de' | 'en'; +} + +const { lang = 'de' } = Astro.props; +const initialGreeting = lang === 'de' ? ENZINO_INITIAL_GREETING_DE : ENZINO_INITIAL_GREETING_EN; +const quickQuestions = lang === 'de' ? ENZINO_QUICK_QUESTIONS_DE : ENZINO_QUICK_QUESTIONS_EN; +--- + +
+ + + + + +
+ + diff --git a/src/components/EviivoWidget.astro b/src/components/EviivoWidget.astro index de5efd0..8d60ade 100644 --- a/src/components/EviivoWidget.astro +++ b/src/components/EviivoWidget.astro @@ -2,34 +2,47 @@ // Eviivo Direct Booking Engine Component --- -
-
- - Direktbucher-Vorteil - -

+
+
+
+ 🔒 Direktbucher Bestpreis-Garantie +
+

Verfügbarkeit & Bestpreis prüfen

-

- Buche direkt über unsere Eviivo-Schnittstelle – 15 % günstiger als auf Booking.com +

+ Buche direkt über unsere Eviivo-Schnittstelle – 15% günstiger als auf Booking.com oder Airbnb. Bestpreis garantiert!

- - + +
- - + +
- - @@ -38,17 +51,20 @@
-
-
- 🔒 Sichere SSL-Verschlüsselung +
+ 🔒 Sichere SSL-Schnittstelle • 💳 Keine versteckten Gebühren • - ⚡ Sofortige Bestätigung + ⚡ Sofortige Reservierungsbestätigung
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 0eb56c4..612291f 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,66 +1,136 @@ --- +interface Props { + lang?: 'de' | 'en'; +} + +const { lang = 'de' } = Astro.props; --- -