Gestalte den Mitgliederbereich fuer den Kursraum
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
abcdc6908e
commit
1d8315c9a4
21 files changed
+1064
-169
No files matched your search
@@ -0,0 +1,25 @@
|
||||
@php
|
||||
$coverageLabel = match ($card['coverage'] ?? '') {
|
||||
'nutzbar' => 'Nutzbar',
|
||||
'teilweise' => 'Teilweise nutzbar',
|
||||
default => 'Nicht enthalten',
|
||||
};
|
||||
@endphp
|
||||
<article class="media-card">
|
||||
<a href="{{ $href }}">
|
||||
<div class="thumb">
|
||||
<span class="flag">{{ $card['kind'] ?: 'Material' }}</span>
|
||||
<span class="thumb-label">{{ filled($card['image'] ?? null) ? $card['image'] : 'Platzhalter' }}</span>
|
||||
</div>
|
||||
<div class="card-copy">
|
||||
<h2>{{ $card['title'] }}</h2>
|
||||
@if (filled($card['summary'] ?? null))
|
||||
<p>{{ $card['summary'] }}</p>
|
||||
@endif
|
||||
<p class="state state-{{ $card['coverage'] ?? 'offen' }}">{{ $coverageLabel }}</p>
|
||||
@if (filled($card['error'] ?? null))
|
||||
<p class="state state-hinweis">{{ $card['error'] }}</p>
|
||||
@endif
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
Reference in new issue
Block a user