@props([ 'title' => null, 'eyebrow' => 'Publisher-Hub', 'heading' => null, 'topRightLabel' => null, 'topRightLinkText' => null, 'topRightLinkHref' => null, 'showFromBanner' => true, ]) @php $brand = config('domains.domains.pressekonto.brand', []); $from = request()->query('from'); $brandLabelMap = [ 'presseecho' => 'presseecho.de', 'businessportal24' => 'businessportal24.com', ]; $fromBrandLabel = $brandLabelMap[$from] ?? null; $pageTitle = $title ?? ($brand['meta_title'] ?? 'pressekonto – Publisher-Hub'); config([ 'app.theme' => 'pressekonto', 'app.view_prefix' => 'web', ]); $themeCssPath = \App\Helpers\ThemeHelper::getThemeCssPath(); $assetsDir = config('domains.domains.pressekonto.assets_dir', 'build/web'); \Illuminate\Support\Facades\Vite::useBuildDirectory($assetsDir); @endphp {{ $pageTitle }} @include('partials.local-fonts') {{-- Nur CSS aus dem Web-Build laden. Alpine bringt @livewireScripts mit; würden wir hier zusätzlich resources/js/app.js mit Alpine.start() laden, gäbe es zwei Alpine-Instanzen und wire:submit, x-data, wire:model würden brechen (siehe Browser-Logs vor diesem Fix). --}} @vite([$themeCssPath], $assetsDir) @livewireStyles
{{-- Atmosphäre: subtiles Raster --}} {{-- Atmosphäre: konzentrische Kreise um die Bildmitte --}} {{-- 3px Hub-Blau-Streifen --}}
{{-- Header --}}
@if ($topRightLinkText && $topRightLinkHref) @if ($topRightLabel) {{ $topRightLabel }} @endif {{ $topRightLinkText }} @endif
{{-- Auth-Card --}}
@if ($showFromBanner && $fromBrandLabel)
Sie kommen von {{ $fromBrandLabel }}. Ihr Konto funktioniert für beide Portale – presseecho.de und businessportal24.com.
@elseif ($showFromBanner)
Ihr Konto funktioniert auch für presseecho.de und businessportal24.com.
@endif
@if ($eyebrow)
{{ $eyebrow }}
@endif @if ($heading)

{{ $heading }}

@endif {{ $slot }}
{{-- Micro-Footer --}}
@livewireScripts