- 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>
61 lines
2.6 KiB
PHP
61 lines
2.6 KiB
PHP
@php
|
|
/** @var \App\Themes\Theme $theme */
|
|
$theme = app(\App\Themes\Theme::class);
|
|
$pageTitle = isset($title) && $title ? $title.' · '.$theme->site->name : $theme->site->name;
|
|
@endphp
|
|
<!DOCTYPE html>
|
|
<html lang="{{ $theme->site->locale ?? 'de' }}" data-appearance="{{ $theme->appearanceKey() }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{ $pageTitle }}</title>
|
|
@isset($description)
|
|
<meta name="description" content="{{ $description }}">
|
|
<meta property="og:description" content="{{ $description }}">
|
|
@endisset
|
|
<meta property="og:title" content="{{ $pageTitle }}">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:url" content="{{ url()->current() }}">
|
|
@isset($ogImage)
|
|
<meta property="og:image" content="{{ $ogImage }}">
|
|
@endisset
|
|
<link rel="canonical" href="{{ url()->current() }}">
|
|
<link rel="icon" href="{{ asset('brand/favicon.svg') }}" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" href="{{ asset('brand/apple-touch-icon.png') }}">
|
|
@if ($theme->isPreview || ! app()->isProduction())
|
|
<meta name="robots" content="noindex">
|
|
@endif
|
|
@vite($theme->assets())
|
|
<style>{!! $theme->cssVariables() !!}</style>
|
|
@livewireStyles
|
|
@stack('head')
|
|
</head>
|
|
<body class="min-h-screen font-sans text-[17px] leading-relaxed antialiased">
|
|
<a href="#inhalt" class="sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:rounded focus:bg-surface focus:px-4 focus:py-2">Zum Inhalt springen</a>
|
|
|
|
@if ($theme->isPreview)
|
|
<div class="bg-ink py-2 text-center text-sm text-ground">Vorschau · Theme „{{ $theme->manifest()->name }}“ · Erscheinungsbild „{{ $theme->appearance?->name ?? 'Standard' }}“</div>
|
|
@endif
|
|
|
|
@include('theme::partials.banner')
|
|
@include('theme::partials.header')
|
|
|
|
<main id="inhalt">
|
|
@yield('content')
|
|
</main>
|
|
|
|
@include('theme::partials.footer')
|
|
@include('theme::partials.mobile-booking-bar')
|
|
|
|
<dialog id="lightbox" class="m-auto max-h-[92vh] max-w-[92vw] bg-transparent p-0 backdrop:bg-black/80" aria-label="Bild vergrößert">
|
|
<figure class="relative">
|
|
<img src="" alt="" class="max-h-[85vh] max-w-[92vw] object-contain">
|
|
<figcaption data-caption class="mt-2 text-center text-sm text-white"></figcaption>
|
|
<button type="button" data-close class="absolute top-2 right-2 rounded-full bg-black/60 px-3 py-1 text-white" aria-label="Schließen">✕</button>
|
|
</figure>
|
|
</dialog>
|
|
|
|
@livewireScripts
|
|
</body>
|
|
</html>
|