@php $disable_floating_menu = true; $google_fonts_string = ''; $dashboard_scss_path = 'resources/views/' . get_theme() . '/scss/dashboard.scss'; $app_js_path = 'resources/views/' . get_theme() . '/js/app.js'; $wide_layout_px_class = Theme::getSetting('wideLayoutPaddingX', ''); $theme_google_fonts = Theme::getSetting('dashboard.googleFonts'); $sidebarEnabledPages = Theme::getSetting('dashboard.sidebarEnabledPages') ?? []; $has_sidebar = in_array(Route::currentRouteName(), $sidebarEnabledPages) || (isset($has_sidebar) && $has_sidebar); if (isset($wide_layout_px) && !empty($wide_layout_px)) { $wide_layout_px_class = $wide_layout_px; } $i = 0; foreach ($theme_google_fonts as $font_name => $weights) { $font_string = 'family=' . str_replace(' ', '+', $font_name); if (!empty($weights)) { $font_string .= ':wght@' . implode(';', $weights); } $google_fonts_string .= $font_string . ($i === count($theme_google_fonts) - 1 ? '' : '&'); $i++; } @endphp
@if (isset($setting->google_analytics_code)) @endif @if (isset($setting->meta_keywords)) @endif {{--