- 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>
22 lines
1.4 KiB
PHP
22 lines
1.4 KiB
PHP
<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-20" aria-labelledby="{{ $sectionId }}-title">
|
|
<div @class(['min-w-0 flex-[1_1_26rem]', '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-4 inline-block border-b border-current 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_32rem] grid-cols-2 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' => $index === 0 && $photos->count() > 1 ? 'col-span-2 h-72 w-full rounded-sm object-cover sm:h-[26rem]' : ($photos->count() === 1 ? 'col-span-2 h-80 w-full rounded-sm object-cover sm:h-[28rem]' : 'h-44 w-full rounded-sm object-cover sm:h-56'),
|
|
])
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
</section>
|