Füge großes Symbol neben dem Absatz und Links in der Merkmalszeile hinzu
Nach der ersten Sichtung auf luf-test: - Einstellung "Größe des Symbols" (settings.symbol_size = large) bei Überschrift und Handlungsaufruf: das Symbol steht groß links neben Überschrift, Text und Schaltfläche, bei höchstens 24 rem Slotbreite darüber. Vorgabe bleibt das kleine Symbol vor der Überschrift. Ohne gewähltes Symbol hat die Größe keine Wirkung. - Merkmalszeile: je Merkmal optional Linkziel (SafeUrl) und Linktext (Vorgabe "Mehr erfahren", ohne Linkziel verworfen). Die Einstellung "Darstellung der Links" wählt für das Widget kleiner Textlink (Vorgabe) oder Pille. Der zugängliche Name des Links nennt das Merkmal. - Auf dunklen Flächen steht auch das große Symbol auf einer weißen Scheibe. - Doku: Die Tabelle in cms-widget-registry.md war durch meinen früheren Absatz zerrissen (Zeile "Höhe" stand außerhalb) und ist wieder in Ordnung. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ad581cb545
commit
3c7a71532f
14 files changed
+270
-12
No files matched your search
@@ -1,9 +1,16 @@
|
||||
@php
|
||||
$symbol = \App\Domain\Cms\Widgets\Support\HeadingAccent::symbol($settings);
|
||||
$large = \App\Domain\Cms\Widgets\Support\HeadingAccent::isLarge($settings);
|
||||
$inline = $large ? [] : $settings;
|
||||
@endphp
|
||||
@if ($large)<div class="lf-lead"><x-brand.symbol :name="$symbol" class="lf-lead__symbol" /><div class="lf-lead__body">@endif
|
||||
@if (! empty($first))
|
||||
<h1><x-brand.heading-symbol :settings="$settings" />{{ $data['heading'] ?? '' }}</h1>
|
||||
<h1><x-brand.heading-symbol :settings="$inline" />{{ $data['heading'] ?? '' }}</h1>
|
||||
@else
|
||||
<h2><x-brand.heading-symbol :settings="$settings" />{{ $data['heading'] ?? '' }}</h2>
|
||||
<h2><x-brand.heading-symbol :settings="$inline" />{{ $data['heading'] ?? '' }}</h2>
|
||||
@endif
|
||||
<x-brand.heading-brush :settings="$settings" />
|
||||
@if (filled($data['intro'] ?? null))
|
||||
<p class="lede">{{ $data['intro'] }}</p>
|
||||
@endif
|
||||
@if ($large)</div></div>@endif
|
||||
Reference in new issue
Block a user