Files
fewo-stommer/resources/themes/seebad/views/sections/cta.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

16 lines
1.0 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-6 left-1/2 -translate-x-1/2 bg-ground px-2" aria-hidden="true">
@include('theme::partials.motif', ['slot' => 'crest', 'class' => 'h-12 w-auto'])
</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>