Füge Symbol vor Überschriften, Pinselstrich und Merkmalszeile ins CMS ein
CI Feature / test (push) Successful in 2m40s
CI Feature / test (push) Successful in 2m40s
Die Kleingrafiken des Brand-Kits sind jetzt im Redaktionsinhalt wählbar, nicht nur an Medienkarten: - Einstellung "Symbol vor der Überschrift" (settings.symbol) an Überschrift, Einstieg, Bild und Text und Handlungsaufruf. Feste Auswahl von 14 Symbolen (HeadingAccent::SYMBOLS), ein unbekannter Name wird beim Speichern abgewiesen. - Einstellung "Pinselstrich" (settings.accent = brush) am Widget Überschrift. - Neues Widget "Merkmalszeile" (features): zwei bis vier Merkmale mit Symbol, Kurztitel und Satz; die Anzahl bestimmt die Spalten. - Auf dunklen Flächen stehen die Symbole auf einer weißen Scheibe, weil sie feste Markenfarben mit viel Navy haben. - brand/symbol erzeugt keine Zeilenumbrüche mehr um das SVG, damit es im Fließtext und in Überschriften keine zusätzliche Lücke gibt. Der Test der Widget-Reihenfolge kennt das neue Widget bewusst (features nach cards). Stufe 3b (Symbole mitten im Fließtext) bleibt zurückgestellt. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bb08b9b3fa
commit
cf8189623c
23 files changed
+541
-15
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{{--
|
||||
Merkmalszeile: zwei bis vier Merkmale mit Symbol, Kurztitel und Satz. Die Spaltenzahl folgt der Anzahl der Einträge
|
||||
und der tatsächlichen Breite (Raster mit Mindestbreite). Die Symbole sind Zierde; der Kurztitel trägt die Aussage.
|
||||
--}}
|
||||
@if ($items !== [])
|
||||
<ul class="lf-features lf-features--{{ count($items) }}">
|
||||
@foreach ($items as $item)
|
||||
<li class="lf-features__item">
|
||||
@if ($item['symbol'] !== null)
|
||||
<x-brand.symbol :name="$item['symbol']" class="lf-features__symbol" />
|
||||
@endif
|
||||
<p class="lf-features__title">{{ $item['title'] }}</p>
|
||||
@if (filled($item['text']))
|
||||
<p class="lf-features__text">{{ $item['text'] }}</p>
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
Reference in new issue
Block a user