{{-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 4 & Angular 8 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Dribbble: www.dribbble.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes Renew Support: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project. --}} printHtmlAttributes('html') !!} {{ theme()->printHtmlClasses('html') }}> {{-- Title Section --}} {{ $settings['app_name']??config('app.name') }} | @yield('title', $page_title ?? '') {{-- Meta Data --}} {{-- Favicon --}} @php $favIcon = asset('images/favicon.png'); if(isset($settings['fav_icon']) && !empty($settings['fav_icon'])){ $favIcon = asset('uploads/settings/'.$settings['fav_icon']); } @endphp {{-- begin::Fonts --}} {{ theme()->includeFonts() }} {{-- end::Fonts --}} @if (theme()->hasOption('page', 'assets/vendors/css')) {{-- begin::Page Vendor Stylesheets(used by this page) --}} @foreach (array_unique(theme()->getOption('page', 'assets/vendors/css')) as $file) {!! preloadCss(assetCustom($file)) !!} @endforeach {{-- end::Page Vendor Stylesheets --}} @endif @if (theme()->hasOption('page', 'assets/custom/css')) {{-- begin::Page Custom Stylesheets(used by this page) --}} @foreach (array_unique(theme()->getOption('page', 'assets/custom/css')) as $file) {!! preloadCss(assetCustom($file)) !!} @endforeach {{-- end::Page Custom Stylesheets --}} @endif @if (theme()->hasOption('assets', 'css')) {{-- begin::Global Stylesheets Bundle(used by all pages) --}} @foreach (array_unique(theme()->getOption('assets', 'css')) as $file) @if (strpos($file, 'plugins') !== false) {!! preloadCss(assetCustom($file)) !!} @else @endif @endforeach {{-- end::Global Stylesheets Bundle --}} @endif @foreach(config('layout.resources.css') as $style) @endforeach {{-- Includable CSS --}} @yield('styles') @php $isMobileView = false; if (!empty($isMobile) && $isMobile = true) { $isMobileView = true; } @endphp @if (theme()->getOption('layout', 'loader/display') === true) {{ theme()->getView('layout/_loader') }} @endif @if (theme()->getOption('layout', 'main/type') === 'blank')
{{ $slot }}
@else
@if (!$isMobileView) {{ theme()->getView('layout/aside/_base') }} @endif
@if (!$isMobileView) {{ theme()->getView('layout/header/_base') }} @endif
{{ theme()->getView('layout/_content', compact('slot', 'isMobileView')) }}
@if (!$isMobileView) {{ theme()->getView('layout/_footer') }} @endif
{{ theme()->getView('partials/topbar/_activity-drawer') }} @if (!$isMobileView) {{ theme()->getView('partials/engage/_main') }} @endif @if(theme()->getOption('layout', 'scrolltop/display') === true) {{ theme()->getView('layout/_scrolltop') }} @endif @endif {{-- begin::Javascript --}} @if (theme()->hasOption('assets', 'js')) {{-- begin::Global Javascript Bundle(used by all pages) --}} @foreach (array_unique(theme()->getOption('assets', 'js')) as $file) @endforeach {{-- end::Global Javascript Bundle --}} @endif @if (theme()->hasOption('page', 'assets/vendors/js')) {{-- begin::Page Vendors Javascript(used by this page) --}} @foreach (array_unique(theme()->getOption('page', 'assets/vendors/js')) as $file) @endforeach {{-- end::Page Vendors Javascript --}} @endif @if (theme()->hasOption('page', 'assets/custom/js')) {{-- begin::Page Custom Javascript(used by this page) --}} @foreach (array_unique(theme()->getOption('page', 'assets/custom/js')) as $file) @endforeach {{-- end::Page Custom Javascript --}} @endif {{-- Global Config (global config for global JS scripts) --}} {{-- Global Theme JS Bundle (used by all pages) --}} @foreach(config('layout.resources.js') as $script) @endforeach {{-- end::Javascript --}} {{ theme()->getView('layout/common-scripts') }} {{ theme()->getView('layout/global-chat-scripts') }} {{-- Includable JS --}} @yield('scripts') @stack('custom-scripts')