@php // Batch load site logo setting to avoid multiple database queries $themeSettings = get_batch_settings(['theme.dark_logo', 'theme.custom_js_footer', 'theme.description']); $siteLogo = $themeSettings['theme.dark_logo'] ? Storage::url($themeSettings['theme.dark_logo']) : asset('img/dark_logo.png'); $footerJs = $themeSettings['theme.custom_js_footer'] ?? ''; @endphp