- 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>
36 lines
2.4 KiB
PHP
36 lines
2.4 KiB
PHP
<section class="mx-auto flex max-w-7xl flex-wrap items-start gap-14 px-4 py-20 sm:px-8" aria-labelledby="{{ $sectionId }}-title">
|
||
<div class="min-w-0 flex-[1_1_22rem]">
|
||
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
|
||
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
|
||
@if ($text)<p class="mt-6 text-muted">{{ $text }}</p>@endif
|
||
@if ($property)
|
||
<p class="mt-4 text-sm text-muted">
|
||
Endreinigung & Service {{ \App\Support\Money::format($property->cleaning_fee) }} einmalig
|
||
@if ($property->extra_guest_fee_per_night) · ab der {{ $property->included_guests + 1 }}. Person {{ \App\Support\Money::format($property->extra_guest_fee_per_night) }} pro Nacht @endif
|
||
· Kurtaxe vor Ort.
|
||
</p>
|
||
@if ($extras->isNotEmpty())
|
||
<p class="mt-2 text-sm text-muted">Auf Wunsch: {{ $extras->map(fn ($extra) => $extra->name.' '.\App\Support\Money::format($extra->price))->implode(' · ') }}</p>
|
||
@endif
|
||
@endif
|
||
<a href="{{ route('booking.create') }}" class="btn-primary mt-8">Freie Termine & Gesamtpreis</a>
|
||
</div>
|
||
<div class="min-w-0 flex-[1_1_34rem]">
|
||
<table class="w-full text-left">
|
||
<caption class="sr-only">Preise pro Nacht nach Saison</caption>
|
||
<thead class="text-xs tracking-wider text-muted uppercase">
|
||
<tr><th scope="col" class="pb-2 font-medium">Saison</th><th scope="col" class="pb-2 font-medium">Zeitraum</th><th scope="col" class="pb-2 text-right font-medium">pro Nacht</th></tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach ($seasons as $season)
|
||
<tr @class(['border-t border-line', 'bg-accent/10' => $featuredSeason && str_contains(mb_strtolower($featuredSeason), mb_strtolower($season->name))])>
|
||
<th scope="row" class="py-3 pr-4 font-semibold">{{ $season->name }}<span class="block text-xs font-normal text-muted">ab {{ $season->min_nights }} Nächten</span></th>
|
||
<td class="py-3 pr-4 text-muted">{{ $season->starts_on->format('d.m.') }} – {{ $season->ends_on->format('d.m.Y') }}</td>
|
||
<td class="py-3 text-right font-display text-2xl">{{ \App\Support\Money::format($season->nightly_rate) }}</td>
|
||
</tr>
|
||
@endforeach
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</section>
|