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

52 lines
3.6 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.
@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">
@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>
</a>
<nav aria-label="Hauptnavigation" class="hidden lg: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>
@endforeach
</ul>
</nav>
<div class="flex items-center gap-2 sm:gap-4">
@if ($phone)
<a href="tel:{{ preg_replace('/[^0-9+]/', '', $phone) }}" class="hidden items-center gap-2 font-semibold whitespace-nowrap hover:text-accent 2xl:flex">
<x-heroicon-o-phone class="size-5" aria-hidden="true" />{{ $phone }}
</a>
@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">
<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" />
</summary>
<div class="absolute inset-x-0 top-full overflow-hidden bg-band text-band-ink shadow-lg [--brand-navy:var(--band-ink)]">
<ul class="px-5 pt-2">
@foreach ($theme->menu('main') as $item)
<li class="border-b border-band-muted/30 last:border-0"><a href="{{ $item->url() }}" class="block py-3.5 font-display text-[1.75rem]">{{ $item->label() }}</a></li>
@endforeach
</ul>
<div class="flex flex-col gap-3 px-5 py-4">
<a href="{{ route('booking.create') }}" class="inline-flex min-h-12 items-center justify-center rounded-md bg-band-ink px-6 font-semibold text-band">Verfügbarkeit prüfen</a>
@if ($phone)
<a href="tel:{{ preg_replace('/[^0-9+]/', '', $phone) }}" class="inline-flex min-h-12 items-center justify-center gap-2 rounded-md border-2 border-band-ink px-6 font-semibold">
<x-heroicon-o-phone class="size-5" aria-hidden="true" />Anrufen: {{ $phone }}
</a>
@endif
</div>
<div class="bg-ground pt-1" aria-hidden="true">
@include('theme::partials.motif', ['slot' => 'closing', 'class' => 'motif-drift -ml-[45%] block h-auto w-[150%] max-w-none'])
</div>
</div>
</details>
</div>
</div>
</header>