@php $meta = $c['meta'] ?? []; $theme = $meta['theme'] ?? []; $favicon = $meta['favicon'] ?? ($meta['logoImage'] ?? ''); $pageKey = $pageKey ?? 'home'; @endphp @yield('pageTitle', $meta['siteName'] ?? 'Digital Growth Experts Technologies') @if(!empty($favicon)) @endif @vite(['resources/css/site.css', 'resources/js/site.js']) {{-- The CMS preview already edits through the editor, so it never loads the inline tools. --}} @if(empty($draftPreview)) @auth @vite(['resources/css/inline-edit.css', 'resources/js/inline-edit.js']) @endauth @endif {{-- Loaded after the bundle and one level more specific, so CMS colours always win. --}} @auth @if(!empty($meta['maintenance']['enabled']))
Maintenance mode is on. Visitors see a holding page — you can edit and publish from here. Manage
@endif @endauth @include('site.newsbar', ['news' => $c['news'] ?? []]) @include('site.header', ['meta' => $meta, 'nav' => $c['nav'] ?? []])
@yield('content')
@include('site.footer', ['footer' => $c['footer'] ?? [], 'meta' => $meta]) @if(!empty($meta['whatsapp'])) @endif