Merge branch 'theme/seebad' (Seebad 0.1.1)

This commit is contained in:
Lars committed 2026-10-23 08:39:22 +02:00
commit 1b3255846f
6 files changed
+69 -7

No files matched your search

+5 -1
View File
@@ -39,5 +39,9 @@ ## Eigene Vorlagen
| `sections/location` | Lage auf weißer Fläche, Fotos mit Bildunterschrift in Serifenschrift |
| `sections/host` | Zitat der Gastgeberin auf dunklem Band, gleitende Möwen; Porträt optional |
| `sections/cta` | Abschluss in der Kartusche mit Muschel, Foto optional daneben |
| `sections/amenities` | Ausstattung mit Bereichs-Überschriften in Serifenschrift und Häkchen |
| `sections/prices` | Nebenkosten als Liste, Saisontabelle mit großer Schrift; auf dem Handy Zeitraum unter der Saison |
Übrige Bausteine (Galerie, Ausstattung, Preise, Angebote, Buchung, Bewertungen, FAQ, Kontakt, Fließtext) kommen noch vom Eltern-Theme und übernehmen Schriften, Farben und Basis-Klassen.
Menü: ausgeschrieben ab 1280 px, darunter Menü-Taste (sonst überdeckt der Name das Menü).
Übrige Bausteine (Galerie, Angebote, Buchung, Bewertungen, FAQ, Kontakt, Fließtext) kommen noch vom Eltern-Theme und übernehmen Schriften, Farben und Basis-Klassen.
+1 -1
View File
@@ -1,7 +1,7 @@
{
"key": "seebad",
"name": "Seebad",
"version": "0.1.0",
"version": "0.1.1",
"parent": "ostsee-licht",
"description": "Ruhiges Magazin für Paare: große, gut lesbare Schrift, Titelbild mit Bogen, Bildwelt Ostsee (Villa, Seebrücke, Molli)",
"assets": {
@@ -1,12 +1,12 @@
@php($phone = (string) config('fewo.owner.phone'))
<header class="relative z-20">
<div class="mx-auto flex max-w-7xl items-center justify-between gap-6 px-4 py-4 sm:px-8 lg:py-5">
<a href="{{ route('home') }}" class="flex min-w-0 items-center gap-3" aria-label="{{ $theme->site->name }} – Startseite">
<a href="{{ route('home') }}" class="flex min-w-0 items-center gap-3 sm:shrink-0" aria-label="{{ $theme->site->name }} – Startseite">
@include('theme::partials.motif', ['slot' => 'mark', 'class' => 'h-11 w-auto shrink-0 lg:h-14'])
<span class="font-display text-[1.375rem] leading-tight font-medium sm:text-[1.75rem] xl:whitespace-nowrap">{{ $theme->site->name }}</span>
<span class="font-display text-[1.375rem] leading-tight font-medium sm:text-[1.75rem] sm:whitespace-nowrap">{{ $theme->site->name }}</span>
</a>
<nav aria-label="Hauptnavigation" class="hidden lg:block">
<nav aria-label="Hauptnavigation" class="hidden xl:block">
<ul class="flex gap-6 text-lg whitespace-nowrap xl:gap-7">
@foreach ($theme->menu('main') as $item)
<li><a href="{{ $item->url() }}" @class(['underline-offset-8 hover:underline', 'underline decoration-accent decoration-2' => url()->current() === $item->url()]) @if (url()->current() === $item->url()) aria-current="page" @endif>{{ $item->label() }}</a></li>
@@ -22,7 +22,7 @@
@endif
<a href="{{ route('booking.create') }}" class="btn-accent hidden whitespace-nowrap sm:inline-flex">Verfügbarkeit prüfen</a>
<details class="group lg:hidden">
<details class="group xl:hidden">
<summary class="flex size-12 cursor-pointer list-none items-center justify-center rounded-md border border-line bg-surface [&::-webkit-details-marker]:hidden" aria-label="Menü">
<x-heroicon-o-bars-3 class="size-6 group-open:hidden" aria-hidden="true" />
<x-heroicon-o-x-mark class="hidden size-6 group-open:block" aria-hidden="true" />
@@ -0,0 +1,17 @@
@if ($groups->isNotEmpty())
<section class="mx-auto max-w-7xl px-4 py-16 sm:px-8 sm:py-20" aria-labelledby="{{ $sectionId }}-title">
<h2 id="{{ $sectionId }}-title" class="heading-display mb-10">{{ $heading }}</h2>
<div class="grid gap-x-12 gap-y-10 sm:grid-cols-2 lg:grid-cols-3">
@foreach ($groups as $area => $amenities)
<div class="reveal">
<h3 class="mb-3 border-b border-line pb-2 font-display text-[1.625rem]">{{ $area }}</h3>
<ul class="space-y-2">
@foreach ($amenities as $amenity)
<li class="flex gap-3"><x-heroicon-o-check class="mt-1 size-5 shrink-0 text-accent" aria-hidden="true" />{{ $amenity->name }}</li>
@endforeach
</ul>
</div>
@endforeach
</div>
</section>
@endif
@@ -1,5 +1,5 @@
<section class="mx-auto flex max-w-7xl flex-wrap items-stretch gap-x-12 gap-y-7 px-4 pt-2 pb-6 sm:px-8" aria-labelledby="{{ $sectionId }}-title">
<div class="min-w-0 flex-[999_1_34rem]">
<div class="min-w-0 flex-[999_1_28rem]">
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 60vw, 100vw', 'class' => 'arch h-[21rem] w-full object-cover sm:h-[30rem] lg:h-[38rem]', 'eager' => true])
</div>
@@ -0,0 +1,41 @@
<section class="mx-auto flex max-w-7xl flex-wrap items-start 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_22rem]">
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
@if ($text)<p class="mt-6 text-muted">{{ $text }}</p>@endif
@if ($property)
<dl class="mt-6 space-y-2">
<div class="flex justify-between gap-4 border-b border-line pb-2"><dt>Endreinigung und Service</dt><dd class="whitespace-nowrap">{{ \App\Support\Money::format($property->cleaning_fee) }} einmalig</dd></div>
@if ($property->extra_guest_fee_per_night)
<div class="flex justify-between gap-4 border-b border-line pb-2"><dt>ab der {{ $property->included_guests + 1 }}. Person</dt><dd class="whitespace-nowrap">{{ \App\Support\Money::format($property->extra_guest_fee_per_night) }} pro Nacht</dd></div>
@endif
@foreach ($extras as $extra)
<div class="flex justify-between gap-4 border-b border-line pb-2"><dt>{{ $extra->name }} <span class="text-muted">(auf Wunsch)</span></dt><dd class="whitespace-nowrap">{{ \App\Support\Money::format($extra->price) }}</dd></div>
@endforeach
<div class="flex justify-between gap-4 pb-2"><dt>Kurtaxe</dt><dd class="text-muted">vor Ort</dd></div>
</dl>
@endif
<a href="{{ route('booking.create') }}" class="btn-accent mt-8">Freie Termine und Gesamtpreis</a>
</div>
<div class="min-w-0 flex-[1_1_32rem]">
<table class="w-full text-left">
<caption class="sr-only">Preise pro Nacht nach Saison</caption>
<thead class="text-base text-muted">
<tr><th scope="col" class="pb-3 font-semibold">Saison</th><th scope="col" class="hidden pb-3 font-semibold sm:table-cell">Zeitraum</th><th scope="col" class="pb-3 text-right font-semibold">pro Nacht</th></tr>
</thead>
<tbody>
@foreach ($seasons as $season)
<tr @class(['border-t border-line', 'bg-accent/10' => $featuredSeason && str_contains(mb_strtolower($featuredSeason), mb_strtolower($season->name))])>
<th scope="row" class="py-4 pr-4 align-top font-semibold">
{{ $season->name }}
<span class="block font-normal text-muted sm:hidden">{{ $season->starts_on->format('d.m.') }} bis {{ $season->ends_on->format('d.m.Y') }}</span>
<span class="block font-normal text-muted">ab {{ $season->min_nights }} Nächten</span>
</th>
<td class="hidden py-4 pr-4 align-top text-muted sm:table-cell">{{ $season->starts_on->format('d.m.') }} bis {{ $season->ends_on->format('d.m.Y') }}</td>
<td class="py-4 text-right align-top font-display text-[1.75rem] leading-none whitespace-nowrap">{{ \App\Support\Money::format($season->nightly_rate) }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</section>