{{-- ===== TOP INFO BAR (Desktop Only) ===== --}}
ঢাকা
{{ banglaDateTime() }} ({{ now()->format('d-M-Y') }})
Select Language
বাংলা
English
{{-- ===== STICKY HEADER (Desktop Only) ===== --}}
{{-- Logo + Banner --}}
{{-- Navigation --}}
{{-- Hamburger --}}
{{-- Menu Items --}}
@php $mainMenuItems = menus(1); @endphp @foreach ($mainMenuItems as $item) @php if ($item->type == 'custom') { $title = $item->title; $url = $item->url; } elseif ($item->type == 'page') { $title = $item->title; $url = $item->url; } else { $title = $item->category ? $item->category->name : $item->bn_name; $url = category_url($item->category); } $hasChildren = $item->category && $item->category->categories->count() > 0; $isMega = $item->category && $item->category->is_mega_menu; @endphp
{{ $title }} @if ($hasChildren)
@endif
@if ($hasChildren) @if ($isMega) {{-- Mega Menu --}}
@foreach ($item->category->categories as $child) @php $childHasChildren = $child->categories->count() > 0; @endphp
{{ $child->name ?? $child->bn_name }}
@if ($childHasChildren)
@endif
@if ($childHasChildren)
@foreach ($child->categories as $grandChild)
{{ $grandChild->name ?? $grandChild->bn_name }}
@endforeach
@endif
@endforeach
@else {{-- Standard Dropdown --}}
@foreach ($item->category->categories as $child) @php $childHasChildren = $child->categories->count() > 0; @endphp
@if ($childHasChildren)
@endif {{ $child->name ?? $child->bn_name }} @if ($childHasChildren)
@endif
@if ($childHasChildren)
@foreach ($child->categories as $grandChild)
{{ $grandChild->name ?? $grandChild->bn_name }}
@endforeach
@endif
@endforeach
@endif @endif
@endforeach
{{-- Social Icons --}}
@if (!empty($setting->facebook))
@endif @if (!empty($setting->youtube))
@endif @if (!empty($setting->linkedin))
@endif @if (!empty($setting->twitter))
@endif
{{-- ===== MOBILE HEADER (Fixed, Mobile Only) ===== --}}
{{-- ===== DRAWER ===== --}}
ক্যাটাগরি
হোম
@php $allCategories = categories(); @endphp @foreach ($allCategories as $cat) @php $hasSub = $cat->categories->count() > 0; @endphp
{{ $cat->name }}
@if ($hasSub)
@foreach ($cat->categories as $subCat)
{{ $subCat->name }}
@endforeach
@endif
@endforeach
{{-- Drawer Social --}} @php $setting = setting(); @endphp
সামাজিক মাধ্যম
@if (!empty($setting->facebook))
@endif @if (!empty($setting->youtube))
@endif @if (!empty($setting->telegram))
@endif @if (!empty($setting->instagram))
@endif @if (!empty($setting->twitter))
@endif @if (!empty($setting->linkedin))
@endif
{{-- ===== OVERLAY ===== --}}
{{-- ===== SCRIPTS ===== --}}