@php
$seoTitle = isset($mwSeo) ? $mwSeo->meta_title : trim($__env->yieldContent('title', 'Meatworx'));
$seoDescription = isset($mwSeo) ? $mwSeo->meta_description : trim($__env->yieldContent('meta_description', 'Online Fresh Jhatka Chicken, Goat Mutton & fish. Best Jhatka Meat shop Gurgaon.'));
$seoKeywords = isset($mwSeo) ? $mwSeo->meta_keywords : trim($__env->yieldContent('meta_keywords', ''));
$seoRobots = isset($mwSeo) ? $mwSeo->robots : 'index,follow';
$seoOgTitle = isset($mwSeo) && $mwSeo->og_title !== '' ? $mwSeo->og_title : $seoTitle;
$seoOgDescription = isset($mwSeo) && $mwSeo->og_description !== '' ? $mwSeo->og_description : $seoDescription;
if ($seoTitle === '') {
$seoTitle = 'Meatworx';
}
@endphp
{{ $seoTitle }}
@if($seoKeywords !== '')
@endif
@if(!empty($mwSeo->image))
@endif
@stack('styles')
@php
$navCategories = \App\Models\Category::where('is_active', true)
->whereNotIn('slug', ['bestsellers', 'uncategorized', 'delhi'])
->orderBy('sort_order')
->get();
$cartCount = \App\Support\Cart::count();
$cartItems = \App\Support\Cart::items();
$cartSubtotal = \App\Support\Cart::subtotal();
$contentPages = \App\Models\PageSeo::query()
->where('is_content', true)
->where('is_active', true)
->orderBy('id')
->get();
$iconMap = [
'chicken' => 'theme/icons/chicken.svg',
'mutton' => 'theme/icons/mutton.svg',
'fish-sea-food' => 'theme/icons/fish.svg',
'eggs' => 'theme/icons/eggs.svg',
'ready-to-cook' => 'theme/icons/ready-to-cook.svg',
'gym-diet' => 'theme/icons/gym-diet.svg',
];
@endphp
{{-- Top bar: contact left, links right (oldsite) --}}
{{-- Header: logo left, category icons, cart --}}
@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
@yield('content')
✆
@stack('scripts')