{{-- --}} @php function getFaviconPath($size, $restaurant) { $fileName = match($size) { '180' => 'apple-touch-icon.png', '192' => 'android-chrome-192x192.png', '512' => 'android-chrome-512x512.png', '16' => 'favicon-16x16.png', '32' => 'favicon-32x32.png', 'ico' => 'favicon.ico' }; $restaurantPath = "user-uploads/favicons/restaurant/{$restaurant->hash}/{$fileName}"; $defaultPath = "user-uploads/favicons/super-admin/{$fileName}"; return File::exists(public_path($restaurantPath)) ? asset($restaurantPath) : asset($defaultPath); } @endphp @if ($restaurant->meta_keyword) @endif {{ $restaurant->name }} @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles @if (File::exists(public_path() . '/css/app-custom.css')) @endif
@livewire('shopNavigation', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch]) @livewire('shopDesktopNavigation', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch])
@yield('content') {{ $slot ?? '' }}
@stack('modals') @livewireScripts @include('layouts.update-uri') @if ($restaurant->paymentGateways->stripe_status) @endif @stack('scripts')