Files
laraundfelix/resources/views/public/blocks/cards.blade.php
T
LarsandCursor 2035c46edd
Deploy Test / test (push) Successful in 2m25s
Deploy Test / deploy (push) Failing after 25s
Stelle das U0-Fundament mit CMS, Mitgliedern und Filament bereit.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 08:32:14 +01:00

20 lines
624 B
PHP

<ul class="cards">
@foreach ($block['items'] as $item)
<li class="card">
@if (filled($item['url'] ?? null))
<a href="{{ $item['url'] }}">
<h3>{{ $item['title'] }}</h3>
@if (filled($item['text'] ?? null))
<p>{{ $item['text'] }}</p>
@endif
</a>
@else
<h3>{{ $item['title'] }}</h3>
@if (filled($item['text'] ?? null))
<p>{{ $item['text'] }}</p>
@endif
@endif
</li>
@endforeach
</ul>