- Logo (satz4) traced to SVG masters (styles/satz4/svg: full logo, picture mark, wordmark) with a palette sampled from the original; WebP renditions for the website; favicon/apple touch icon = simplified corner bay - House details as theme elements: arched dormer (crest of the cartouche), hero arch with window surround and keystone, terrace braces as corner brackets (search box, cartouche), balcony railing on the dark band - Colours from the logo (navy, roof terracotta as accent, wave blues, sun) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
3.6 KiB
PHP
51 lines
3.6 KiB
PHP
<section class="mx-auto flex max-w-7xl flex-wrap items-stretch gap-x-12 gap-y-7 px-4 pt-2 pb-6 sm:px-8" aria-labelledby="{{ $sectionId }}-title">
|
|
<div class="relative min-w-0 flex-[999_1_28rem] p-2">
|
|
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 60vw, 100vw', 'class' => 'arch h-[21rem] w-full object-cover sm:h-[30rem] lg:h-[38rem]', 'eager' => true])
|
|
<span class="keystone" aria-hidden="true"></span>
|
|
</div>
|
|
|
|
<div class="flex min-w-0 flex-[1_1_24rem] flex-col justify-center gap-6">
|
|
@if ($eyebrow)<p class="eyebrow mb-0">{{ $eyebrow }}</p>@endif
|
|
<h1 id="{{ $sectionId }}-title" class="font-display text-[2.5rem] leading-[1.06] font-normal tracking-[-0.01em] sm:text-[3.25rem] lg:text-[3.75rem]">{{ str_replace('*', '', $title) }}</h1>
|
|
@if ($text)<p class="max-w-[36ch] text-lg text-muted sm:text-xl">{{ $text }}</p>@endif
|
|
|
|
@if ($featuredOffer ?? null)
|
|
<a href="{{ $featuredOffer->bookingUrl() }}" class="flex items-center gap-4 rounded-md border border-accent bg-surface p-4 hover:bg-accent/5">
|
|
<span class="rounded bg-accent px-2.5 py-1 font-semibold whitespace-nowrap text-accent-ink">{{ $featuredOffer->advantage }}</span>
|
|
<span>
|
|
<strong class="block">{{ $featuredOffer->title }}</strong>
|
|
@if ($featuredOffer->arrival)
|
|
<span class="text-muted">{{ $featuredOffer->arrival->format('d.m.') }} bis {{ $featuredOffer->departure->format('d.m.') }}</span>
|
|
@endif
|
|
</span>
|
|
</a>
|
|
@endif
|
|
|
|
@if ($showSearch)
|
|
<form action="{{ route('booking.create') }}" method="get" data-availability-search aria-label="Verfügbarkeit prüfen"
|
|
class="relative grid grid-cols-2 items-end gap-3.5 border-2 border-ink bg-surface p-5 pt-7 sm:p-7 sm:pt-8">
|
|
<span class="absolute -top-0.5 -left-0.5" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-9'])</span>
|
|
<span class="absolute -top-0.5 -right-0.5 -scale-x-100" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-9'])</span>
|
|
<label class="flex min-w-0 flex-col gap-1.5 text-base font-semibold">Anreise
|
|
<input type="date" name="anreise" min="{{ today()->toDateString() }}" class="w-full min-w-0 font-normal" required>
|
|
</label>
|
|
<label class="flex min-w-0 flex-col gap-1.5 text-base font-semibold">Abreise
|
|
<input type="date" name="abreise" min="{{ today()->addDay()->toDateString() }}" class="w-full min-w-0 font-normal" required>
|
|
</label>
|
|
<label class="col-span-2 flex min-w-0 flex-col gap-1.5 text-base font-semibold sm:col-span-1">Personen
|
|
<select name="personen" class="w-full font-normal">
|
|
@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="btn-accent col-span-2 w-full px-4 whitespace-nowrap sm:col-span-1">Preis anzeigen</button>
|
|
</form>
|
|
@endif
|
|
</div>
|
|
</section>
|
|
|
|
<div class="overflow-hidden" aria-hidden="true">
|
|
@include('theme::partials.motif', ['slot' => 'divider', 'class' => 'motif-drift -ml-[40%] block h-auto w-[180%] max-w-none sm:mx-auto sm:w-full sm:max-w-7xl'])
|
|
</div>
|