Merge branch 'theme/seebad' (Theme Seebad, first version)
No files matched your search
@@ -56,7 +56,12 @@ ## 5. Wünsche der Design-Session an die Anwendung
|
||||
|
||||
| Datum | Wunsch | Status |
|
||||
|---|---|---|
|
||||
| | | |
|
||||
| 23.10.2026 | **Theme-Optionen** in `theme.json › options` (Auswahl/Schalter, z. B. Titelbild Bogen/Rechteck, Bewegung an/aus), im Admin unter Websites und je Erscheinungsbild überschreibbar (DESIGN-KONZEPT §7 Nr. 1) | offen |
|
||||
| 23.10.2026 | **Darstellungsvarianten je Baustein** (`theme.json › variants`), Feld „Darstellung“ im Seiten-Baukasten (DESIGN-KONZEPT §7 Nr. 2) | offen |
|
||||
| 23.10.2026 | **Baustein „Tipps der Gastgeberin“**: Orte mit Kategorie (Strand, Seebrücke, Bahn, Rad, Wald …), Weg/Gehzeit, Text, Foto, Karten-Link; saisonal filterbar. Seebad zeigt je Kategorie eine Vignette der Bildwelt (DESIGN-KONZEPT §7 Nr. 4) | offen |
|
||||
| 23.10.2026 | **Baustein „Gut zu wissen“**: strukturierte Angaben (Zugang/Stufen, Dusche, Rollstuhl, Haustiere, An-/Abreisezeiten, Parken) an der Wohnung; Seebad stellt ihn in der Kartusche dar (DESIGN-KONZEPT §7 Nr. 5) | offen |
|
||||
| 23.10.2026 | **Bildwelt-System** (MANDANTEN-ANFORDERUNGEN A18–A20): Seebad nutzt schon Plätze über `partials/motif` (`mark`, `divider`, `closing`, `crest`, `gulls`, `vignette.*`) | offen |
|
||||
| 23.10.2026 | Hilfetext „*Wort* wird hervorgehoben“ im Titelbereich ist theme-abhängig (Seebad hebt nicht hervor) – Hinweis neutral formulieren | offen |
|
||||
|
||||
## 6. Änderungsprotokoll Vorlagen-Vertrag
|
||||
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
{
|
||||
"name": "fewo-stommer",
|
||||
"name": "fewo-stommer.de",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"@fontsource/atkinson-hyperlegible-next": "^5.3.0",
|
||||
"@fontsource/newsreader": "^5.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fontsource/cormorant-garamond": "^5.3.0",
|
||||
"@fontsource/figtree": "^5.3.0",
|
||||
@@ -44,6 +48,15 @@
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/@fontsource/atkinson-hyperlegible-next": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@fontsource/atkinson-hyperlegible-next/-/atkinson-hyperlegible-next-5.3.0.tgz",
|
||||
"integrity": "sha512-8p1tHVoPDo6oYwSO3sMw5snGwFwSf3TmeSF9Gcj792GXdsg6oqvhoItbj6Hj/XZIk0Xs+Cwu6pkLBAl3Q5HrwA==",
|
||||
"license": "OFL-1.1",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ayuhito"
|
||||
}
|
||||
},
|
||||
"node_modules/@fontsource/cormorant-garamond": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@fontsource/cormorant-garamond/-/cormorant-garamond-5.3.0.tgz",
|
||||
@@ -64,6 +77,15 @@
|
||||
"url": "https://github.com/sponsors/ayuhito"
|
||||
}
|
||||
},
|
||||
"node_modules/@fontsource/newsreader": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@fontsource/newsreader/-/newsreader-5.3.0.tgz",
|
||||
"integrity": "sha512-AFR6ZKY89GNL+9qBI2P2+66NhD5bhOj/v6fsLnFYLM4E0JnMB1yKb+Ro8cA64i1hwAWoBfTq5CHJGWH1toLDkw==",
|
||||
"license": "OFL-1.1",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ayuhito"
|
||||
}
|
||||
},
|
||||
"node_modules/@jridgewell/gen-mapping": {
|
||||
"version": "0.3.13",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
|
||||
@@ -259,9 +281,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -279,9 +298,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -299,9 +315,6 @@
|
||||
"ppc64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -319,9 +332,6 @@
|
||||
"s390x"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -339,9 +349,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -359,9 +366,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -562,9 +566,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -582,9 +583,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -602,9 +600,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -622,9 +617,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1377,9 +1369,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1401,9 +1390,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1425,9 +1411,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1449,9 +1432,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1585,6 +1565,7 @@
|
||||
"integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
@@ -1621,16 +1602,6 @@
|
||||
"node": "^10 || ^12 || >=14"
|
||||
}
|
||||
},
|
||||
"node_modules/react": {
|
||||
"version": "19.3.1",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz",
|
||||
"integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/react-reconciler": {
|
||||
"version": "0.33.0",
|
||||
"resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.33.0.tgz",
|
||||
@@ -1937,6 +1908,7 @@
|
||||
"integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"lightningcss": "^1.33.0",
|
||||
"picomatch": "^4.0.7",
|
||||
@@ -2176,9 +2148,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -2200,9 +2169,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -2224,9 +2190,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -2248,9 +2211,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
|
||||
@@ -17,5 +17,9 @@
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@laravel/multiplex": "^0.4.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/atkinson-hyperlegible-next": "^5.3.0",
|
||||
"@fontsource/newsreader": "^5.3.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
# Theme „Seebad“ (`seebad`)
|
||||
|
||||
Child-Theme von `ostsee-licht`, Richtung A aus [docs/DESIGN-KONZEPT.md](../../../docs/DESIGN-KONZEPT.md): ruhiges Magazin für Paare, große und gut lesbare Schrift, Titelbild mit Bogen, Bildwelt „Ostsee“. Vorlagen, die hier fehlen, kommen vom Eltern-Theme.
|
||||
|
||||
- Anleitung und Vorlagen-Vertrag: `docs/THEME-ERSTELLUNG.md`, `docs/THEMES.md` §5
|
||||
- Prüfen: `php artisan themes:check seebad`
|
||||
- Ansehen ohne Umschalten: `php artisan themes:preview seebad` oder Admin › System › Websites › Theme „Seebad“ › „Vorschau“
|
||||
|
||||
## Gestaltung
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| Schriften | Newsreader (Überschriften, Zitate), Atkinson Hyperlegible Next (Text, Bedienung) – selbst gehostet über `@fontsource` |
|
||||
| Farben | Kreideweiß `#F7F8F6`, Tintenblau `#1F2B38`, Backstein `#9A3B2E`, Abendblau `#23384A` (Tokens in `theme.json`) |
|
||||
| Grundgröße | 18 px, ab 1024 px 19 px; Schaltflächen und Felder mindestens 48 px hoch |
|
||||
| Bogen | nur das Titelbild (`.arch`) – bewusst sparsam |
|
||||
| Kartusche | Doppelrahmen mit Muschel (`.cartouche`) für den Abschluss-Aufruf |
|
||||
| Bewegung | Wellenbänder treiben langsam (`.motif-drift`), Möwen gleiten (`.motif-glide`); aus bei „Bewegung reduzieren“ |
|
||||
| Hervorhebung | `*Wort*` im Titel wird bewusst **nicht** kursiv gesetzt (ruhigere Überschrift) |
|
||||
|
||||
## Bildwelt
|
||||
|
||||
Grafiken liegen in `motifs/` (Quelle: `styles/satz3/svg/`) und werden nur über Plätze eingebunden:
|
||||
`@include('theme::partials.motif', ['slot' => 'divider', 'class' => '…'])`. Plätze: `mark`, `divider`, `closing`, `crest`, `gulls`, `vignette.beach|pier|train|bike|forest`. Die Zuordnung Platz → Datei steht nur in `partials/motif.blade.php`, damit ein späteres Bildwelt-System (MANDANTEN-ANFORDERUNGEN A18/A19) sie ersetzen kann. Farben über `--brand-navy` (= Textfarbe), `--brand-paper` (= Flächen), `--brand-teal`, `--brand-wave`, `--brand-sun`, `--brand-reed`, `--brand-brick`.
|
||||
|
||||
## Eigene Vorlagen
|
||||
|
||||
| Datei | Zweck |
|
||||
|---|---|
|
||||
| `layouts/app` | Grundgerüst (größere Grundschrift, Lightbox mit großer Schließen-Fläche) |
|
||||
| `partials/header` | Bildmarke Villa, Menü, Telefon (ab 1536 px), „Verfügbarkeit prüfen“; Handy-Menü als dunkle Tafel mit großen Links, Anruf-Taste und Seebrücken-Band |
|
||||
| `partials/footer` | Seebrücken-Band, Bildmarke, Kontakt, Rechtliches |
|
||||
| `partials/banner` | Hinweis-Banner mit Möwen |
|
||||
| `partials/mobile-booking-bar` | „Verfügbarkeit prüfen“ und Anruf-Taste |
|
||||
| `partials/motif` | Bildwelt-Grafiken inline nach Platz |
|
||||
| `sections/hero` | Titelbild mit Bogen, Titel, Suche im Kasten, hervorgehobenes Angebot; darunter Wellenband mit Sonne |
|
||||
| `sections/facts` | Eckdaten in großer Serifenschrift, ohne Symbole |
|
||||
| `sections/text_image` | Magazin-Raster (großes Bild + zwei kleine) |
|
||||
| `sections/location` | Lage auf weißer Fläche, Fotos mit Bildunterschrift in Serifenschrift |
|
||||
| `sections/host` | Zitat der Gastgeberin auf dunklem Band, gleitende Möwen; Porträt optional |
|
||||
| `sections/cta` | Abschluss in der Kartusche mit Muschel, Foto optional daneben |
|
||||
|
||||
Übrige Bausteine (Galerie, Ausstattung, Preise, Angebote, Buchung, Bewertungen, FAQ, Kontakt, Fließtext) kommen noch vom Eltern-Theme und übernehmen Schriften, Farben und Basis-Klassen.
|
||||
@@ -0,0 +1,20 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 150" preserveAspectRatio="xMidYMid meet" role="presentation" aria-hidden="true">
|
||||
<defs><clipPath id="band-pier-horizon"><rect x="1160" y="20" width="140" height="78"/></clipPath></defs>
|
||||
<circle cx="1230" cy="98" r="50" fill="var(--brand-sun, #F2C27A)" clip-path="url(#band-pier-horizon)"/>
|
||||
<g fill="var(--brand-navy, #0B2E55)">
|
||||
<rect x="1100" y="92" width="380" height="6" rx="1"/>
|
||||
<rect x="1100" y="80" width="300" height="2.5"/>
|
||||
<path d="M1108 80 V92 M1126 80 V92 M1144 80 V92 M1162 80 V92 M1180 80 V92 M1198 80 V92 M1216 80 V92 M1234 80 V92 M1252 80 V92 M1270 80 V92 M1288 80 V92 M1306 80 V92 M1324 80 V92 M1342 80 V92 M1360 80 V92 M1378 80 V92" stroke="var(--brand-navy, #0B2E55)" stroke-width="2"/>
|
||||
<path d="M1112 98 H1117 V112 H1112 Z M1150 98 H1155 V112 H1150 Z M1188 98 H1193 V112 H1188 Z M1226 98 H1231 V112 H1226 Z M1264 98 H1269 V112 H1264 Z M1302 98 H1307 V112 H1302 Z M1340 98 H1345 V112 H1340 Z M1378 98 H1383 V112 H1378 Z M1416 98 H1421 V112 H1416 Z M1454 98 H1459 V112 H1454 Z"/>
|
||||
<rect x="1410" y="72" width="44" height="20"/>
|
||||
<path d="M1404 74 L1432 50 L1460 74 Z"/>
|
||||
<path d="M1430 50 L1432 34 L1434 50 Z"/>
|
||||
<rect x="1160" y="56" width="2" height="24"/>
|
||||
<path d="M1162 56 L1174 60 L1162 64 Z"/>
|
||||
<rect x="1380" y="60" width="2" height="20"/>
|
||||
<path d="M1382 60 L1392 64 L1382 68 Z"/>
|
||||
</g>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round" d="M1060 44 Q1068 36 1076 44 Q1084 34 1094 40 M1020 64 Q1025 59 1030 64 Q1035 58 1041 61"/>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M10 104 C200 70 400 68 600 90 C800 112 1000 112 1200 106 C1350 102 1480 96 1590 80 C1440 130 1260 126 1100 120 C900 114 760 120 600 108 C400 88 200 92 10 104 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M60 122 C240 102 420 104 600 120 C800 136 1000 130 1200 124 C1340 120 1460 116 1540 110 C1400 142 1220 142 1060 136 C900 132 760 136 600 130 C420 118 240 116 60 122 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,21 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 150" preserveAspectRatio="xMidYMid meet" role="presentation" aria-hidden="true">
|
||||
<defs><clipPath id="band-sonne-horizon"><rect x="740" y="20" width="120" height="78"/></clipPath></defs>
|
||||
<circle cx="800" cy="98" r="44" fill="var(--brand-sun, #F2C27A)" clip-path="url(#band-sonne-horizon)"/>
|
||||
<path fill="var(--brand-sun, #F2C27A)" d="M760 104 H840 A3 3 0 0 1 840 110 H760 A3 3 0 0 1 760 104 Z M776 118 H824 A3 3 0 0 1 824 124 H776 A3 3 0 0 1 776 118 Z"/>
|
||||
<g fill="var(--brand-reed, #C9A15E)" transform="translate(744 100) scale(-1 1)">
|
||||
<path d="M0 0 C-4 -20 -14 -38 -30 -50 C-18 -34 -10 -18 -4 0 Z"/>
|
||||
<path d="M2 0 C2 -22 -2 -42 -12 -62 C-4 -40 -2 -20 -2 0 Z"/>
|
||||
<path d="M4 0 C8 -18 16 -34 28 -46 C18 -30 10 -16 8 0 Z"/>
|
||||
<path d="M6 0 C14 -12 24 -22 36 -26 C26 -18 16 -8 10 0 Z"/>
|
||||
<path d="M-2 0 C-10 -10 -22 -18 -36 -20 C-22 -14 -12 -6 -6 0 Z"/>
|
||||
</g>
|
||||
<g fill="var(--brand-reed, #C9A15E)" transform="translate(856 100)">
|
||||
<path d="M0 0 C-4 -20 -14 -38 -30 -50 C-18 -34 -10 -18 -4 0 Z"/>
|
||||
<path d="M2 0 C2 -22 -2 -42 -12 -62 C-4 -40 -2 -20 -2 0 Z"/>
|
||||
<path d="M4 0 C8 -18 16 -34 28 -46 C18 -30 10 -16 8 0 Z"/>
|
||||
<path d="M6 0 C14 -12 24 -22 36 -26 C26 -18 16 -8 10 0 Z"/>
|
||||
<path d="M-2 0 C-10 -10 -22 -18 -36 -20 C-22 -14 -12 -6 -6 0 Z"/>
|
||||
</g>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M10 104 C200 66 400 64 600 88 C690 98 750 104 800 100 C850 96 910 88 1000 88 C1200 88 1400 112 1590 74 C1420 128 1220 120 1000 108 C910 104 850 112 800 114 C750 116 690 114 600 106 C400 84 200 88 10 104 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M60 122 C240 100 420 102 600 118 C690 126 750 128 800 126 C850 124 910 116 1000 116 C1180 116 1360 134 1540 110 C1380 142 1200 140 1000 130 C910 126 850 134 800 136 C750 138 690 136 600 130 C420 116 240 114 60 122 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 50" role="presentation" aria-hidden="true">
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M8 26 Q20 12 32 24 Q46 6 62 16 M70 40 Q78 32 86 40 Q94 30 104 36 M88 14 Q93 9 98 14 Q103 8 110 11"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 332 B |
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 60" role="presentation" aria-hidden="true">
|
||||
<path fill="var(--brand-sun, #F2C27A)" stroke="var(--brand-navy, #0B2E55)" stroke-width="2.5" stroke-linejoin="round" d="M60 52 L20 30 C24 14 40 6 60 6 C80 6 96 14 100 30 Z"/>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="2" stroke-linecap="round" d="M60 52 L32 16 M60 52 L46 9 M60 52 V6 M60 52 L74 9 M60 52 L88 16"/>
|
||||
<path fill="var(--brand-navy, #0B2E55)" d="M50 50 H70 L66 58 H54 Z"/>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="2.5" stroke-linecap="round" d="M2 44 H34 M86 44 H118"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 650 B |
@@ -0,0 +1,27 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 180" role="img" aria-label="Bäderbahn Molli">
|
||||
<title>Bäderbahn Molli</title>
|
||||
<g fill="var(--brand-wave, #6DBFC2)">
|
||||
<circle cx="66" cy="54" r="14"/><circle cx="84" cy="44" r="16"/><circle cx="104" cy="40" r="13"/><circle cx="120" cy="34" r="11"/><circle cx="80" cy="60" r="10"/>
|
||||
</g>
|
||||
<g fill="var(--brand-navy, #0B2E55)">
|
||||
<path d="M58 62 H74 L72 70 V92 H60 V70 Z"/>
|
||||
<rect x="44" y="90" width="66" height="30" rx="8"/>
|
||||
<rect x="104" y="76" width="34" height="44" rx="2"/>
|
||||
<rect x="100" y="72" width="42" height="6" rx="2"/>
|
||||
<rect x="80" y="82" width="10" height="10" rx="5"/>
|
||||
</g>
|
||||
<rect x="112" y="84" width="18" height="14" fill="var(--brand-paper, #F6F1E4)"/>
|
||||
<rect x="40" y="118" width="102" height="8" fill="var(--brand-brick, #A63A2B)"/>
|
||||
<g fill="var(--brand-paper, #F6F1E4)" stroke="var(--brand-navy, #0B2E55)" stroke-width="2.5">
|
||||
<rect x="146" y="86" width="74" height="34" rx="3"/>
|
||||
</g>
|
||||
<rect x="146" y="108" width="74" height="12" fill="var(--brand-brick, #A63A2B)"/>
|
||||
<path fill="var(--brand-navy, #0B2E55)" d="M142 82 H224 V88 H142 Z M154 92 H166 V102 H154 Z M172 92 H184 V102 H172 Z M190 92 H202 V102 H190 Z M206 92 H216 V102 H206 Z"/>
|
||||
<g fill="var(--brand-brick, #A63A2B)" stroke="var(--brand-navy, #0B2E55)" stroke-width="3">
|
||||
<circle cx="60" cy="132" r="9"/><circle cx="84" cy="132" r="9"/><circle cx="108" cy="132" r="9"/>
|
||||
<circle cx="160" cy="128" r="6"/><circle cx="206" cy="128" r="6"/>
|
||||
</g>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round" d="M60 132 H108 M24 142 H228"/>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M6 156 C50 136 98 132 142 142 C178 150 208 150 234 140 C216 160 182 168 142 164 C102 160 62 150 6 156 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M22 170 C62 158 106 160 142 168 C174 176 202 174 228 166 C208 178 174 180 138 176 C102 172 66 166 22 170 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,21 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 180" role="img" aria-label="Mit dem Rad an der Küste">
|
||||
<title>Mit dem Rad an der Küste</title>
|
||||
<defs><clipPath id="rad-horizon"><rect x="120" y="20" width="110" height="88"/></clipPath></defs>
|
||||
<circle cx="172" cy="104" r="40" fill="var(--brand-sun, #F2C27A)" clip-path="url(#rad-horizon)"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M118 108 H234 V118 H118 Z"/>
|
||||
<path fill="var(--brand-navy, #0B2E55)" d="M200 92 H205 V122 H200 Z M212 96 H217 V122 H212 Z"/>
|
||||
<path fill="var(--brand-sun, #F2C27A)" opacity="0.55" d="M8 150 C60 128 110 120 160 124 C190 126 214 132 234 140 V150 Z"/>
|
||||
<g fill="var(--brand-reed, #C9A15E)" transform="translate(26 138)">
|
||||
<path d="M0 0 C-4 -16 -10 -30 -22 -40 C-12 -28 -6 -14 -4 0 Z"/>
|
||||
<path d="M2 0 C2 -18 0 -34 -6 -50 C0 -32 0 -16 -2 0 Z"/>
|
||||
<path d="M4 0 C8 -14 14 -26 24 -36 C16 -24 10 -12 8 0 Z"/>
|
||||
</g>
|
||||
<g fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="5" stroke-linecap="round" stroke-linejoin="round">
|
||||
<circle cx="76" cy="116" r="22"/>
|
||||
<circle cx="146" cy="116" r="22"/>
|
||||
<path d="M76 116 L100 88 L134 88 L146 116 M100 88 L112 116 L76 116 M112 116 L134 88 M94 78 L108 78 M134 88 L130 74 L142 72"/>
|
||||
</g>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round" d="M150 48 Q158 40 166 48 Q174 38 184 44"/>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M6 158 C50 140 98 136 142 146 C178 154 208 154 234 144 C216 164 182 170 142 166 C102 162 62 152 6 158 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M22 172 C62 160 106 162 142 170 C174 178 202 176 228 168 C208 178 174 180 138 178 C102 174 66 168 22 172 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,22 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 180" role="img" aria-label="Seebrücke">
|
||||
<title>Seebrücke</title>
|
||||
<defs><clipPath id="pier-horizon"><rect x="60" y="20" width="140" height="106"/></clipPath></defs>
|
||||
<circle cx="128" cy="122" r="52" fill="var(--brand-sun, #F2C27A)" clip-path="url(#pier-horizon)"/>
|
||||
<g fill="var(--brand-navy, #0B2E55)">
|
||||
<rect x="22" y="114" width="196" height="7" rx="1"/>
|
||||
<rect x="22" y="100" width="150" height="3"/>
|
||||
<path d="M30 100 V114 M48 100 V114 M66 100 V114 M84 100 V114 M102 100 V114 M120 100 V114 M138 100 V114 M156 100 V114" stroke="var(--brand-navy, #0B2E55)" stroke-width="2.5"/>
|
||||
<path d="M34 121 H40 V146 H34 Z M64 121 H70 V146 H64 Z M94 121 H100 V146 H94 Z M124 121 H130 V146 H124 Z M154 121 H160 V146 H154 Z M184 121 H190 V146 H184 Z M206 121 H212 V146 H206 Z"/>
|
||||
<rect x="176" y="92" width="38" height="22"/>
|
||||
<path d="M170 94 L195 72 L220 94 Z"/>
|
||||
<path d="M193 72 L195 56 L197 72 Z"/>
|
||||
<rect x="58" y="74" width="2.5" height="26"/>
|
||||
<path d="M60.5 74 L74 78 L60.5 82 Z"/>
|
||||
<rect x="148" y="78" width="2.5" height="22"/>
|
||||
<path d="M150.5 78 L162 82 L150.5 86 Z"/>
|
||||
</g>
|
||||
<path fill="var(--brand-paper, #F6F1E4)" d="M182 98 H190 V108 H182 Z M200 98 H208 V108 H200 Z"/>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round" d="M34 50 Q42 42 50 50 Q58 40 68 46"/>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M6 152 C50 124 98 118 142 132 C178 144 208 142 234 128 C216 154 182 166 142 160 C102 154 62 140 6 152 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M22 168 C62 150 106 152 142 164 C174 174 202 172 228 160 C208 176 174 180 138 174 C102 168 66 160 22 168 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,15 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 180" role="img" aria-label="Strand mit Sonne">
|
||||
<title>Strand mit Sonne</title>
|
||||
<defs><clipPath id="strand-horizon"><rect x="90" y="30" width="140" height="102"/></clipPath></defs>
|
||||
<circle cx="150" cy="128" r="50" fill="var(--brand-sun, #F2C27A)" clip-path="url(#strand-horizon)"/>
|
||||
<path fill="var(--brand-sun, #F2C27A)" d="M112 138 H188 A3 3 0 0 1 188 144 H112 A3 3 0 0 1 112 138 Z M128 150 H172 A3 3 0 0 1 172 156 H128 A3 3 0 0 1 128 150 Z"/>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round" d="M156 54 Q164 46 172 54 Q180 44 190 50 M180 76 Q185 71 190 76 Q195 70 201 73"/>
|
||||
<g fill="var(--brand-reed, #C9A15E)" transform="translate(46 150) scale(1.5)">
|
||||
<path d="M0 0 C-4 -20 -14 -38 -30 -50 C-18 -34 -10 -18 -4 0 Z"/>
|
||||
<path d="M2 0 C2 -22 -2 -42 -12 -62 C-4 -40 -2 -20 -2 0 Z"/>
|
||||
<path d="M4 0 C8 -18 16 -34 28 -46 C18 -30 10 -16 8 0 Z"/>
|
||||
<path d="M6 0 C14 -12 24 -22 36 -26 C26 -18 16 -8 10 0 Z"/>
|
||||
</g>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M6 152 C50 120 98 114 142 130 C178 143 208 142 234 126 C216 154 182 166 142 160 C102 154 62 140 6 152 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M22 168 C62 150 106 152 142 164 C174 174 202 172 228 160 C208 176 174 180 138 174 C102 168 66 160 22 168 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,24 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 180" role="img" aria-label="Küstenwald">
|
||||
<title>Küstenwald</title>
|
||||
<defs><clipPath id="wald-horizon"><rect x="140" y="40" width="96" height="84"/></clipPath></defs>
|
||||
<circle cx="190" cy="120" r="38" fill="var(--brand-sun, #F2C27A)" clip-path="url(#wald-horizon)"/>
|
||||
<g fill="var(--brand-navy, #0B2E55)">
|
||||
<path d="M58 140 L62 70 L66 140 Z"/>
|
||||
<path d="M92 140 L95 56 L99 140 Z"/>
|
||||
<path d="M124 140 L127 76 L131 140 Z"/>
|
||||
<path d="M150 140 L152 92 L155 140 Z"/>
|
||||
<path d="M95 92 L78 80 M95 80 L112 70 M62 96 L48 88 M127 100 L142 90" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round"/>
|
||||
</g>
|
||||
<g fill="var(--brand-teal, #0286A2)">
|
||||
<ellipse cx="62" cy="70" rx="26" ry="16"/><ellipse cx="44" cy="84" rx="18" ry="11"/>
|
||||
<ellipse cx="96" cy="52" rx="30" ry="18"/><ellipse cx="120" cy="66" rx="20" ry="12"/>
|
||||
<ellipse cx="128" cy="78" rx="24" ry="14"/><ellipse cx="152" cy="92" rx="16" ry="10"/>
|
||||
</g>
|
||||
<g fill="var(--brand-navy, #0B2E55)" opacity="0.85">
|
||||
<ellipse cx="74" cy="62" rx="16" ry="10"/><ellipse cx="104" cy="44" rx="16" ry="9"/><ellipse cx="136" cy="72" rx="12" ry="8"/>
|
||||
</g>
|
||||
<path fill="var(--brand-reed, #C9A15E)" d="M30 140 C60 132 140 130 200 136 C214 138 226 140 234 142 V146 H30 Z"/>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linecap="round" d="M196 70 Q202 64 208 70 Q214 62 222 66"/>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M6 158 C50 140 98 136 142 146 C178 154 208 154 234 144 C216 164 182 170 142 166 C102 162 62 152 6 158 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M22 172 C62 160 106 162 142 170 C174 178 202 176 228 168 C208 178 174 180 138 178 C102 174 66 168 22 172 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,45 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 200" role="img" aria-label="Villa an der Ostsee">
|
||||
<title>Villa an der Ostsee</title>
|
||||
<defs><clipPath id="villa-horizon"><rect x="150" y="60" width="90" height="98"/></clipPath></defs>
|
||||
<circle cx="196" cy="140" r="38" fill="var(--brand-sun, #F2C27A)" clip-path="url(#villa-horizon)"/>
|
||||
<g stroke="var(--brand-navy, #0B2E55)" stroke-width="3" stroke-linejoin="round">
|
||||
<rect x="34" y="98" width="72" height="66" fill="var(--brand-paper, #F6F1E4)"/>
|
||||
<path d="M22 102 L70 54 L118 102 Z" fill="var(--brand-navy, #0B2E55)"/>
|
||||
<path d="M42 98 L70 70 L98 98 Z" fill="var(--brand-paper, #F6F1E4)"/>
|
||||
<rect x="104" y="98" width="96" height="66" fill="var(--brand-paper, #F6F1E4)"/>
|
||||
<path d="M96 102 L116 72 L188 72 L208 102 Z" fill="var(--brand-navy, #0B2E55)"/>
|
||||
<path d="M134 74 V54 H166 V74 Z" fill="var(--brand-paper, #F6F1E4)"/>
|
||||
<path d="M128 56 L150 10 L172 56 Z" fill="var(--brand-navy, #0B2E55)"/>
|
||||
<path d="M168 88 L186 66 L204 88 Z" fill="var(--brand-paper, #F6F1E4)"/>
|
||||
</g>
|
||||
<g fill="var(--brand-navy, #0B2E55)">
|
||||
<circle cx="186" cy="80" r="4"/>
|
||||
<rect x="144" y="60" width="12" height="10" rx="1"/>
|
||||
<path d="M62 92 V84 A8 8 0 0 1 78 84 V92 Z"/>
|
||||
<rect x="48" y="108" width="20" height="22"/>
|
||||
<rect x="74" y="108" width="20" height="22"/>
|
||||
<rect x="44" y="138" width="16" height="26"/>
|
||||
<rect x="68" y="138" width="28" height="18"/>
|
||||
<path d="M112 134 V114 A12 12 0 0 1 136 114 V134 Z"/>
|
||||
<path d="M140 134 V114 A12 12 0 0 1 164 114 V134 Z"/>
|
||||
<path d="M168 134 V114 A12 12 0 0 1 192 114 V134 Z"/>
|
||||
<path d="M116 164 V150 A8 8 0 0 1 132 150 V164 Z"/>
|
||||
<path d="M144 164 V150 A8 8 0 0 1 160 150 V164 Z"/>
|
||||
<path d="M172 164 V150 A8 8 0 0 1 188 150 V164 Z"/>
|
||||
</g>
|
||||
<g fill="none" stroke="var(--brand-paper, #F6F1E4)" stroke-width="2">
|
||||
<path d="M58 108 V130 M48 119 H68 M84 108 V130 M74 119 H94 M82 138 V156"/>
|
||||
</g>
|
||||
<g fill="var(--brand-paper, #F6F1E4)" stroke="var(--brand-navy, #0B2E55)" stroke-width="2">
|
||||
<rect x="108" y="124" width="88" height="10"/>
|
||||
</g>
|
||||
<path fill="none" stroke="var(--brand-navy, #0B2E55)" stroke-width="2" d="M116 124 V134 M124 124 V134 M132 124 V134 M140 124 V134 M148 124 V134 M156 124 V134 M164 124 V134 M172 124 V134 M180 124 V134 M188 124 V134"/>
|
||||
<g fill="var(--brand-reed, #C9A15E)" transform="translate(208 170) scale(1.3)">
|
||||
<path d="M0 0 C-4 -20 -14 -38 -30 -50 C-18 -34 -10 -18 -4 0 Z"/>
|
||||
<path d="M2 0 C2 -22 -2 -42 -12 -62 C-4 -40 -2 -20 -2 0 Z"/>
|
||||
<path d="M4 0 C8 -18 16 -34 28 -46 C18 -30 10 -16 8 0 Z"/>
|
||||
<path d="M6 0 C14 -12 24 -22 36 -26 C26 -18 16 -8 10 0 Z"/>
|
||||
</g>
|
||||
<path fill="var(--brand-teal, #0286A2)" d="M6 176 C50 150 98 146 142 160 C178 171 208 170 234 156 C216 182 182 192 142 186 C102 180 62 166 6 176 Z"/>
|
||||
<path fill="var(--brand-wave, #6DBFC2)" d="M22 190 C62 174 106 176 142 188 C174 198 202 196 228 184 C208 200 174 204 138 198 C102 192 66 184 22 190 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,125 @@
|
||||
/*
|
||||
* Theme „Seebad“ – Child von „ostsee-licht“ (Anleitung: docs/THEME-ERSTELLUNG.md, Konzept: docs/DESIGN-KONZEPT.md, Richtung A).
|
||||
* theme-base.css des Eltern-Themes bringt Token-Mapping, Formular-Grundstile und Basis-Klassen; hier stehen nur Abweichungen.
|
||||
*/
|
||||
@import 'tailwindcss';
|
||||
@import '../ostsee-licht/theme-base.css';
|
||||
|
||||
/* Selbst gehostete Schriften: Newsreader (Überschriften, Zitate), Atkinson Hyperlegible Next (Text, Bedienung). */
|
||||
@import '@fontsource/newsreader/400.css';
|
||||
@import '@fontsource/newsreader/400-italic.css';
|
||||
@import '@fontsource/newsreader/500.css';
|
||||
@import '@fontsource/atkinson-hyperlegible-next/400.css';
|
||||
@import '@fontsource/atkinson-hyperlegible-next/600.css';
|
||||
|
||||
/* Vorlagen, deren Klassen gebaut werden: geerbte, Buchungsformulare, eigene. */
|
||||
@source '../ostsee-licht/views';
|
||||
@source '../../views/livewire';
|
||||
@source './views';
|
||||
|
||||
@theme inline {
|
||||
--font-display: 'Newsreader', Georgia, serif;
|
||||
--font-sans: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
* Bildwelt „Ostsee“ (motifs/*.svg, inline über partials/motif): Navy folgt der Textfarbe, damit die Grafiken in
|
||||
* dunklen Erscheinungsbildern sichtbar bleiben; die Fassade folgt den Flächen.
|
||||
*/
|
||||
:root {
|
||||
--brand-navy: var(--ink);
|
||||
--brand-paper: var(--surface);
|
||||
--brand-reed: #c9a15e;
|
||||
--brand-brick: #a63a2b;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
body {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
@media (min-width: 64rem) {
|
||||
body {
|
||||
font-size: 1.1875rem;
|
||||
}
|
||||
}
|
||||
|
||||
input:not([type='checkbox']):not([type='radio']),
|
||||
select,
|
||||
textarea {
|
||||
min-height: 3rem;
|
||||
border-color: var(--muted);
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
/* Kleine Überschrift in normaler Schreibweise statt gesperrter Großbuchstaben (besser lesbar). */
|
||||
.eyebrow {
|
||||
@apply mb-3 text-base font-semibold tracking-normal text-accent normal-case;
|
||||
}
|
||||
|
||||
.heading-display {
|
||||
@apply font-display text-[2.375rem] leading-[1.1] font-normal tracking-[-0.01em] sm:text-5xl;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
@apply inline-flex min-h-12 items-center justify-center rounded-md bg-ink px-6 py-3 text-base font-semibold text-ground transition hover:opacity-90;
|
||||
}
|
||||
|
||||
.btn-accent {
|
||||
@apply inline-flex min-h-12 items-center justify-center rounded-md bg-accent px-6 py-3 text-base font-semibold text-accent-ink transition hover:opacity-90;
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
@apply inline-flex min-h-12 items-center justify-center rounded-md border-2 border-current px-6 py-3 text-base font-semibold transition hover:bg-ink/5;
|
||||
}
|
||||
|
||||
.prose-theme {
|
||||
@apply max-w-[68ch];
|
||||
}
|
||||
|
||||
/* Titelbild mit Bogen (Fensterbogen der Bäderarchitektur) – bewusst nur hier eingesetzt. */
|
||||
.arch {
|
||||
border-radius: 50% 50% 0.25rem 0.25rem / 7.5rem 7.5rem 0.25rem 0.25rem;
|
||||
}
|
||||
|
||||
@media (min-width: 64rem) {
|
||||
.arch {
|
||||
border-radius: 50% 50% 0.25rem 0.25rem / 11rem 11rem 0.25rem 0.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Kartusche: Doppelrahmen mit Muschel als Kopf. */
|
||||
.cartouche {
|
||||
@apply relative border-2 border-ink bg-surface outline outline-1 -outline-offset-[10px] outline-[var(--brand-reed)];
|
||||
}
|
||||
}
|
||||
|
||||
/* Ruhige Bewegung der Bildwelt – nur ohne „Bewegung reduzieren“. */
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.motif-drift {
|
||||
animation: motif-drift 16s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
.motif-glide {
|
||||
animation: motif-glide 22s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes motif-drift {
|
||||
from {
|
||||
transform: translateX(-1.5rem);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translateX(1.5rem);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes motif-glide {
|
||||
50% {
|
||||
transform: translate(2.5rem, -0.6rem);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* Theme „Seebad“: übernimmt Lightbox, Verfügbarkeitssuche und rollierende Angebote vom Eltern-Theme.
|
||||
* Eigene Verbesserungen darunter – alles muss auch ohne JavaScript funktionieren.
|
||||
*/
|
||||
import '../ostsee-licht/theme.js';
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"key": "seebad",
|
||||
"name": "Seebad",
|
||||
"version": "0.1.0",
|
||||
"parent": "ostsee-licht",
|
||||
"description": "Ruhiges Magazin für Paare: große, gut lesbare Schrift, Titelbild mit Bogen, Bildwelt Ostsee (Villa, Seebrücke, Molli)",
|
||||
"assets": {
|
||||
"css": "resources/themes/seebad/theme.css",
|
||||
"js": "resources/themes/seebad/theme.js"
|
||||
},
|
||||
"tokens": {
|
||||
"ground": {
|
||||
"label": "Hintergrund",
|
||||
"default": "#F7F8F6"
|
||||
},
|
||||
"surface": {
|
||||
"label": "Flächen (Karten, Formulare)",
|
||||
"default": "#FFFFFF"
|
||||
},
|
||||
"ink": {
|
||||
"label": "Text",
|
||||
"default": "#1F2B38"
|
||||
},
|
||||
"muted": {
|
||||
"label": "Text, gedämpft",
|
||||
"default": "#4F5B66"
|
||||
},
|
||||
"line": {
|
||||
"label": "Linien",
|
||||
"default": "#D9DDDF"
|
||||
},
|
||||
"accent": {
|
||||
"label": "Akzent (Buttons, Hervorhebungen)",
|
||||
"default": "#9A3B2E"
|
||||
},
|
||||
"accent-ink": {
|
||||
"label": "Text auf Akzent",
|
||||
"default": "#FFFFFF"
|
||||
},
|
||||
"band": {
|
||||
"label": "Dunkles Band (Zitat, Menü auf dem Handy)",
|
||||
"default": "#23384A"
|
||||
},
|
||||
"band-ink": {
|
||||
"label": "Text auf dunklem Band",
|
||||
"default": "#F7F8F6"
|
||||
},
|
||||
"band-muted": {
|
||||
"label": "Text auf dunklem Band, gedämpft",
|
||||
"default": "#BCC8D2"
|
||||
},
|
||||
"banner": {
|
||||
"label": "Hinweis-Banner",
|
||||
"default": "#23384A"
|
||||
},
|
||||
"banner-ink": {
|
||||
"label": "Text im Banner",
|
||||
"default": "#F7F8F6"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
@php
|
||||
/** @var \App\Themes\Theme $theme */
|
||||
$theme = app(\App\Themes\Theme::class);
|
||||
$pageTitle = isset($title) && $title ? $title.' · '.$theme->site->name : $theme->site->name;
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ $theme->site->locale ?? 'de' }}" data-appearance="{{ $theme->appearanceKey() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ $pageTitle }}</title>
|
||||
@isset($description)
|
||||
<meta name="description" content="{{ $description }}">
|
||||
<meta property="og:description" content="{{ $description }}">
|
||||
@endisset
|
||||
<meta property="og:title" content="{{ $pageTitle }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ url()->current() }}">
|
||||
@isset($ogImage)
|
||||
<meta property="og:image" content="{{ $ogImage }}">
|
||||
@endisset
|
||||
<link rel="canonical" href="{{ url()->current() }}">
|
||||
<link rel="icon" href="{{ asset('brand/favicon.svg') }}" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="{{ asset('brand/apple-touch-icon.png') }}">
|
||||
@if ($theme->isPreview || ! app()->isProduction())
|
||||
<meta name="robots" content="noindex">
|
||||
@endif
|
||||
@vite($theme->assets())
|
||||
<style>{!! $theme->cssVariables() !!}</style>
|
||||
@livewireStyles
|
||||
@stack('head')
|
||||
</head>
|
||||
<body class="min-h-screen overflow-x-hidden font-sans antialiased">
|
||||
<a href="#inhalt" class="sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:rounded focus:bg-surface focus:px-4 focus:py-2">Zum Inhalt springen</a>
|
||||
|
||||
@if ($theme->isPreview)
|
||||
<div class="bg-ink py-2 text-center text-sm text-ground">Vorschau · Theme „{{ $theme->manifest()->name }}“ · Erscheinungsbild „{{ $theme->appearance?->name ?? 'Standard' }}“</div>
|
||||
@endif
|
||||
|
||||
@include('theme::partials.banner')
|
||||
@include('theme::partials.header')
|
||||
|
||||
<main id="inhalt">
|
||||
@yield('content')
|
||||
</main>
|
||||
|
||||
@include('theme::partials.footer')
|
||||
@include('theme::partials.mobile-booking-bar')
|
||||
|
||||
<dialog id="lightbox" class="m-auto max-h-[92vh] max-w-[92vw] bg-transparent p-0 backdrop:bg-black/80" aria-label="Bild vergrößert">
|
||||
<figure class="relative">
|
||||
<img src="" alt="" class="max-h-[85vh] max-w-[92vw] object-contain">
|
||||
<figcaption data-caption class="mt-2 text-center text-base text-white"></figcaption>
|
||||
<button type="button" data-close class="absolute top-2 right-2 min-h-11 min-w-11 rounded-full bg-black/60 px-3 text-white" aria-label="Schließen">✕</button>
|
||||
</figure>
|
||||
</dialog>
|
||||
|
||||
@livewireScripts
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
@php($bannerText = $theme->text('banner.text', \App\Models\Notice::query()->visible()->latest()->value('text')))
|
||||
@if ($bannerText)
|
||||
<div class="bg-banner text-banner-ink [--brand-navy:var(--banner-ink)]" role="status">
|
||||
<div class="mx-auto flex max-w-7xl flex-wrap items-center justify-center gap-x-5 gap-y-1 px-4 py-2.5 text-center text-base sm:px-8">
|
||||
@include('theme::partials.motif', ['slot' => 'gulls', 'class' => 'hidden h-5 w-auto opacity-80 sm:block'])
|
||||
<span>{{ $bannerText }}</span>
|
||||
@if ($theme->text('banner.link_label'))
|
||||
<a href="{{ $theme->text('banner.link_url', route('booking.create')) }}" class="font-semibold underline underline-offset-4">{{ $theme->text('banner.link_label') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@@ -0,0 +1,27 @@
|
||||
@php($phone = (string) config('fewo.owner.phone'))
|
||||
<div class="mt-20 overflow-hidden" aria-hidden="true">
|
||||
@include('theme::partials.motif', ['slot' => 'closing', 'class' => 'motif-drift -ml-[50%] block h-auto w-[200%] max-w-none sm:mx-auto sm:w-full sm:max-w-6xl'])
|
||||
</div>
|
||||
<footer class="border-t border-line">
|
||||
<div class="mx-auto flex max-w-7xl flex-wrap items-start justify-between gap-x-16 gap-y-8 px-4 py-14 sm:px-8">
|
||||
<div class="flex items-center gap-4">
|
||||
@include('theme::partials.motif', ['slot' => 'mark', 'class' => 'h-14 w-auto shrink-0'])
|
||||
<div>
|
||||
<p class="font-display text-2xl">{{ $theme->site->name }}</p>
|
||||
@if ($theme->property()?->address)<p class="text-muted">{{ $theme->property()->address }}</p>@endif
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p>{{ config('fewo.owner.name') }}</p>
|
||||
@if ($phone)<a href="tel:{{ preg_replace('/[^0-9+]/', '', $phone) }}" class="block hover:text-accent">{{ $phone }}</a>@endif
|
||||
<a href="mailto:{{ config('fewo.owner.email') }}" class="block hover:text-accent">{{ config('fewo.owner.email') }}</a>
|
||||
</div>
|
||||
<nav aria-label="Rechtliches">
|
||||
<ul class="flex flex-wrap gap-6">
|
||||
@foreach ($theme->menu('footer') as $item)
|
||||
<li><a href="{{ $item->url() }}" class="underline-offset-4 hover:underline">{{ $item->label() }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -0,0 +1,51 @@
|
||||
@php($phone = (string) config('fewo.owner.phone'))
|
||||
<header class="relative z-20">
|
||||
<div class="mx-auto flex max-w-7xl items-center justify-between gap-6 px-4 py-4 sm:px-8 lg:py-5">
|
||||
<a href="{{ route('home') }}" class="flex min-w-0 items-center gap-3" aria-label="{{ $theme->site->name }} – Startseite">
|
||||
@include('theme::partials.motif', ['slot' => 'mark', 'class' => 'h-11 w-auto shrink-0 lg:h-14'])
|
||||
<span class="font-display text-[1.375rem] leading-tight font-medium sm:text-[1.75rem] xl:whitespace-nowrap">{{ $theme->site->name }}</span>
|
||||
</a>
|
||||
|
||||
<nav aria-label="Hauptnavigation" class="hidden lg:block">
|
||||
<ul class="flex gap-6 text-lg whitespace-nowrap xl:gap-7">
|
||||
@foreach ($theme->menu('main') as $item)
|
||||
<li><a href="{{ $item->url() }}" @class(['underline-offset-8 hover:underline', 'underline decoration-accent decoration-2' => url()->current() === $item->url()]) @if (url()->current() === $item->url()) aria-current="page" @endif>{{ $item->label() }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="flex items-center gap-2 sm:gap-4">
|
||||
@if ($phone)
|
||||
<a href="tel:{{ preg_replace('/[^0-9+]/', '', $phone) }}" class="hidden items-center gap-2 font-semibold whitespace-nowrap hover:text-accent 2xl:flex">
|
||||
<x-heroicon-o-phone class="size-5" aria-hidden="true" />{{ $phone }}
|
||||
</a>
|
||||
@endif
|
||||
<a href="{{ route('booking.create') }}" class="btn-accent hidden whitespace-nowrap sm:inline-flex">Verfügbarkeit prüfen</a>
|
||||
|
||||
<details class="group lg:hidden">
|
||||
<summary class="flex size-12 cursor-pointer list-none items-center justify-center rounded-md border border-line bg-surface [&::-webkit-details-marker]:hidden" aria-label="Menü">
|
||||
<x-heroicon-o-bars-3 class="size-6 group-open:hidden" aria-hidden="true" />
|
||||
<x-heroicon-o-x-mark class="hidden size-6 group-open:block" aria-hidden="true" />
|
||||
</summary>
|
||||
<div class="absolute inset-x-0 top-full overflow-hidden bg-band text-band-ink shadow-lg [--brand-navy:var(--band-ink)]">
|
||||
<ul class="px-5 pt-2">
|
||||
@foreach ($theme->menu('main') as $item)
|
||||
<li class="border-b border-band-muted/30 last:border-0"><a href="{{ $item->url() }}" class="block py-3.5 font-display text-[1.75rem]">{{ $item->label() }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<div class="flex flex-col gap-3 px-5 py-4">
|
||||
<a href="{{ route('booking.create') }}" class="inline-flex min-h-12 items-center justify-center rounded-md bg-band-ink px-6 font-semibold text-band">Verfügbarkeit prüfen</a>
|
||||
@if ($phone)
|
||||
<a href="tel:{{ preg_replace('/[^0-9+]/', '', $phone) }}" class="inline-flex min-h-12 items-center justify-center gap-2 rounded-md border-2 border-band-ink px-6 font-semibold">
|
||||
<x-heroicon-o-phone class="size-5" aria-hidden="true" />Anrufen: {{ $phone }}
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="bg-ground pt-1" aria-hidden="true">
|
||||
@include('theme::partials.motif', ['slot' => 'closing', 'class' => 'motif-drift -ml-[45%] block h-auto w-[150%] max-w-none'])
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
@@ -0,0 +1,12 @@
|
||||
@unless (request()->routeIs('booking.create'))
|
||||
@php($phone = (string) config('fewo.owner.phone'))
|
||||
<div class="fixed inset-x-0 bottom-0 z-30 flex gap-3 border-t border-line bg-surface/95 p-3 backdrop-blur sm:hidden">
|
||||
<a href="{{ route('booking.create') }}" class="btn-accent flex-1">Verfügbarkeit prüfen</a>
|
||||
@if ($phone)
|
||||
<a href="tel:{{ preg_replace('/[^0-9+]/', '', $phone) }}" class="flex size-12 shrink-0 items-center justify-center rounded-md border-2 border-ink" aria-label="Anrufen: {{ $phone }}">
|
||||
<x-heroicon-o-phone class="size-6" aria-hidden="true" />
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="h-20 sm:hidden" aria-hidden="true"></div>
|
||||
@endunless
|
||||
@@ -0,0 +1,30 @@
|
||||
{{--
|
||||
Inline graphic of the theme's picture world ("Bildwelt", docs/DESIGN-KONZEPT.md §7, MANDANTEN-ANFORDERUNGEN A18/A19).
|
||||
Templates ask for a slot, never for a file, so a later picture-world system can replace the mapping below.
|
||||
Variables: $slot (mark, divider, closing, crest, gulls, vignette.beach|pier|train|bike|forest), $class (optional),
|
||||
$label (optional; without it the graphic is decorative).
|
||||
--}}
|
||||
@php
|
||||
$motifFiles = [
|
||||
'mark' => 'villa',
|
||||
'divider' => 'band-sonne',
|
||||
'closing' => 'band-seebruecke',
|
||||
'crest' => 'muschel',
|
||||
'gulls' => 'moewen',
|
||||
'vignette.beach' => 'vignette-strand',
|
||||
'vignette.pier' => 'vignette-seebruecke',
|
||||
'vignette.train' => 'vignette-molli',
|
||||
'vignette.bike' => 'vignette-rad',
|
||||
'vignette.forest' => 'vignette-wald',
|
||||
];
|
||||
static $motifSvgs = [];
|
||||
$motifFile = $motifFiles[$slot] ?? null;
|
||||
$motifPath = $motifFile ? resource_path("themes/seebad/motifs/{$motifFile}.svg") : null;
|
||||
$motifSvgs[$slot] ??= $motifPath && is_file($motifPath) ? file_get_contents($motifPath) : '';
|
||||
$motifUid = 'm'.\Illuminate\Support\Str::lower(\Illuminate\Support\Str::random(6));
|
||||
$motifSvg = preg_replace(['/\s(role|aria-label|aria-hidden)="[^"]*"/', '/<title>.*?<\/title>/s'], '', $motifSvgs[$slot]);
|
||||
$motifSvg = preg_replace(['/id="([^"]+)"/', '/url\(#([^)]+)\)/'], ['id="$1-'.$motifUid.'"', 'url(#$1-'.$motifUid.')'], $motifSvg);
|
||||
$motifAttributes = 'class="'.e($class ?? '').'" '.(isset($label) ? 'role="img" aria-label="'.e($label).'"' : 'aria-hidden="true" focusable="false"');
|
||||
$motifSvg = preg_replace('/<svg\s/', '<svg '.$motifAttributes.' ', $motifSvg, 1);
|
||||
@endphp
|
||||
{!! $motifSvg !!}
|
||||
@@ -0,0 +1,15 @@
|
||||
<section class="mx-auto flex max-w-7xl flex-wrap items-center gap-x-14 gap-y-12 px-4 py-16 sm:px-8 sm:py-24" aria-labelledby="{{ $sectionId }}-title">
|
||||
@if ($photo)
|
||||
<div class="min-w-0 flex-[1_1_24rem]">
|
||||
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 45vw, 100vw', 'class' => 'h-72 w-full rounded object-cover sm:h-[26rem]'])
|
||||
</div>
|
||||
@endif
|
||||
<div @class(['cartouche min-w-0 flex-[1_1_24rem] px-6 pt-14 pb-10 text-center sm:px-12', 'mx-auto max-w-3xl' => ! $photo])>
|
||||
<span class="absolute -top-6 left-1/2 -translate-x-1/2 bg-ground px-2" aria-hidden="true">
|
||||
@include('theme::partials.motif', ['slot' => 'crest', 'class' => 'h-12 w-auto'])
|
||||
</span>
|
||||
<h2 id="{{ $sectionId }}-title" class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">{{ $title }}</h2>
|
||||
@if ($text)<p class="mx-auto mt-4 max-w-[40ch] text-muted">{{ $text }}</p>@endif
|
||||
<a href="{{ $buttonUrl }}" class="btn-accent mt-8">{{ $buttonLabel }}</a>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,17 @@
|
||||
<section class="mx-auto max-w-7xl px-4 pt-10 pb-8 sm:px-8 sm:pt-12" @if ($heading) aria-labelledby="{{ $sectionId }}-title" @else aria-label="Eckdaten" @endif>
|
||||
@if ($heading)<h2 id="{{ $sectionId }}-title" class="heading-display mb-8">{{ $heading }}</h2>@endif
|
||||
<dl class="grid grid-cols-2 gap-x-6 gap-y-8 lg:grid-cols-4">
|
||||
@if ($property?->size_sqm)
|
||||
<div class="flex flex-col-reverse"><dt class="text-muted">Wohnfläche</dt><dd class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">{{ $property->size_sqm }} m²</dd></div>
|
||||
@endif
|
||||
@if ($property)
|
||||
<div class="flex flex-col-reverse"><dt class="text-muted">Gäste</dt><dd class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">1 bis {{ $property->max_guests }}</dd></div>
|
||||
@endif
|
||||
@if ($fromPrice)
|
||||
<div class="flex flex-col-reverse"><dt class="text-muted">pro Nacht</dt><dd class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">ab {{ \App\Support\Money::format((int) $fromPrice) }}</dd></div>
|
||||
@endif
|
||||
@if ($highlights->isNotEmpty())
|
||||
<div class="col-span-2 flex flex-col-reverse lg:col-span-1"><dt class="text-muted">{{ $highlights->skip(1)->take(2)->implode(', ') }}</dt><dd class="font-display text-[1.625rem] leading-tight sm:text-[2rem]">{{ $highlights->first() }}</dd></div>
|
||||
@endif
|
||||
</dl>
|
||||
</section>
|
||||
@@ -0,0 +1,47 @@
|
||||
<section class="mx-auto flex max-w-7xl flex-wrap items-stretch gap-x-12 gap-y-7 px-4 pt-2 pb-6 sm:px-8" aria-labelledby="{{ $sectionId }}-title">
|
||||
<div class="min-w-0 flex-[999_1_34rem]">
|
||||
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 60vw, 100vw', 'class' => 'arch h-[21rem] w-full object-cover sm:h-[30rem] lg:h-[38rem]', 'eager' => true])
|
||||
</div>
|
||||
|
||||
<div class="flex min-w-0 flex-[1_1_24rem] flex-col justify-center gap-6">
|
||||
@if ($eyebrow)<p class="eyebrow mb-0">{{ $eyebrow }}</p>@endif
|
||||
<h1 id="{{ $sectionId }}-title" class="font-display text-[2.5rem] leading-[1.06] font-normal tracking-[-0.01em] sm:text-[3.25rem] lg:text-[3.75rem]">{{ str_replace('*', '', $title) }}</h1>
|
||||
@if ($text)<p class="max-w-[36ch] text-lg text-muted sm:text-xl">{{ $text }}</p>@endif
|
||||
|
||||
@if ($featuredOffer ?? null)
|
||||
<a href="{{ $featuredOffer->bookingUrl() }}" class="flex items-center gap-4 rounded-md border border-accent bg-surface p-4 hover:bg-accent/5">
|
||||
<span class="rounded bg-accent px-2.5 py-1 font-semibold whitespace-nowrap text-accent-ink">{{ $featuredOffer->advantage }}</span>
|
||||
<span>
|
||||
<strong class="block">{{ $featuredOffer->title }}</strong>
|
||||
@if ($featuredOffer->arrival)
|
||||
<span class="text-muted">{{ $featuredOffer->arrival->format('d.m.') }} bis {{ $featuredOffer->departure->format('d.m.') }}</span>
|
||||
@endif
|
||||
</span>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@if ($showSearch)
|
||||
<form action="{{ route('booking.create') }}" method="get" data-availability-search aria-label="Verfügbarkeit prüfen"
|
||||
class="grid grid-cols-2 items-end gap-3.5 rounded-md border border-line bg-surface p-4 sm:p-6">
|
||||
<label class="flex min-w-0 flex-col gap-1.5 text-base font-semibold">Anreise
|
||||
<input type="date" name="anreise" min="{{ today()->toDateString() }}" class="w-full min-w-0 font-normal" required>
|
||||
</label>
|
||||
<label class="flex min-w-0 flex-col gap-1.5 text-base font-semibold">Abreise
|
||||
<input type="date" name="abreise" min="{{ today()->addDay()->toDateString() }}" class="w-full min-w-0 font-normal" required>
|
||||
</label>
|
||||
<label class="col-span-2 flex min-w-0 flex-col gap-1.5 text-base font-semibold sm:col-span-1">Personen
|
||||
<select name="personen" class="w-full font-normal">
|
||||
@for ($count = 1; $count <= ($property?->max_guests ?? 3); $count++)
|
||||
<option value="{{ $count }}" @selected($count === 2)>{{ $count }} {{ $count === 1 ? 'Person' : 'Personen' }}</option>
|
||||
@endfor
|
||||
</select>
|
||||
</label>
|
||||
<button type="submit" class="btn-accent col-span-2 w-full sm:col-span-1">Preis anzeigen</button>
|
||||
</form>
|
||||
@endif
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="overflow-hidden" aria-hidden="true">
|
||||
@include('theme::partials.motif', ['slot' => 'divider', 'class' => 'motif-drift -ml-[40%] block h-auto w-[180%] max-w-none sm:mx-auto sm:w-full sm:max-w-7xl'])
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
<section class="relative overflow-hidden bg-band text-band-ink [--brand-navy:var(--band-ink)]" aria-labelledby="{{ $sectionId }}-title">
|
||||
@include('theme::partials.motif', ['slot' => 'gulls', 'class' => 'motif-glide absolute top-10 right-[8%] h-10 w-auto opacity-50 sm:h-12'])
|
||||
<div class="mx-auto flex max-w-6xl flex-wrap items-center gap-12 px-5 py-16 sm:px-8 sm:py-24">
|
||||
@if ($photo)
|
||||
<div class="w-full max-w-xs flex-[0_1_18rem]">
|
||||
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '18rem', 'class' => 'aspect-[4/5] w-full rounded object-cover'])
|
||||
</div>
|
||||
@endif
|
||||
<figure class="min-w-0 flex-[1_1_28rem]">
|
||||
@if ($heading)<p class="mb-4 font-semibold text-band-muted" id="{{ $sectionId }}-title">{{ $heading }}</p>@endif
|
||||
@if ($quote)<blockquote class="font-display text-[1.75rem] leading-[1.3] italic sm:text-[2.5rem]">„{{ $quote }}“</blockquote>@endif
|
||||
<figcaption class="mt-6 text-band-muted">{{ $name }}</figcaption>
|
||||
@if ($text)<div class="mt-4 max-w-[60ch] text-band-muted [&_a]:underline [&_p]:mb-3">{{ $text }}</div>@endif
|
||||
</figure>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,32 @@
|
||||
<section class="border-y border-line bg-surface" aria-labelledby="{{ $sectionId }}-title">
|
||||
<div class="mx-auto max-w-7xl px-4 py-16 sm:px-8 sm:py-24">
|
||||
<div class="flex flex-wrap items-end justify-between gap-x-16 gap-y-6">
|
||||
<div class="min-w-0 flex-[1_1_26rem]">
|
||||
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
|
||||
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
|
||||
</div>
|
||||
<div class="min-w-0 flex-[1_1_24rem]">
|
||||
@if ($text)<div class="prose-theme [&_p]:mb-3">{{ $text }}</div>@endif
|
||||
@if ($address)
|
||||
<p class="mt-3 flex items-start gap-3">
|
||||
<x-heroicon-o-map-pin class="mt-1 size-6 shrink-0 text-accent" aria-hidden="true" />
|
||||
<span>{{ $address }}<br>
|
||||
<a href="{{ $mapUrl }}" class="font-semibold underline underline-offset-4 hover:text-accent" rel="noopener" target="_blank">Auf der Karte ansehen</a></span>
|
||||
</p>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@if ($photos->isNotEmpty())
|
||||
<ul class="mt-12 grid grid-cols-1 gap-x-8 gap-y-10 sm:grid-cols-3">
|
||||
@foreach ($photos->take(3) as $photo)
|
||||
<li class="reveal">
|
||||
<figure>
|
||||
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 640px) 30vw, 100vw', 'class' => 'h-60 w-full rounded object-cover sm:h-72'])
|
||||
<figcaption class="mt-3 font-display text-[1.5rem] leading-snug">{{ $photo->caption ?: $photo->alt_text }}</figcaption>
|
||||
</figure>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,25 @@
|
||||
<section class="mx-auto flex max-w-7xl flex-wrap items-center gap-x-16 gap-y-10 px-4 py-16 sm:px-8 sm:py-24" aria-labelledby="{{ $sectionId }}-title">
|
||||
<div @class(['min-w-0 flex-[1_1_24rem]', 'order-2' => $imagePosition === 'left'])>
|
||||
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
|
||||
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
|
||||
@if ($text)<div class="prose-theme mt-6">{{ $text }}</div>@endif
|
||||
@if ($linkLabel && $linkUrl)
|
||||
<a href="{{ $linkUrl }}" class="mt-2 inline-block border-b-2 border-accent pb-0.5 font-semibold hover:text-accent">{{ $linkLabel }}</a>
|
||||
@endif
|
||||
</div>
|
||||
@if ($photos->isNotEmpty())
|
||||
<div @class(['reveal grid min-w-0 flex-[1_1_30rem] grid-cols-5 gap-4', 'order-1' => $imagePosition === 'left'])>
|
||||
@foreach ($photos as $index => $photo)
|
||||
@include('theme::partials.image', [
|
||||
'photo' => $photo,
|
||||
'sizes' => $index === 0 ? '(min-width: 1024px) 40vw, 100vw' : '(min-width: 1024px) 20vw, 50vw',
|
||||
'class' => match (true) {
|
||||
$photos->count() === 1 => 'col-span-5 h-80 w-full rounded object-cover sm:h-[30rem]',
|
||||
$index === 0 => 'col-span-3 row-span-2 h-80 w-full rounded object-cover sm:h-[30rem]',
|
||||
default => 'col-span-2 h-[9.6rem] w-full rounded object-cover sm:h-[14.5rem]',
|
||||
},
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</section>
|
||||