@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $categoryLabels = $categories->pluck('name', 'slug'); @endphp
Categories
@forelse($albums as $album)
@if($album->cover_image)
{{ $album->title }}
@endif

{{ $album->title }}

{{ $categoryLabels[$album->category] ?? $album->category }} · {{ $album->items->count() }} item(s)

{{ $album->is_public ? 'Public' : 'Hidden' }}
@csrf
@if($album->items->isNotEmpty())
@foreach($album->items as $index => $item)
{{ $index + 1 }}. {{ ucfirst($item->type) }}{{ $item->caption ? ' — '.$item->caption : '' }}
@if($item->type === 'photo' && $item->file_path) View @elseif($item->type === 'video' && $item->embed_url) Watch @endif
@endforeach
@endif
@empty

No albums yet

Create your first album to start sharing photos and videos from campus life, events, and celebrations on the public site.

@endforelse
@csrf
Cover preview