- 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>
33 lines
2.2 KiB
PHP
33 lines
2.2 KiB
PHP
<section class="mx-auto max-w-[86rem] px-4" aria-labelledby="{{ $sectionId }}-title">
|
|
<div class="relative overflow-hidden rounded">
|
|
@include('theme::partials.image', ['photo' => $photo, 'class' => 'h-[30rem] w-full object-cover sm:h-[40rem]', 'eager' => true])
|
|
<div class="bg-ground p-7 sm:absolute sm:bottom-12 sm:left-12 sm:max-w-xl sm:p-11 sm:pb-9">
|
|
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
|
|
<h1 id="{{ $sectionId }}-title" class="font-display text-[2.5rem] leading-[1.02] font-medium sm:text-[3.5rem]">{!! preg_replace('/\*(.+?)\*/u', '<em>$1</em>', e($title)) !!}</h1>
|
|
@if ($text)<p class="mt-4 text-muted">{{ $text }}</p>@endif
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
@if ($showSearch)
|
|
<section class="relative mx-auto mt-4 max-w-5xl px-4 sm:-mt-11 sm:px-6" aria-label="Verfügbarkeit prüfen">
|
|
<form action="{{ route('booking.create') }}" method="get" data-availability-search
|
|
class="grid grid-cols-1 items-end gap-4 rounded bg-surface p-5 shadow-[0_18px_40px_rgba(0,0,0,0.10)] sm:grid-cols-2 lg:grid-cols-4">
|
|
<label class="flex flex-col gap-1.5 text-[13px] font-semibold text-muted">Anreise
|
|
<input type="date" name="anreise" min="{{ today()->toDateString() }}" class="rounded text-base font-medium" required>
|
|
</label>
|
|
<label class="flex flex-col gap-1.5 text-[13px] font-semibold text-muted">Abreise
|
|
<input type="date" name="abreise" min="{{ today()->addDay()->toDateString() }}" class="rounded text-base font-medium" required>
|
|
</label>
|
|
<label class="flex flex-col gap-1.5 text-[13px] font-semibold text-muted">Personen
|
|
<select name="personen" class="rounded text-base font-medium">
|
|
@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="min-h-12 rounded bg-accent px-5 font-semibold text-accent-ink hover:opacity-90">Preis berechnen</button>
|
|
</form>
|
|
</section>
|
|
@endif
|