- 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>
19 lines
912 B
PHP
19 lines
912 B
PHP
{{--
|
||
Next free dates of the hero section. Variables: $freeStays (list of arrival, departure, nights, total, url).
|
||
--}}
|
||
@if ($freeStays !== [])
|
||
<div>
|
||
<h2 class="text-sm font-semibold text-muted">Nächste freie Termine</h2>
|
||
<ul class="mt-2 flex flex-wrap gap-2">
|
||
@foreach ($freeStays as $stay)
|
||
<li>
|
||
<a href="{{ $stay['url'] }}" class="inline-flex min-h-12 flex-col justify-center rounded border border-line bg-surface px-4 py-1.5 hover:border-accent">
|
||
<span class="font-semibold">{{ $stay['arrival']->format('d.m.') }}–{{ $stay['departure']->format('d.m.') }}</span>
|
||
<span class="text-sm text-muted">{{ $stay['nights'] }} Nächte · {{ \App\Support\Money::format($stay['total']) }}</span>
|
||
</a>
|
||
</li>
|
||
@endforeach
|
||
</ul>
|
||
</div>
|
||
@endif
|