{{-- Fonts --}}
{{-- Scripts --}} @stack('styles')
{{-- Notification --}}
{{-- Navigation --}}
{{-- Mobile Menu Button --}}
{{-- Logo --}}
@php $siteLogo = setting('site_logo'); $headerLogo = isset($headerSettings->logo) ? $headerSettings->logo : null; $logo = !empty($siteLogo) ? $siteLogo : $headerLogo; $logoUrl = null; if ($logo) { if (str_starts_with($logo, 'http')) { $logoUrl = $logo; } else { $logoUrl = asset('storage/' . ltrim($logo, '/')); } } @endphp @if($logoUrl)
@else
{{ $headerSettings->site_name ?? 'Digital' }}
{{ $headerSettings->site_suffix ?? 'Store' }}
@endif
@if(isset($headerMenu) && $headerMenu) @foreach($headerMenu->items->where('parent_id', null) as $item) @if($item->children->count() > 0)
{{ $item->title }}
@foreach($item->children as $child)
@if($child->icon)
{{ $child->icon }}
@endif {{ $child->title }}
@endforeach
@else
{{ $item->title }}
@endif @endforeach @else {{-- Fallback Navigation --}}
Home
Marketplace
Insights
@endif
{{-- Actions --}}
{{-- Mobile Menu Drawer --}}
{{-- Backdrop --}}
{{-- Content --}}
{{-- Drawer Header --}}
Digital Menu
{{-- Drawer Body --}}
@if(isset($headerMenu) && $headerMenu) @foreach($headerMenu->items->where('parent_id', null) as $item) @if($item->children->count() > 0)
{{ $item->title }}
@foreach($item->children as $child)
{{ $child->title }}
@endforeach
@else
{{ $item->title }}
@endif @endforeach @else
Home
All Products
Blog
@endif
{{-- User Actions --}}
Shopping Cart
My Account
{{-- Drawer Footer --}}
Digital Agence Premium
@yield('content')
{{-- Footer --}}
@stack('scripts')