{{ $banner->title }}
{{ $banner->description }}
@if($heroImage)@php $currency = \App\Models\AppSetting::getValue('currency_symbol', '₹'); $banner = $banners->first(); $heroImage = $banner?->image ? \App\Services\MediaStorage::url($banner->image) : null; $categorySection = $homeSections->first(fn ($section) => in_array($section['type'], ['categories', 'cuisine_grid'], true)); $subcategorySections = $homeSections->filter(fn ($section) => in_array($section['type'], ['subcategory_product_sections', 'subcategory_products', 'sub_category_products', 'subcategory_shelves'], true)); $productSections = $homeSections->filter(fn ($section) => collect($section['items'] ?? [])->contains(fn ($item) => data_get($item, 'price') !== null && data_get($item, 'restaurant_id') !== null)); $storeSections = $homeSections->filter(fn ($section) => in_array($section['type'], ['restaurant_grid', 'featured_restaurants', 'recommended_for_you', 'nearby_restaurants', 'popular_restaurants', 'new_arrivals', 'trending_near_you', 'shop_by_brand'], true)); @endphp
{{ $banner->description }}
@if($heroImage)