- New child theme "seebad": Newsreader + Atkinson Hyperlegible Next (self-hosted), larger base size, tokens chalk white / ink blue / brick / evening blue - Picture world "Ostsee" as inline SVG slots (partials/motif): villa mark, wave bands, shell, gulls, vignettes - Own layout, header (mobile menu as dark panel with call button), footer, banner, mobile booking bar - Sections: hero with arch photo and search box, facts, text_image, location, host, cta in cartouche - Wishes to the application recorded in ZUSAMMENARBEIT.md §5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 lines
3.2 KiB
PHP
48 lines
3.2 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="min-w-0 flex-[999_1_34rem]">
|
|
@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])
|
|
</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="grid grid-cols-2 items-end gap-3.5 rounded-md border border-line bg-surface p-4 sm:p-6">
|
|
<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 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>
|