@php $appName = App\Models\AppSetting::getValue('app_name', config('app.name', 'App')); $appLogo = App\Models\AppSetting::getValue('app_logo', null); $appFavicon = App\Models\AppSetting::getValue('app_favicon', null); $frontendBackgroundImage = App\Models\AppSetting::getValue('frontend_background_image', null); $frontendBackgroundImageUrl = $frontendBackgroundImage ? \Illuminate\Support\Facades\Storage::disk('public')->url($frontendBackgroundImage) : null; $headerBrandingType = App\Models\AppSetting::getValue('header_branding_type', 'text'); $headerBrandingType = in_array($headerBrandingType, ['text', 'logo', 'logo_text']) ? $headerBrandingType : 'text'; $primaryColor = App\Models\AppSetting::getValue('primary_color', '#EF4F5F'); $secondaryColor = App\Models\AppSetting::getValue('secondary_color', '#FF8C42'); $googleMapsKey = $googleMapsApiKey ?? App\Models\AppSetting::getValue('google_maps_api_key', App\Models\AppSetting::getValue('google_maps_key', '')); $currencySymbol = App\Models\AppSetting::getValue('currency_symbol', '₹'); $heroTitle = App\Models\AppSetting::getValue('hero_title', 'Where do you want to order from?'); $heroSubtitle = App\Models\AppSetting::getValue('hero_subtitle', 'Discover the best stores in your neighborhood'); $heroLocationPlaceholder = App\Models\AppSetting::getValue('hero_location_placeholder', 'Enter delivery location'); $heroSearchPlaceholder = App\Models\AppSetting::getValue('hero_search_placeholder', 'Search for store, cuisine or dish'); $heroSearchButtonText = App\Models\AppSetting::getValue('hero_search_button_text', 'Search'); $quickFilterVegOnly = App\Models\AppSetting::getValue('quick_filter_veg_only', 'Veg only'); $quickFilterUnder99 = App\Models\AppSetting::getValue('quick_filter_under_99', "Under {$currencySymbol} 99"); $quickFilterUnder199 = App\Models\AppSetting::getValue('quick_filter_under_199', "Under {$currencySymbol} 199"); $quickFilterBestsellers = App\Models\AppSetting::getValue('quick_filter_bestsellers', 'Bestsellers'); $statRestaurantCount = App\Models\AppSetting::getValue('stat_restaurant_count', '500+'); $statRestaurantLabel = App\Models\AppSetting::getValue('stat_restaurant_label', 'Partner Stores'); $statOrderCount = App\Models\AppSetting::getValue('stat_order_count', '10K+'); $statOrderLabel = App\Models\AppSetting::getValue('stat_order_label', 'Orders Delivered'); $statUserCount = App\Models\AppSetting::getValue('stat_user_count', '50K+'); $statUserLabel = App\Models\AppSetting::getValue('stat_user_label', 'Happy Users'); $statCityCount = App\Models\AppSetting::getValue('stat_city_count', '25+'); $statCityLabel = App\Models\AppSetting::getValue('stat_city_label', 'Cities Covered'); $partnerNavText = App\Models\AppSetting::getValue('partner_nav_text', 'Partner with Us'); $partnerModalTitle = App\Models\AppSetting::getValue('partner_modal_title', 'Partner with ' . $appName); $partnerModalSubtitle = App\Models\AppSetting::getValue('partner_modal_subtitle', 'Choose a partner journey and grow with our delivery network.'); $partnerRestaurantTitle = App\Models\AppSetting::getValue('partner_restaurant_title', 'Store Partner'); $partnerRestaurantText = App\Models\AppSetting::getValue('partner_restaurant_text', 'List your store & reach thousands of customers'); $partnerDriverTitle = App\Models\AppSetting::getValue('partner_driver_title', 'Delivery Partner'); $partnerDriverText = App\Models\AppSetting::getValue('partner_driver_text', 'Earn money by delivering on your own schedule'); $footerDescription = App\Models\AppSetting::getValue('footer_description', 'Order food from the best stores in your city. Fast delivery, great taste!'); $footerCompanyTitle = App\Models\AppSetting::getValue('footer_company_title', 'Company'); $footerSupportTitle = App\Models\AppSetting::getValue('footer_support_title', 'Support'); $footerLegalTitle = App\Models\AppSetting::getValue('footer_legal_title', 'Legal'); $footerLinkAbout = App\Models\AppSetting::getValue('footer_link_about', 'About Us'); $footerLinkCareers = App\Models\AppSetting::getValue('footer_link_careers', 'Careers'); $footerLinkBlog = App\Models\AppSetting::getValue('footer_link_blog', 'Blog'); $footerLinkHelp = App\Models\AppSetting::getValue('footer_link_help', 'Help Center'); $footerLinkContact = App\Models\AppSetting::getValue('footer_link_contact', 'Contact Us'); $footerLinkFaqs = App\Models\AppSetting::getValue('footer_link_faqs', 'FAQs'); $footerCopyright = App\Models\AppSetting::getValue('footer_copyright', 'All rights reserved.'); @endphp {{ $appName }} - Order food from best stores near you
{{ $appName }}
{{ $partnerNavText }} @auth My Orders
@csrf
@else Login Sign Up @endauth
@if($frontendBackgroundImageUrl) @endif

{!! $heroTitle !!}

{{ $heroSubtitle }}

{{ $statRestaurantCount }}
{{ $statRestaurantLabel }}
{{ $statOrderCount }}
{{ $statOrderLabel }}
{{ $statUserCount }}
{{ $statUserLabel }}
{{ $statCityCount }}
{{ $statCityLabel }}
@foreach($homepageSections as $section) @if($section['type'] === 'categories' || $section['type'] === 'cuisine_grid') @include('partials.home-sections.cuisine-grid', ['section' => $section]) @elseif($section['type'] === 'banner_carousel') @include('partials.home-sections.banner-carousel', ['section' => $section]) @elseif(in_array($section['type'], ['restaurant_grid', 'popular_restaurants', 'new_arrivals'])) @include('partials.home-sections.restaurant-grid', ['section' => $section]) @elseif(in_array($section['type'], ['recommended_for_you', 'featured_restaurants', 'trending_near_you'])) @include('partials.home-sections.restaurant-featured', ['section' => $section]) @elseif($section['type'] === 'shop_by_brand') @include('partials.home-sections.brand-grid', ['section' => $section]) @elseif($section['type'] === 'restaurant_discovery')

{!! $section['title'] !!}

@if($section['subtitle'])

{{ $section['subtitle'] }}

@endif
@endif @endforeach @include('partials.web-visit-tracker', ['panel' => 'frontend'])