- 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>
18 lines
1.4 KiB
PHP
18 lines
1.4 KiB
PHP
<section class="mx-auto flex max-w-7xl flex-wrap items-center gap-x-14 gap-y-12 px-4 py-16 sm:px-8 sm:py-24" aria-labelledby="{{ $sectionId }}-title">
|
|
@if ($photo)
|
|
<div class="min-w-0 flex-[1_1_24rem]">
|
|
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 45vw, 100vw', 'class' => 'h-72 w-full rounded object-cover sm:h-[26rem]'])
|
|
</div>
|
|
@endif
|
|
<div @class(['cartouche min-w-0 flex-[1_1_24rem] px-6 pt-14 pb-10 text-center sm:px-12', 'mx-auto max-w-3xl' => ! $photo])>
|
|
<span class="absolute -top-9 left-1/2 -translate-x-1/2 bg-ground px-3" aria-hidden="true">
|
|
@include('theme::partials.motif', ['slot' => 'crest', 'class' => 'h-14 w-auto'])
|
|
</span>
|
|
<span class="absolute -top-0.5 -left-0.5" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-11'])</span>
|
|
<span class="absolute -top-0.5 -right-0.5 -scale-x-100" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-11'])</span>
|
|
<h2 id="{{ $sectionId }}-title" class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">{{ $title }}</h2>
|
|
@if ($text)<p class="mx-auto mt-4 max-w-[40ch] text-muted">{{ $text }}</p>@endif
|
|
<a href="{{ $buttonUrl }}" class="btn-accent mt-8">{{ $buttonLabel }}</a>
|
|
</div>
|
|
</section>
|