@php $tabs = [ 'general' => ['label' => 'General', 'icon' => 'bx bx-store'], 'branding' => ['label' => 'Branding', 'icon' => 'bx bx-image'], 'contact' => ['label' => 'Contact', 'icon' => 'bx bx-map'], 'social' => ['label' => 'Social Media', 'icon' => 'bx bx-share-alt'], 'email' => ['label' => 'Email / SMTP', 'icon' => 'bx bx-envelope'], 'seo-defaults' => ['label' => 'SEO Defaults', 'icon' => 'bx bx-search-alt'], ]; $activeTab = request()->route('type'); @endphp
@foreach ($tabs as $key => $tab) {{ $tab['label'] }} @endforeach