Files
fewo-stommer/resources/themes/ostsee-licht/views/partials/header.blade.php
T
Lars StommerandClaude Opus 5.5 4f69b426a4 Booking path 1 (offer + guest acceptance), 2FA for all, privacy hardening, brand graphics in theme
- Offer workflow: "Angebot senden" in the admin (dates, guests, promo code, manual price adjustment,
  validity from the property's hold time, message, guest data for the contract) with live price;
  contract draft PDF; signed, versioned offer page for the guest to accept (acceptance record without
  IP) or decline; expiry job, landlord notifications, editable offer texts, wording on the website.
- 2FA is mandatory for every admin account.
- Privacy: complete anonymisation (notes, attribution, review names, offer messages), shorter
  periods for unbinding requests, portal mail excerpts and attribution (configurable proposals),
  iCal summary not stored, known e-mail no longer overwrites guest data, security headers, bearer
  tokens for automations, metadata stripped from photo originals, review link throttled.
- Daily database backup (backup:database) and scripts/backup-pull.sh for the NAS.
- Theme: brand mark in header/footer, favicon/touch icon, wave divider, icons, illustration as
  image placeholder; navy follows the text colour for dark appearances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:38:22 +02:00

33 lines
1.9 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.
<header class="relative z-20">
<div class="mx-auto flex max-w-7xl items-center justify-between gap-6 px-4 py-5 sm:px-8">
<a href="{{ route('home') }}" class="flex items-center gap-3 leading-tight" aria-label="{{ $theme->site->name }} – Startseite">
@include('theme::partials.brand', ['name' => 'mark', 'class' => 'h-11 w-auto shrink-0 sm:h-12'])
<span class="flex flex-col">
<span class="font-display text-[1.875rem] font-semibold tracking-wide">{{ str($theme->site->name)->afterLast(' ') }}</span>
<span class="text-[11px] tracking-[0.24em] text-muted uppercase">Ferienwohnung · Kühlungsborn</span>
</span>
</a>
<nav aria-label="Hauptnavigation" class="hidden lg:block">
<ul class="flex gap-8 text-[15px] font-medium">
@foreach ($theme->menu('main') as $item)
<li><a href="{{ $item->url() }}" @class(['hover:text-accent', 'text-accent' => 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-3">
<a href="{{ route('booking.create') }}" class="btn-primary hidden sm:inline-flex">Verfügbarkeit prüfen</a>
<details class="relative lg:hidden">
<summary class="flex min-h-11 cursor-pointer list-none items-center rounded-full border border-line px-4 font-medium" aria-label="Menü">Menü</summary>
<ul class="absolute right-0 mt-2 w-56 rounded-lg border border-line bg-surface p-2 shadow-lg">
@foreach ($theme->menu('main') as $item)
<li><a href="{{ $item->url() }}" class="block rounded px-3 py-2.5 hover:bg-accent/10">{{ $item->label() }}</a></li>
@endforeach
</ul>
</details>
</div>
</div>
</header>