Files
fewo-stommer/resources/themes/seebad/views/sections/tour.blade.php
T
LarsandClaude Opus 5.5 d42c42059c Titelvideo, Rundgang mit Kapiteln, naechste freie Termine, ruhigere Buchungsseite
- Webseite > Videos (Datei, Standbild, Kapitel mit Raum im Grundriss); Upload bis 100 MB
- Titelbereich: Video statt Foto (stumme Schleife, respektiert Bewegung reduzieren/Save-Data)
  und naechste freie Termine mit Gesamtpreis (NextFreeStays)
- Neuer Baustein Rundgang (Video) mit waehlbarer Anordnung; Grundriss springt ins Video
- Buchungsseite: Preis unter dem Kalender, Formular rechts, Ablauf als Grafik
- Seebad: Fahrkarten, Fahrplan-Kapitel, Sonnenaufgang als einmaliges Ereignis

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:01:52 +01:00

51 lines
3.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{{--
Contract: see ostsee-licht/views/sections/tour.blade.php. Seebad: heading and text span the width, below them the
video in the double frame of the house next to the chapters as a timetable of the Bäderbahn (stop, dots, time) –
both about the same height, so neither column leaves a gap.
--}}
@if ($video)
<section class="mx-auto max-w-7xl px-4 py-14 sm:px-8 sm:py-20" aria-labelledby="{{ $sectionId }}-title" data-tour>
<div class="flex flex-wrap items-end gap-x-14 gap-y-4">
<div class="min-w-0 flex-[1_1_26rem]">
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
@if ($heading)<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>@endif
</div>
@if ($text)<p class="min-w-0 max-w-[52ch] flex-[1_1_22rem] text-muted">{{ $text }}</p>@endif
</div>
<div class="mt-10 flex flex-wrap items-start gap-x-12 gap-y-8">
<div @class(['relative min-w-0 border-2 border-ink bg-surface p-2.5 sm:p-3.5', 'flex-[999_1_34rem]' => $layout !== 'wide', 'w-full' => $layout === 'wide', 'order-2' => $layout === 'right'])>
<span class="absolute -top-0.5 -left-0.5 z-10" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-10'])</span>
<span class="absolute -top-0.5 -right-0.5 z-10 -scale-x-100" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-10'])</span>
<div class="relative bg-ink">
<video class="block aspect-video w-full" controls playsinline preload="none" poster="{{ $video->posterUrl() }}" aria-label="Video: {{ $video->title }}">
<source src="{{ $video->url() }}" type="{{ $video->mimeType() }}">
</video>
<button type="button" data-tour-start hidden class="group absolute inset-0 flex flex-col items-center justify-center gap-4 bg-ink/25 text-ground transition hover:bg-ink/35">
<span class="flex size-20 items-center justify-center rounded-full bg-ground text-ink shadow-lg transition group-hover:scale-105 sm:size-24">
<x-heroicon-s-play class="ml-1 size-9 sm:size-11" aria-hidden="true" />
</span>
<span class="sr-only rounded-full bg-ink/75 px-5 py-2 text-lg font-semibold sm:not-sr-only">Rundgang starten</span>
</button>
</div>
</div>
@if ($chapters !== [])
<div @class(['min-w-0', 'flex-[1_1_18rem]' => $layout !== 'wide', 'w-full' => $layout === 'wide']) hidden data-tour-chapters>
<h3 class="text-base font-semibold text-muted">Springen Sie zu</h3>
<ol @class(['mt-2 border-t-2 border-ink', 'gap-x-10 sm:columns-2 lg:columns-3' => $layout === 'wide'])>
@foreach ($chapters as $chapter)
<li class="break-inside-avoid border-b border-line">
<button type="button" class="timetable-stop" data-tour-seek="{{ $chapter['seconds'] }}">
<span class="order-1">{{ $chapter['label'] }}</span>
<span class="order-3 font-display tabular-nums">{{ $chapter['time'] }}</span>
</button>
</li>
@endforeach
</ol>
</div>
@endif
</div>
</section>
@endif