@extends('layouts.dashboard.template') @section('content') @php $catalog = $catalog ?? \App\Models\ThemeSetting::sectionCatalog(); $layoutSections = $layoutSections ?? $theme->getLayoutSections(); $activeTab = $activeTab ?? request('tab', 'header'); $hiddenCount = collect($layoutSections)->filter(fn ($r) => empty($r['visible']))->count(); @endphp