@php /** * Legacy browse-categories view ported from oldSite/pages/browse-categories.page.php * Variables: $categories (collection), $fixName (callable) */ @endphp @extends('layouts.nova') @section('content') @php $sanitizeHtml = fn (?string $value) => \App\Services\ContentSanitizer::sanitizeRenderedHtml($value ?? ''); @endphp

Browse Categories

List of all categories at Skinbase

@if (class_exists('\App\Banner')) @endif @foreach ($contentTypes as $ct)

{{ $ct->name }}

{!! $sanitizeHtml($ct->description) !!}

@php $roots = $categoriesByType[$ct->slug] ?? $ct->rootCategories ?? collect(); @endphp @if ($roots->isEmpty())
No categories for this content type.
@else @endif
@endforeach @endsection