Files
LarsandClaude Opus 5.5 d42c42059c Titelvideo, Rundgang mit Kapiteln, naechste freie Termine, ruhigere Buchungsseite
- Webseite > Videos (Datei, Standbild, Kapitel mit Raum im Grundriss); Upload bis 100 MB
- Titelbereich: Video statt Foto (stumme Schleife, respektiert Bewegung reduzieren/Save-Data)
  und naechste freie Termine mit Gesamtpreis (NextFreeStays)
- Neuer Baustein Rundgang (Video) mit waehlbarer Anordnung; Grundriss springt ins Video
- Buchungsseite: Preis unter dem Kalender, Formular rechts, Ablauf als Grafik
- Seebad: Fahrkarten, Fahrplan-Kapitel, Sonnenaufgang als einmaliges Ereignis

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:01:52 +01:00

51 lines
3.3 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<section class="mx-auto max-w-[86rem] px-4" aria-labelledby="{{ $sectionId }}-title">
<div class="relative overflow-hidden rounded">
@if ($video ?? null)
@include('theme::partials.video-loop', ['video' => $video, 'class' => 'h-[30rem] w-full object-cover sm:h-[40rem]', 'buttonClass' => 'absolute top-4 right-4'])
@else
@include('theme::partials.image', ['photo' => $photo, 'class' => 'h-[30rem] w-full object-cover sm:h-[40rem]', 'eager' => true])
@endif
<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
@if ($featuredOffer ?? null)
<a href="{{ $featuredOffer->bookingUrl() }}" class="mt-5 flex items-center gap-3 rounded border border-accent p-3 hover:bg-surface">
<span class="rounded bg-accent px-2 py-1 text-sm font-semibold whitespace-nowrap text-accent-ink">{{ $featuredOffer->advantage }}</span>
<span class="text-sm">
<strong>{{ $featuredOffer->title }}</strong>
@if ($featuredOffer->arrival)
· {{ $featuredOffer->arrival->format('d.m.') }}–{{ $featuredOffer->departure->format('d.m.') }}
@endif
</span>
</a>
@endif
@if ($freeStays ?? [])
<div class="mt-5">@include('theme::partials.free-stays', ['freeStays' => $freeStays])</div>
@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