Files
fewo-stommer/resources/themes/seebad/views/sections/text_image.blade.php
T
LarsandClaude Opus 5.5 a9ad4dbf0b Theme Seebad: first version of design direction A
- 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>
2026-10-23 08:22:23 +02:00

26 lines
1.5 KiB
PHP

<section class="mx-auto flex max-w-7xl flex-wrap items-center gap-x-16 gap-y-10 px-4 py-16 sm:px-8 sm:py-24" aria-labelledby="{{ $sectionId }}-title">
<div @class(['min-w-0 flex-[1_1_24rem]', 'order-2' => $imagePosition === 'left'])>
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
@if ($text)<div class="prose-theme mt-6">{{ $text }}</div>@endif
@if ($linkLabel && $linkUrl)
<a href="{{ $linkUrl }}" class="mt-2 inline-block border-b-2 border-accent pb-0.5 font-semibold hover:text-accent">{{ $linkLabel }}</a>
@endif
</div>
@if ($photos->isNotEmpty())
<div @class(['reveal grid min-w-0 flex-[1_1_30rem] grid-cols-5 gap-4', 'order-1' => $imagePosition === 'left'])>
@foreach ($photos as $index => $photo)
@include('theme::partials.image', [
'photo' => $photo,
'sizes' => $index === 0 ? '(min-width: 1024px) 40vw, 100vw' : '(min-width: 1024px) 20vw, 50vw',
'class' => match (true) {
$photos->count() === 1 => 'col-span-5 h-80 w-full rounded object-cover sm:h-[30rem]',
$index === 0 => 'col-span-3 row-span-2 h-80 w-full rounded object-cover sm:h-[30rem]',
default => 'col-span-2 h-[9.6rem] w-full rounded object-cover sm:h-[14.5rem]',
},
])
@endforeach
</div>
@endif
</section>