{{-- Public layout (DESIGN.md Page patterns 6; #2957 slice 7, card #3021): pages a visitor sees without being logged in (login, register, password reset, GDPR opt-in/out, subscription pages, maintenance, errors, public documents). No rail, ground background, footer line. It reads no user or company data, so it can render for guests, and it avoids the session when there is none (error pages). Sections: _pageTitle (document title), page (content). Optional: publicAnalytics (any value: include Google Analytics; off by default), publicVariant = 'card' (default: one centred column for x-nh.publiccard) or 'doc' (a wider reading column with a brand line on top), publicAction (right side of the doc brand line, e.g. "Logga in"). Stacks: head, scripts. --}} @php $nhManifest = json_decode((string) @file_get_contents(public_path('mix-manifest.json')), true) ?: []; $nhCss = $nhManifest['/css/nuhet.css'] ?? '/css/nuhet.css'; $nhVariant = trim($__env->yieldContent('publicVariant', 'card')) === 'doc' ? 'doc' : 'card'; $nhHasSession = request()->hasSession(); @endphp
@if ($nhHasSession) @endif