- All 15 sections now in Seebad style: offers and contact framed with terrace-brace brackets,
reviews with large average and serif quotes, FAQ with large toggles, gallery with captions on focus
- Booking page offers the phone number ("Lieber persönlich?")
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
2.2 KiB
PHP
28 lines
2.2 KiB
PHP
<section class="mx-auto max-w-5xl px-4 py-16 sm:px-8 sm:py-20" aria-labelledby="{{ $sectionId }}-title">
|
|
<h1 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h1>
|
|
@if ($text)<p class="mt-4 max-w-[60ch] text-muted">{{ $text }}</p>@endif
|
|
<div class="mt-14 grid gap-12 sm:grid-cols-2 sm:gap-8">
|
|
<div class="cartouche px-7 pt-12 pb-8">
|
|
<span class="absolute -top-0.5 -left-0.5" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-10'])</span>
|
|
<span class="absolute -top-0.5 -right-0.5 -scale-x-100" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-10'])</span>
|
|
<h2 class="eyebrow">Gastgeberin</h2>
|
|
<p class="font-display text-[1.75rem] leading-tight">{{ $owner['name'] }}</p>
|
|
<p class="mt-1 text-muted">{{ $owner['street'] }}<br>{{ $owner['city'] }}</p>
|
|
<p class="mt-6 space-y-2">
|
|
<a href="tel:{{ preg_replace('/[^0-9+]/', '', (string) $owner['phone']) }}" class="flex items-center gap-3 font-semibold hover:text-accent"><x-heroicon-o-phone class="size-5 text-accent" aria-hidden="true" />{{ $owner['phone'] }}</a>
|
|
<a href="mailto:{{ $owner['email'] }}" class="flex items-center gap-3 font-semibold hover:text-accent"><x-heroicon-o-envelope class="size-5 text-accent" aria-hidden="true" />{{ $owner['email'] }}</a>
|
|
</p>
|
|
</div>
|
|
@if ($address)
|
|
<div class="cartouche px-7 pt-12 pb-8">
|
|
<span class="absolute -top-0.5 -left-0.5" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-10'])</span>
|
|
<span class="absolute -top-0.5 -right-0.5 -scale-x-100" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-10'])</span>
|
|
<h2 class="eyebrow">Ferienwohnung</h2>
|
|
<p class="font-display text-[1.75rem] leading-tight">{{ $theme->site->name }}</p>
|
|
<p class="mt-1 text-muted">{{ $address }}</p>
|
|
<a href="{{ route('booking.create') }}" class="btn-accent mt-6">Freie Termine und Preise</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</section>
|