Stabilisiere den Website-Rahmen und veredele die zentralen Widgets.
Designiteration 1 auf Grundlage des Brand-UI-Kits (vorläufige Werte): - Kopfzeile mit konstanter Box und zwei Zuständen (großzügig, kompakt beim Scrollen) ohne Layoutsprung; Navigation bricht nie um, sondern verkürzt erst den Kontozugang und schaltet dann in den Menümodus. Scrollbalken-Reserve, gemeinsames Breitenmodell (Lesebereich, Standard, Breit, Vollbreite), Wortmarke und Inhalt fluchten. - Fokusfalle im Mobilmenü schließt auch den Weg von der Menü-Schaltfläche in den Inhalt. - Fußbereich mit Grundzeile für rechtliche Links und grünem Bogen. - Markenakzente (Unterstreichung, Strahlen, Bogen) als Komponenten. - Hero: Varianten Markenbühne (randlos) und Editorial, zweite Schaltfläche, Bildausschnitt. Bild und Text: Bildformat und Ausschnitt. Karten: hervorgehobene erste Karte, ganze Karte klickbar. Programmkarten mit Markentafel. Alles additiv, ohne neue Version. Testanpassungen: Die Website-Wortmarke trägt jetzt brand-lockup, die erste Hero-Schaltfläche button-brand (beabsichtigte Gestaltung). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3a5e5290f1
commit
33aaf64024
31 files changed
+1646
-357
No files matched your search
@@ -0,0 +1,2 @@
|
||||
{{-- Markenakzent „Bogen“: grüne Schwungfläche als Abschluss dunkler Flächen (nach dem Homepage-Entwurf des Brand-Kits). Dekorativ. --}}
|
||||
<svg {{ $attributes->class(['brand-arc']) }} viewBox="0 0 400 120" preserveAspectRatio="none" aria-hidden="true" focusable="false"><path d="M0 120 C120 112 250 80 400 0 L400 120 Z" fill="currentColor"/></svg>
|
||||
@@ -0,0 +1,2 @@
|
||||
{{-- Markenakzent „Signalstrahlen“ (Brand-Kit 03_svg_entwuerfe/yellow-rays.svg, Entwurf). Dekorativ; nie an der Wortmarke. --}}
|
||||
<svg {{ $attributes->class(['brand-rays']) }} viewBox="0 0 100 85" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="11"><path d="M23 52L6 40"/><path d="M48 29L46 9"/><path d="M74 44L89 23"/></g></svg>
|
||||
@@ -0,0 +1,2 @@
|
||||
{{-- Markenakzent „Unterstreichung“ (Brand-Kit 03_svg_entwuerfe/yellow-underline.svg, Entwurf). Dekorativ, Farbe über currentColor. --}}
|
||||
<svg {{ $attributes->class(['brand-underline']) }} viewBox="0 0 280 28" preserveAspectRatio="none" aria-hidden="true" focusable="false"><path d="M9 18 Q102 1 270 12" fill="none" stroke="currentColor" stroke-width="13" stroke-linecap="round" vector-effect="non-scaling-stroke"/></svg>
|
||||
@@ -1,10 +1,12 @@
|
||||
{{--
|
||||
Wortmarke. VORLÄUFIG: Es liegt keine freigegebene Logodatei vor (docs/Brand-UI-Kit/README.md, Markenleitlinie 5).
|
||||
Bis dahin steht hier ein schlichter Schriftzug in der vorläufigen Auszeichnungsschrift, ohne Nachbildung der
|
||||
Filmwortmarke (keine Drehung, kein Unterstrich-Schwung). Eine freigegebene SVG-Datei wird ausschließlich hier eingesetzt.
|
||||
Bis dahin steht hier ein Schriftzug in der vorläufigen Auszeichnungsschrift. Die Variante „lockup“ (Website)
|
||||
ergänzt den Zusatz als grünes Schild nach dem Web-Entwurf des Brand-Kits (05_web_preview). Keine Nachbildung der
|
||||
Filmwortmarke: keine Wolkenform, keine Drehung, kein Unterstrich-Schwung, keine Strahlen.
|
||||
Eine freigegebene SVG-Datei wird ausschließlich hier eingesetzt.
|
||||
--}}
|
||||
@props(['href' => null, 'claim' => 'Stark im Alltag'])
|
||||
<a {{ $attributes->class(['brand']) }} href="{{ $href ?? route('home') }}" data-brand-status="vorlaeufig">
|
||||
@props(['href' => null, 'claim' => 'Stark im Alltag', 'variant' => 'plain'])
|
||||
<a {{ $attributes->class(['brand', 'brand-lockup' => $variant === 'lockup']) }} href="{{ $href ?? route('home') }}" data-brand-status="vorlaeufig">
|
||||
<span class="brand-name">Lara & Felix</span>
|
||||
<span class="brand-claim">{{ $claim }}</span>
|
||||
</a>
|
||||
@@ -1,16 +1,21 @@
|
||||
@props(['navigation', 'path' => null])
|
||||
@php
|
||||
$groups = \App\Domain\Cms\SiteNavigation::forPath($navigation, $path ?? request()->path())->footerGroups();
|
||||
$groups = collect(\App\Domain\Cms\SiteNavigation::forPath($navigation, $path ?? request()->path())->footerGroups());
|
||||
$legal = $groups->firstWhere('key', 'footer_legal');
|
||||
$columns = $groups->reject(fn (array $group): bool => $group['key'] === 'footer_legal');
|
||||
$themes = \App\Domain\Catalog\Pillar::query()->published()->get(['id', 'name', 'slug']);
|
||||
@endphp
|
||||
{{-- Fußbereich: Links aus der CMS-Navigation (Plätze „Fußbereich: …“) und die veröffentlichten Themenbereiche. Keine erfundenen Kontakt- oder Rechtstexte. --}}
|
||||
{{--
|
||||
Fußbereich: Links aus der CMS-Navigation (Plätze „Fußbereich: …“) und die veröffentlichten Themenbereiche.
|
||||
Keine eigene Inhaltsverwaltung, keine erfundenen Kontakt- oder Rechtstexte. „Rechtliches“ steht in der Grundzeile.
|
||||
--}}
|
||||
<footer class="site-footer scope-dark">
|
||||
<div class="site-footer-inner ui-container">
|
||||
<div class="site-footer-brand">
|
||||
<x-site.brand />
|
||||
<x-site.brand variant="lockup" />
|
||||
</div>
|
||||
@if ($themes->isNotEmpty())
|
||||
<nav aria-labelledby="fuss-themen">
|
||||
<nav class="site-footer-group site-footer-themes" aria-labelledby="fuss-themen">
|
||||
<h2 id="fuss-themen">Themenbereiche</h2>
|
||||
<ul>
|
||||
@foreach ($themes as $theme)
|
||||
@@ -19,8 +24,8 @@
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
@foreach ($groups as $group)
|
||||
<nav aria-labelledby="fuss-{{ $group['key'] }}">
|
||||
@foreach ($columns as $group)
|
||||
<nav class="site-footer-group" aria-labelledby="fuss-{{ $group['key'] }}">
|
||||
<h2 id="fuss-{{ $group['key'] }}">{{ $group['heading'] }}</h2>
|
||||
<ul>
|
||||
@foreach ($group['links'] as $link)
|
||||
@@ -30,4 +35,17 @@
|
||||
</nav>
|
||||
@endforeach
|
||||
</div>
|
||||
@if ($legal)
|
||||
<div class="site-footer-base ui-container">
|
||||
<nav aria-labelledby="fuss-footer_legal">
|
||||
<h2 id="fuss-footer_legal" class="visually-hidden">{{ $legal['heading'] }}</h2>
|
||||
<ul>
|
||||
@foreach ($legal['links'] as $link)
|
||||
<li><a href="{{ $link['href'] }}" @if ($link['current']) aria-current="page" @endif>{{ $link['label'] }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@endif
|
||||
<x-brand.arc class="site-footer-arc" />
|
||||
</footer>
|
||||
@@ -2,45 +2,55 @@
|
||||
@php
|
||||
$entries = \App\Domain\Cms\SiteNavigation::forPath($navigation, $path ?? request()->path())->header();
|
||||
@endphp
|
||||
{{-- Gleiche Ausgabe für Gäste und Mitglieder (ADR-32): Der Kontozugang führt zum Mitgliederbereich, der bei Bedarf zur Anmeldung leitet. --}}
|
||||
{{--
|
||||
Globale Kopfzeile. Gleiche Ausgabe für Gäste und Mitglieder (ADR-32): Der Kontozugang führt zum Mitgliederbereich,
|
||||
der bei Bedarf zur Anmeldung leitet.
|
||||
Geometrie: Die Box ist immer --header-height-initial hoch und klebt mit negativem Abstand; die innere Leiste
|
||||
klebt oben. Beim Scrollen bleibt nur die kompakte Leiste sichtbar, ohne dass sich die Höhe im Seitenfluss ändert.
|
||||
--}}
|
||||
<span class="site-header-sentinel" aria-hidden="true" data-site-header-sentinel></span>
|
||||
<header class="site-header" data-site-header>
|
||||
<div class="site-header-inner ui-container ui-container-wide">
|
||||
<x-site.brand />
|
||||
<nav class="site-nav" id="site-nav" aria-label="Hauptnavigation">
|
||||
<ul class="site-nav-list">
|
||||
@foreach ($entries as $entry)
|
||||
<li @class(['site-nav-item', 'has-children' => $entry['children'] !== [], 'is-active-trail' => $entry['activeTrail']])>
|
||||
@if ($entry['href'])
|
||||
<a href="{{ $entry['href'] }}" @if ($entry['current']) aria-current="page" @endif>{{ $entry['label'] }}</a>
|
||||
@else
|
||||
<a href="#untermenue-{{ $entry['id'] }}" data-site-subnav-label>{{ $entry['label'] }}</a>
|
||||
@endif
|
||||
@if ($entry['children'] !== [])
|
||||
<button type="button" class="site-nav-toggle" aria-expanded="false" aria-controls="untermenue-{{ $entry['id'] }}" data-site-subnav-toggle>
|
||||
<x-heroicon-o-chevron-down aria-hidden="true" />
|
||||
<span class="visually-hidden">Untermenü {{ $entry['label'] }}</span>
|
||||
</button>
|
||||
<ul class="site-subnav" id="untermenue-{{ $entry['id'] }}">
|
||||
@foreach ($entry['children'] as $child)
|
||||
<li><a href="{{ $child['href'] }}" @if ($child['current']) aria-current="page" @endif>{{ $child['label'] }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="site-header-actions">
|
||||
<a class="site-icon-link" href="{{ route('member.dashboard') }}">
|
||||
<x-heroicon-o-user-circle aria-hidden="true" />
|
||||
<span class="site-account-label">Mitgliederbereich</span>
|
||||
</a>
|
||||
<x-site.cart-link />
|
||||
<button type="button" class="site-menu-button" aria-expanded="false" aria-controls="site-nav" data-site-menu-button>
|
||||
<x-heroicon-o-bars-3 aria-hidden="true" data-icon-open />
|
||||
<x-heroicon-o-x-mark aria-hidden="true" data-icon-close hidden />
|
||||
<span data-menu-label>Menü</span>
|
||||
</button>
|
||||
<div class="site-header-bar">
|
||||
<div class="site-header-inner ui-container">
|
||||
<x-site.brand variant="lockup" />
|
||||
<nav class="site-nav" id="site-nav" aria-label="Hauptnavigation">
|
||||
<ul class="site-nav-list">
|
||||
@foreach ($entries as $entry)
|
||||
<li @class(['site-nav-item', 'has-children' => $entry['children'] !== [], 'is-active-trail' => $entry['activeTrail']])>
|
||||
@if ($entry['href'])
|
||||
<a href="{{ $entry['href'] }}" @if ($entry['current']) aria-current="page" @endif>{{ $entry['label'] }}</a>
|
||||
@else
|
||||
<a href="#untermenue-{{ $entry['id'] }}" data-site-subnav-label>{{ $entry['label'] }}</a>
|
||||
@endif
|
||||
@if ($entry['children'] !== [])
|
||||
<button type="button" class="site-nav-toggle" aria-expanded="false" aria-controls="untermenue-{{ $entry['id'] }}" data-site-subnav-toggle>
|
||||
<x-heroicon-o-chevron-down aria-hidden="true" />
|
||||
<span class="visually-hidden">Untermenü {{ $entry['label'] }}</span>
|
||||
</button>
|
||||
<ul class="site-subnav" id="untermenue-{{ $entry['id'] }}">
|
||||
@foreach ($entry['children'] as $child)
|
||||
<li><a href="{{ $child['href'] }}" @if ($child['current']) aria-current="page" @endif>{{ $child['label'] }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="site-header-actions">
|
||||
<a class="site-icon-link site-account-link" href="{{ route('member.dashboard') }}">
|
||||
<x-heroicon-o-user-circle aria-hidden="true" />
|
||||
<span class="site-account-label">Mitgliederbereich</span>
|
||||
</a>
|
||||
<x-site.cart-link />
|
||||
<button type="button" class="site-menu-button" aria-expanded="false" aria-controls="site-nav" data-site-menu-button>
|
||||
<x-heroicon-o-bars-3 aria-hidden="true" data-icon-open />
|
||||
<x-heroicon-o-x-mark aria-hidden="true" data-icon-close hidden />
|
||||
<span data-menu-label>Menü</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{-- Menümodus vor dem ersten Zeichnen setzen, damit die Navigation auf kleinen Bildschirmen nicht aufblitzt. --}}
|
||||
<script>(function (h) { if (window.matchMedia('(max-width: 74.99rem)').matches) { h.classList.add('is-menu-mode'); } })(document.querySelector('[data-site-header]'));</script>
|
||||
@@ -1,26 +1,36 @@
|
||||
{{--
|
||||
Redaktionelle Karten. Varianten: standard (Raster), compact (Liste), featured (erste Karte hervorgehoben).
|
||||
Die ganze Karte ist über den Titellink klickbar (gestreckter Link); Bilder sind dekorativ.
|
||||
--}}
|
||||
@php
|
||||
$variant = in_array($variant, ['standard', 'compact', 'featured'], true) ? $variant : 'standard';
|
||||
@endphp
|
||||
@if ($items !== [])
|
||||
<ul class="cards cards-{{ $variant === 'compact' ? 'compact' : 'grid' }}">
|
||||
<ul class="cards cards-{{ $variant === 'standard' ? 'grid' : $variant }}">
|
||||
@foreach ($items as $item)
|
||||
<li class="card @if ($item['imageUrl']) card-with-image @endif">
|
||||
@if ($item['url'])
|
||||
<a href="{{ $item['url'] }}">
|
||||
@if ($item['imageUrl'])
|
||||
<img class="card-image" src="{{ $item['imageUrl'] }}" alt="" loading="lazy">
|
||||
<li @class([
|
||||
'card',
|
||||
'card-with-image' => $item['imageUrl'],
|
||||
'card-linked' => $item['url'],
|
||||
'card-lead' => $variant === 'featured' && $loop->first,
|
||||
])>
|
||||
@if ($item['imageUrl'])
|
||||
<div class="card-media">
|
||||
<img class="card-image" src="{{ $item['imageUrl'] }}" alt="" loading="lazy" decoding="async">
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">
|
||||
@if ($item['url'])
|
||||
<a href="{{ $item['url'] }}">{{ $item['title'] }}</a>
|
||||
@else
|
||||
{{ $item['title'] }}
|
||||
@endif
|
||||
<h3>{{ $item['title'] }}</h3>
|
||||
@if (filled($item['text']))
|
||||
<p>{{ $item['text'] }}</p>
|
||||
@endif
|
||||
</a>
|
||||
@else
|
||||
@if ($item['imageUrl'])
|
||||
<img class="card-image" src="{{ $item['imageUrl'] }}" alt="" loading="lazy">
|
||||
@endif
|
||||
<h3>{{ $item['title'] }}</h3>
|
||||
</h3>
|
||||
@if (filled($item['text']))
|
||||
<p>{{ $item['text'] }}</p>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{{--
|
||||
Programm- und Modulkarten. Titel, Kurzbeschreibung, Art und Ziel kommen zur Laufzeit aus den maßgeblichen
|
||||
Fachdaten (PublicCatalogReader); nichts davon wird im CMS gespeichert. Statt Bildern trägt eine Markentafel die Art.
|
||||
Darstellung nach Slotbreite: schmal gestapelt, breit mit Tafel neben dem Text (siehe widgets.css).
|
||||
--}}
|
||||
@if ($entries !== [] || $context->preview)
|
||||
<div class="catalog-cards catalog-cards-{{ $variant === 'compact' ? 'compact' : 'standard' }}">
|
||||
<div class="catalog-cards catalog-cards-{{ $variant === 'compact' ? 'compact' : 'standard' }}" data-count="{{ count($entries) }}">
|
||||
@if (filled($data['heading'] ?? null))
|
||||
<h2>{{ $data['heading'] }}</h2>
|
||||
@endif
|
||||
@@ -11,9 +16,12 @@
|
||||
@else
|
||||
<ul class="catalog-list">
|
||||
@foreach ($entries as $entry)
|
||||
<li class="catalog-card @unless ($entry->public) catalog-card-internal @endunless">
|
||||
<li @class(['catalog-card', 'catalog-card-linked' => $entry->url, 'catalog-card-internal' => ! $entry->public])>
|
||||
@if ($variant !== 'compact')
|
||||
<div class="catalog-card-visual" aria-hidden="true"><span>{{ $entry->kindLabel }}</span></div>
|
||||
<div class="catalog-card-visual" aria-hidden="true">
|
||||
<span>{{ $entry->kindLabel }}</span>
|
||||
<x-brand.rays class="catalog-card-rays" />
|
||||
</div>
|
||||
@endif
|
||||
<div class="catalog-card-body">
|
||||
<p class="catalog-card-kind">{{ $entry->kindLabel }}</p>
|
||||
|
||||
@@ -1,18 +1,52 @@
|
||||
<div class="hero hero-{{ $variant === 'highlight' ? 'highlight' : 'standard' }} @if ($imageUrl) hero-with-image @endif">
|
||||
<div class="hero-copy">
|
||||
@if (! empty($first))
|
||||
<h1>{{ $data['heading'] ?? '' }}</h1>
|
||||
@else
|
||||
<h2>{{ $data['heading'] ?? '' }}</h2>
|
||||
@endif
|
||||
@if (filled($data['text'] ?? null))
|
||||
<p class="lede">{{ $data['text'] }}</p>
|
||||
@endif
|
||||
@if ($action)
|
||||
<a class="button" href="{{ $action['url'] }}">{{ $action['label'] }}</a>
|
||||
@endif
|
||||
{{--
|
||||
Einstieg (Hero). Varianten:
|
||||
- standard: Text neben dem Bild (ältere Instanzen unverändert gültig)
|
||||
- highlight: dunkle Markenfläche
|
||||
- stage: Markenbühne, Bild über die volle Breite, Text auf heller Tafel (randlos, wenn allein im Abschnitt)
|
||||
- editorial: textbetonter Einstieg, Bild optional als breites Band darunter
|
||||
Das Bild des ersten Widgets wird sofort geladen (größtes Element), alle anderen verzögert.
|
||||
--}}
|
||||
@php
|
||||
$variant = in_array($variant, ['standard', 'highlight', 'stage', 'editorial'], true) ? $variant : 'standard';
|
||||
$headingTag = ! empty($first) ? 'h1' : 'h2';
|
||||
$loading = ! empty($first) ? 'loading="eager" fetchpriority="high"' : 'loading="lazy"';
|
||||
@endphp
|
||||
<div @class([
|
||||
'hero',
|
||||
'hero-'.$variant,
|
||||
'hero-with-image' => $imageUrl,
|
||||
'hero-text-left' => $variant === 'stage' && $textSide === 'left',
|
||||
]) style="--hero-focus: {{ $focus }}">
|
||||
@if ($imageUrl && $variant === 'stage')
|
||||
<div class="hero-media">
|
||||
<img class="hero-image" src="{{ $imageUrl }}" alt="{{ $data['alt'] ?? '' }}" {!! $loading !!} decoding="async">
|
||||
</div>
|
||||
@endif
|
||||
<div class="hero-frame">
|
||||
<div class="hero-copy">
|
||||
@if ($variant === 'stage' || $variant === 'highlight')
|
||||
<x-brand.rays class="hero-rays" />
|
||||
@endif
|
||||
<{{ $headingTag }}>{{ $data['heading'] ?? '' }}</{{ $headingTag }}>
|
||||
<x-brand.underline class="hero-mark" />
|
||||
@if (filled($data['text'] ?? null))
|
||||
<p class="lede">{{ $data['text'] }}</p>
|
||||
@endif
|
||||
@if ($actions !== [])
|
||||
<div class="hero-actions">
|
||||
@foreach ($actions as $index => $item)
|
||||
<a @class(['button', 'button-brand' => $index === 0, 'button-secondary' => $index > 0]) href="{{ $item['url'] }}">{{ $item['label'] }}</a>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@if ($imageUrl)
|
||||
<img class="hero-image" src="{{ $imageUrl }}" alt="{{ $data['alt'] ?? '' }}">
|
||||
@if ($imageUrl && $variant !== 'stage')
|
||||
<figure class="hero-figure">
|
||||
<img class="hero-image" src="{{ $imageUrl }}" alt="{{ $data['alt'] ?? '' }}" {!! $loading !!} decoding="async">
|
||||
@if ($variant === 'standard')
|
||||
<x-brand.rays class="hero-rays" />
|
||||
@endif
|
||||
</figure>
|
||||
@endif
|
||||
</div>
|
||||
@@ -1,6 +1,9 @@
|
||||
<div class="image-text image-text-{{ $variant === 'image_right' ? 'right' : 'left' }} @unless ($imageUrl) image-text-no-image @endunless">
|
||||
{{-- Bild und Text. Varianten: image_left, image_right. Einstellungen: Bildformat und Bildausschnitt. --}}
|
||||
<div class="image-text image-text-{{ $variant === 'image_right' ? 'right' : 'left' }} @unless ($imageUrl) image-text-no-image @endunless image-format-{{ $format }}" style="--image-focus: {{ $focus }}">
|
||||
@if ($imageUrl)
|
||||
<img src="{{ $imageUrl }}" alt="{{ $data['alt'] ?? '' }}" loading="lazy">
|
||||
<figure class="image-text-figure">
|
||||
<img src="{{ $imageUrl }}" alt="{{ $data['alt'] ?? '' }}" @if (! empty($first)) loading="eager" fetchpriority="high" @else loading="lazy" @endif decoding="async">
|
||||
</figure>
|
||||
@endif
|
||||
<div class="image-text-copy">
|
||||
@if (filled($data['title'] ?? null))
|
||||
@@ -9,6 +12,7 @@
|
||||
@else
|
||||
<h2>{{ $data['title'] }}</h2>
|
||||
@endif
|
||||
<x-brand.underline class="image-text-mark" />
|
||||
@endif
|
||||
<div class="prose">{!! $body !!}</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user