@extends('backend.settings.index') @section('setting_title', __('Site Settings')) @section('setting_content') @php $activeSection = session()->get('section', 'general_settings'); $visibleSettings = collect($settings)->except('hide_settings'); $totalEditableFields = $visibleSettings->sum( fn (array $section): int => collect($section['elements'] ?? []) ->filter(fn (array $field): bool => ($field['type'] ?? null) !== 'hidden') ->count() ); $settingFieldClass = static function (array $field): string { return $field['class'] ?? 'col-12'; }; @endphp
{{ __('Manage brand, role colors, security, email, agent, cookie, and maintenance controls from one structured workspace.') }}