@php $resolveMediaUrl = function ($value) { if (!$value) { return null; } if (\Illuminate\Support\Str::startsWith($value, ['http://', 'https://'])) { return $value; } return asset('storage/' . ltrim($value, '/')); }; $searchItems = []; foreach ($categories as $category) { foreach ($category->menuItems as $item) { $searchItems[] = [ 'id' => $item->id, 'name' => $item->name, 'description' => $item->description, 'category' => $category->name, 'price' => (float) $item->price, 'currency' => $restaurant->currency, 'photo' => $resolveMediaUrl($item->image ?? $item->photo ?? null), 'calories' => (float) ($item->calories ?? 0), 'protein' => (float) ($item->protein ?? 0), 'carbohydrates' => (float) ($item->carbohydrates ?? 0), 'fat' => (float) ($item->fat ?? 0), 'ingredients' => $item->ingredients_summary ?? [], 'allergens' => $item->allergens ?? [], 'tags' => $item->dietary_tags ?? [], ]; } } $heroItems = collect($searchItems) ->filter(fn ($item) => !empty($item['photo'])) ->take(3) ->values(); @endphp @php $restaurantCoverUrl = $resolveMediaUrl($restaurant->cover_image ?? null); $restaurantLogoUrl = $resolveMediaUrl($restaurant->logo ?? null); @endphp
Your intelligent dining experience

Discover your perfect meal in seconds.

{{ $restaurant->description ?: 'Explore fresh meals, drinks and desserts selected for your taste, budget and dietary preferences.' }}

@if($restaurant->address) 📍 {{ $restaurant->address }} @endif @if($restaurant->opening_hours) 🕐 {{ $restaurant->opening_hours }} @endif @if($restaurant->phone) ☎ {{ $restaurant->phone }} @endif
AI

Ask the smart menu assistant

Describe your taste, budget, diet or ingredients to avoid.
Ready now
⌕
@php $quickSearches = [ ['key' => 'lowCalorie', 'en' => 'Low calorie', 'fr' => 'Faible en calories'], ['key' => 'under15', 'en' => 'Under $15', 'fr' => 'Moins de 15 $'], ['key' => 'highProtein', 'en' => 'High protein', 'fr' => 'Riche en protéines'], ['key' => 'vegetarian', 'en' => 'Vegetarian', 'fr' => 'Végétarien'], ['key' => 'vegan', 'en' => 'Vegan', 'fr' => 'Végane'], ['key' => 'withoutChicken', 'en' => 'Without chicken', 'fr' => 'Sans poulet'], ['key' => 'coldDrink', 'en' => 'Cold drink', 'fr' => 'Boisson froide'], ['key' => 'dessert', 'en' => 'Dessert', 'fr' => 'Dessert'], ]; @endphp
@foreach($quickSearches as $quickSearch) @endforeach
Recent searches