Merge remote-tracking branch 'origin/develop' into feature/shop-aufraeumen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
6160e95d57
8 files changed
+115
-17
No files matched your search
@@ -2,7 +2,8 @@
|
||||
Merkmalszeile: ein bis zwölf Merkmale mit Symbol, Kurztitel, Satz und optionalem Link. 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. Der Link erscheint als kleiner Textlink oder als Pille (Einstellung link_style); sein zugänglicher Name nennt
|
||||
das Merkmal, damit mehrere „Mehr erfahren“ unterscheidbar bleiben. Layout (Ausrichtung, Symbolgröße, Trennstrich) kommt
|
||||
das Merkmal, damit mehrere „Mehr erfahren“ unterscheidbar bleiben. Layout (Ausrichtung, Symbolgröße, Lage des Symbols,
|
||||
Trennstrich) kommt
|
||||
als Klassen an der Liste; ungültige Werte sind bereits auf die Vorgabe zurückgefallen (FeaturesWidget::layout).
|
||||
--}}
|
||||
@if ($items !== [])
|
||||
@@ -11,6 +12,7 @@
|
||||
'lf-features--'.count($items),
|
||||
'lf-features--'.$layout['align'],
|
||||
'lf-features--size-'.$layout['size'],
|
||||
'lf-features--symbol-'.$layout['position'] => $layout['position'] !== 'top',
|
||||
'lf-features--lines' => $layout['divider'],
|
||||
])>
|
||||
@foreach ($items as $item)
|
||||
@@ -18,13 +20,15 @@
|
||||
@if ($item['symbol'] !== null)
|
||||
<x-brand.symbol :name="$item['symbol']" class="lf-features__symbol" preserveAspectRatio="xMinYMin meet" />
|
||||
@endif
|
||||
<p class="lf-features__title">{{ $item['title'] }}</p>
|
||||
@if (filled($item['text']))
|
||||
<p class="lf-features__text">{{ $item['text'] }}</p>
|
||||
@endif
|
||||
@if ($item['url'] !== null)
|
||||
<p class="lf-features__more"><a class="lf-features__link lf-features__link--{{ $linkStyle }}" href="{{ $item['url'] }}" aria-label="{{ $item['linkLabel'] }}: {{ $item['title'] }}">{{ $item['linkLabel'] }}</a></p>
|
||||
@endif
|
||||
<div class="lf-features__body">
|
||||
<p class="lf-features__title">{{ $item['title'] }}</p>
|
||||
@if (filled($item['text']))
|
||||
<p class="lf-features__text">{{ $item['text'] }}</p>
|
||||
@endif
|
||||
@if ($item['url'] !== null)
|
||||
<p class="lf-features__more"><a class="lf-features__link lf-features__link--{{ $linkStyle }}" href="{{ $item['url'] }}" aria-label="{{ $item['linkLabel'] }}: {{ $item['title'] }}">{{ $item['linkLabel'] }}</a></p>
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user