Implement creator studio and upload updates

This commit is contained in:
2026-04-04 10:12:02 +02:00
parent 1da7d3bf88
commit 0b216b7ecd
15107 changed files with 31206 additions and 626514 deletions

View File

@@ -4,15 +4,19 @@
@param \Illuminate\Support\Collection $breadcrumbs
Collection of objects with ->name and ->url properties.
--}}
@if(isset($breadcrumbs) && $breadcrumbs->isNotEmpty())
@php
$breadcrumbTrail = \App\Support\Seo\BreadcrumbTrail::normalize($breadcrumbs ?? collect());
@endphp
@if($breadcrumbTrail !== [])
<nav class="flex items-center gap-1.5 flex-wrap text-sm text-neutral-400" aria-label="Breadcrumb">
<a class="hover:text-white transition-colors" href="/">Home</a>
@foreach($breadcrumbs as $crumb)
<span class="opacity-40" aria-hidden="true"></span>
@foreach($breadcrumbTrail as $crumb)
@if(!$loop->first)
<span class="opacity-40" aria-hidden="true"></span>
@endif
@if(!$loop->last)
<a class="hover:text-white transition-colors" href="{{ $crumb->url }}">{{ $crumb->name }}</a>
<a class="hover:text-white transition-colors" href="{{ $crumb['url'] }}">{{ $crumb['name'] }}</a>
@else
<span class="text-white/70">{{ $crumb->name }}</span>
<span class="text-white/70" aria-current="page">{{ $crumb['name'] }}</span>
@endif
@endforeach
</nav>