Files
laraundfelix/resources/views/filament/media/mark.blade.php
T
LarsandCursor 3e56314cf9
Deploy Test / test (push) Successful in 45s
Deploy Test / deploy (push) Successful in 30s
Zeige den Medienbestand als Kacheln und Liste mit Fassung, Freigabe und Verwendung.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 19:44:51 +01:00

35 lines
1.7 KiB
PHP

<span class="luf-medium-mark" data-fallback="{{ $typeKey }}" aria-hidden="true">
@switch($typeKey)
@case('film')
<svg viewBox="0 0 160 90">
<rect x="18" y="22" width="124" height="46" fill="none" stroke="currentColor" stroke-width="3"/>
<path d="M72 35 L98 45 L72 55 Z" fill="currentColor"/>
</svg>
@break
@case('audio')
<svg viewBox="0 0 160 90">
<path d="M30 45 H46 L66 28 V62 L46 45 Z" fill="none" stroke="currentColor" stroke-width="3"/>
<path d="M80 34 Q96 45 80 56 M96 26 Q122 45 96 64" fill="none" stroke="currentColor" stroke-width="3"/>
</svg>
@break
@case('bild')
<svg viewBox="0 0 160 90">
<rect x="22" y="18" width="116" height="54" fill="none" stroke="currentColor" stroke-width="3"/>
<circle cx="58" cy="38" r="7" fill="none" stroke="currentColor" stroke-width="3"/>
<path d="M34 62 L62 44 L84 58 L104 40 L126 62" fill="none" stroke="currentColor" stroke-width="3"/>
</svg>
@break
@case('document')
<svg viewBox="0 0 160 90">
<path d="M58 16 H96 L112 32 V74 H58 Z" fill="none" stroke="currentColor" stroke-width="3"/>
<path d="M96 16 V32 H112 M70 46 H100 M70 58 H100" fill="none" stroke="currentColor" stroke-width="3"/>
</svg>
@break
@default
<svg viewBox="0 0 160 90">
<path d="M36 28 H124 M36 45 H124 M36 62 H96" fill="none" stroke="currentColor" stroke-width="3"/>
</svg>
@endswitch
<span class="luf-sr">{{ $type }}</span>
</span>