- 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>
33 lines
1.8 KiB
PHP
33 lines
1.8 KiB
PHP
<section class="border-y border-line bg-surface" aria-labelledby="{{ $sectionId }}-title">
|
|
<div class="mx-auto max-w-7xl px-4 py-16 sm:px-8 sm:py-24">
|
|
<div class="flex flex-wrap items-end justify-between gap-x-16 gap-y-6">
|
|
<div class="min-w-0 flex-[1_1_26rem]">
|
|
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
|
|
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
|
|
</div>
|
|
<div class="min-w-0 flex-[1_1_24rem]">
|
|
@if ($text)<div class="prose-theme [&_p]:mb-3">{{ $text }}</div>@endif
|
|
@if ($address)
|
|
<p class="mt-3 flex items-start gap-3">
|
|
<x-heroicon-o-map-pin class="mt-1 size-6 shrink-0 text-accent" aria-hidden="true" />
|
|
<span>{{ $address }}<br>
|
|
<a href="{{ $mapUrl }}" class="font-semibold underline underline-offset-4 hover:text-accent" rel="noopener" target="_blank">Auf der Karte ansehen</a></span>
|
|
</p>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@if ($photos->isNotEmpty())
|
|
<ul class="mt-12 grid grid-cols-1 gap-x-8 gap-y-10 sm:grid-cols-3">
|
|
@foreach ($photos->take(3) as $photo)
|
|
<li class="reveal">
|
|
<figure>
|
|
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 640px) 30vw, 100vw', 'class' => 'h-60 w-full rounded object-cover sm:h-72'])
|
|
<figcaption class="mt-3 font-display text-[1.5rem] leading-snug">{{ $photo->caption ?: $photo->alt_text }}</figcaption>
|
|
</figure>
|
|
</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
</div>
|
|
</section>
|