@props([
'eyebrow' => null,
'title' => '',
'lead' => null,
'updated' => null,
'breadcrumb' => null,
])
{{--
Editorial-Gerüst für statische/Info-Seiten (Pflichtseiten, FAQ, Hilfe …).
Liefert site-header, Breadcrumb, Masthead und site-footer; der Seiteninhalt
kommt als Slot. Prosa-Seiten wrappen ihren Inhalt in `.pm-body` (zentrale
Editorial-Typografie aus shared-styles.css).
Host-aware: Auf der Hub-Domain (pressekonto) rendert das Hub-Gerüst
(Utility-Bar, Hub-Header/-Footer inkl. Kontakt- und Widerrufs-Modal),
auf den Spokes das Portal-Gerüst.
--}}
@php
$isHub = str_contains(request()->getHost(), 'pressekonto');
$brandConfig = $isHub
? config('domains.domains.pressekonto.brand', [])
: config('domains.domains.'.config('app.theme').'.brand', []);
$brandName = $brandConfig['name'] ?? 'businessportal';
$brandAccent = $brandConfig['accent'] ?? '24';
$homeHref = $isHub ? route('home') : route('web.home');
@endphp
@if ($isHub)
@else
@endif
{{-- Breadcrumb --}}
{{-- Masthead --}}
{{-- Optionale Unter-Navigation über der Headline (z. B. Transparenzseiten). --}}
@isset($aboveTitle)
{{ $aboveTitle }}
@endisset
@if ($eyebrow)
{{ $eyebrow }}
@endif
{{ $title }}
@if ($lead)
{{ $lead }}
@endif
@if ($updated)
{{ $updated }}
@endif
{{-- Inhalt --}}
@if ($isHub)
@else
@endif