12-05-2026 admin, Panel Displays

This commit is contained in:
Kevin Adametz 2026-05-12 18:28:38 +02:00
parent 0762e3beac
commit 6a65354f4c
43 changed files with 3273 additions and 410 deletions

View file

@ -34,6 +34,16 @@
@endif
</div>
<div class="h-16 w-12 shrink-0 overflow-hidden rounded-lg bg-zinc-200 dark:bg-zinc-700">
@if(($item->content['media_type'] ?? 'image') === 'image' && !empty($item->content['media_url']))
<img src="{{ $item->content['media_url'] }}" alt="" class="h-full w-full object-cover">
@else
<div class="flex h-full w-full items-center justify-center text-[10px] font-semibold uppercase text-zinc-500">
{{ ($item->content['media_type'] ?? 'image') === 'video' ? 'Video' : 'Bild' }}
</div>
@endif
</div>
<div class="flex-1 min-w-0">
<div class="flex items-center gap-3 mb-1">
<flux:badge :color="$item->is_active ? 'green' : 'zinc'" size="sm">