- Sites (Domain, Theme, Farben; mehrfähig für weitere Vermieter), Seiten aus Bausteinen mit Menüs, Erscheinungsbilder mit jährlichem Zeitplan, Priorität und signierter Vorschau - Theme-Kern (app/Themes): Manifest, Registry, Vererbung (Child-Themes), Token-Farben als CSS-Variablen, Bausteinkatalog als Registry (config/themes.php) - 15 Bausteine: Titelbereich mit Suche, Eckdaten, Text mit Bildern, Galerie, Ausstattung, Lage, Preise, Angebote, Kalender & Anfrage, Bewertungen, Gastgeber, FAQ, Abschluss, Kontakt, Fließtext - Theme Ostsee-Licht: Layout, Kopf/Fuß, Banner, mobile Buchungsleiste, Lightbox, selbst gehostete Schriften, Reduced Motion - Seiten Start, Wohnung, Kühlungsborn, Preise & Buchung, Kontakt, Impressum, Datenschutz; Sitemap, robots.txt, JSON-LD - Admin: Seiten-Baukasten, Erscheinungsbilder, Websites - Dokumentation docs/THEMES.md inkl. Übergabe für die Design-Sitzung Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
1.5 KiB
PHP
25 lines
1.5 KiB
PHP
<section class="bg-band text-band-ink" aria-labelledby="{{ $sectionId }}-title">
|
|
<div class="mx-auto flex max-w-7xl flex-wrap items-center gap-14 px-4 py-20 sm:px-8 sm:py-24">
|
|
<div class="min-w-0 flex-[1_1_22rem]">
|
|
@if ($eyebrow)<p class="mb-3 text-xs font-semibold tracking-[0.24em] text-band-muted uppercase">{{ $eyebrow }}</p>@endif
|
|
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
|
|
@if ($text)<div class="mt-6 text-band-muted [&_a]:underline [&_p]:mb-4">{{ $text }}</div>@endif
|
|
@if ($address)
|
|
<p class="mt-6 text-band-muted">{{ $address }}<br>
|
|
<a href="{{ $mapUrl }}" class="font-semibold text-band-ink underline" rel="noopener" target="_blank">Auf der Karte ansehen</a>
|
|
</p>
|
|
@endif
|
|
</div>
|
|
@if ($photos->isNotEmpty())
|
|
<div class="grid min-w-0 flex-[1_1_36rem] grid-cols-2 gap-4 sm:grid-cols-3">
|
|
@foreach ($photos->take(3) as $photo)
|
|
<figure class="reveal">
|
|
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 18vw, 45vw', 'class' => 'h-48 w-full rounded-sm object-cover sm:h-64'])
|
|
<figcaption class="mt-2 text-sm text-band-muted">{{ $photo->caption ?: $photo->alt_text }}</figcaption>
|
|
</figure>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</section>
|