Wire admin studio SSR and search infrastructure

This commit is contained in:
2026-05-01 11:46:06 +02:00
parent 257b0dbef6
commit 18cea8b0f0
329 changed files with 197465 additions and 2741 deletions

View File

@@ -25,7 +25,7 @@
<!-- Logo -->
<a href="/" class="flex items-center gap-2 pr-2 shrink-0">
<img src="/gfx/sb_logo.webp" alt="" width="289" height="100" class="h-9 w-auto rounded-sm shadow-sm object-contain">
<img src="https://cdn.skinbase.org/images/sb_logo.webp" alt="" width="289" height="100" class="h-9 w-auto rounded-sm shadow-sm object-contain">
<span class="sr-only">Skinbase.org</span>
</a>
@@ -45,6 +45,7 @@
'digital-art' => 'fa-palette',
'other' => 'fa-folder-open',
];
$toolbarActiveCampaign = $toolbarActiveCampaign ?? null;
$navSection = match(true) {
request()->is('discover', 'discover/*') => 'discover',
request()->is('worlds', 'worlds/*') => 'discover',
@@ -90,6 +91,15 @@
<a class="flex items-center gap-3 px-4 py-2.5 text-sm hover:bg-white/5" href="{{ route('worlds.index') }}">
<i class="fa-solid fa-globe w-4 text-center text-sb-muted"></i>Worlds
</a>
@if($toolbarActiveCampaign)
<a class="flex items-center gap-3 px-4 py-2.5 text-sm border-t border-white/5 bg-white/[0.02] hover:bg-white/5" href="{{ $toolbarActiveCampaign['url'] }}">
<i class="fa-solid fa-bolt w-4 text-center text-emerald-300"></i>
<span>
<span class="block text-[11px] uppercase tracking-[0.16em] text-emerald-200/75">{{ $toolbarActiveCampaign['campaign_label'] }}</span>
<span class="block text-white">{{ \Illuminate\Support\Str::limit($toolbarActiveCampaign['title'], 24) }}</span>
</span>
</a>
@endif
@if($skinbaseToolbarCanAuth)
<a class="flex items-center gap-3 px-4 py-2.5 text-sm hover:bg-white/5" href="{{ route('discover.for-you') }}">
<i class="fa-solid fa-wand-magic-sparkles w-4 text-center"></i>For You
@@ -494,6 +504,9 @@
<a class="flex items-center gap-3 py-2.5 px-3 rounded-lg hover:bg-white/5" href="{{ route('downloads.today') }}"><i class="fa-solid fa-arrow-down-short-wide w-4 text-center text-sb-muted"></i>Today Downloads</a>
<a class="flex items-center gap-3 py-2.5 px-3 rounded-lg hover:bg-white/5" href="/discover/on-this-day"><i class="fa-solid fa-calendar-day w-4 text-center text-sb-muted"></i>On This Day</a>
<a class="flex items-center gap-3 py-2.5 px-3 rounded-lg {{ request()->is('worlds', 'worlds/*') ? 'bg-white/10 text-white' : 'hover:bg-white/5' }}" href="{{ route('worlds.index') }}"><i class="fa-solid fa-stars w-4 text-center text-sb-muted"></i>Worlds</a>
@if($toolbarActiveCampaign)
<a class="flex items-center gap-3 py-2.5 px-3 rounded-lg border border-emerald-300/10 bg-emerald-400/10 hover:bg-emerald-400/15" href="{{ $toolbarActiveCampaign['url'] }}"><i class="fa-solid fa-bolt w-4 text-center text-emerald-200"></i>{{ \Illuminate\Support\Str::limit($toolbarActiveCampaign['title'], 28) }}</a>
@endif
</div>
</div>