@extends('layout.front.master') @section('title', config('site.tagline', config('site.name'))) @section('description', config('site.seo.description')) @section('keywords', config('site.seo.keywords')) @section('og_title', config('site.og.title')) @section('og_description', config('site.og.description')) @section('og_image', brand_og_image()) @section('og_type', 'website') @section('og_url', url()->current()) @section('twitter_title', config('site.name')) @section('twitter_description', config('site.twitter.description')) @section('twitter_image', brand_twitter_image()) @section('content') {{-- Hero Section - Dynamic from WelcomeCarousel --}} @if(isset($carouselImages) && $carouselImages->count() > 0) @if($carouselImages->count() === 1) {{-- Single Slide with Parallax --}} @php $slide = $carouselImages->first(); @endphp @php $imageUrl = filter_var($slide->image_path, FILTER_VALIDATE_URL) ? $slide->image_path : asset($slide->image_path); @endphp
{{ config('site.welcome.hero_label', __('WELCOME TO')) }}

{{ config('site.name', '') }}

{{ config('site.description', '') }}

@else {{-- Multiple Slides Carousel with Parallax --}} @endif @else {{-- Fallback: Default image from config --}} @php $heroBackgroundImage = site_asset_url('hero_background', 'cd-project/img/demos/restaurant/backgrounds/background-1.jpg'); @endphp
{{ config('site.welcome.hero_label', __('WELCOME TO')) }}

{{ config('site.name', '') }}

{{ config('site.description', '') }}

@endif
@php // Defensive: usar Elvis operator (?:) en vez de fallback del config() // para que strings vacíos persistidos en DB caigan al default también // (el segundo arg de config() solo aplica si la key NO existe). $storyImg1 = config('site.welcome.story_image_1') ?: 'cd-project/img/demos/restaurant/generic/generic-11.jpg'; $storyImg2 = config('site.welcome.story_image_2') ?: 'cd-project/img/demos/restaurant/generic/generic-12.jpg'; $storyImg3 = config('site.welcome.story_image_3') ?: 'cd-project/img/demos/restaurant/generic/generic-13.jpg'; @endphp
Restaurant inside showcase 1
Restaurant inside showcase 2 Restaurant inside showcase 3

{{ config('site.welcome.story_badge', 'OUR STORY') }}

{{ config('site.welcome.story_heading', 'The Evolution of Homemade.') }}

{{ config('site.welcome.story_text', config('site.about.main_subtitle', config('site.description', 'Born from the soul of Tucumán, Argentina, and crafted for the hustle of Miami. Muma is more than an empanada; it\'s a tribute to our mother\'s kitchen and a new classic for your daily routine. We believe in real food, vibrant colors from natural ingredients, and the perfect bite that follows you wherever your day takes you. No filters, no complications—just honest flavor.'))) }}

{{ config('site.welcome.about_cta_label', __('More About Us')) }}
{{-- TESTIMONIALS — from testimonials module --}} @if(isset($testimonials) && $testimonials->count() > 0)
@endif

{{ config('site.welcome.offer_badge', 'WHAT WE OFFER') }}

{{ config('site.welcome.offer_heading', 'Colorful, Real & Simple.') }}

{{ config('site.welcome.offer_text', 'Our doughs get their vibrant colors from the ingredients themselves: spinach, beets, and cocoa. Choose your mood between our Classics and our Bold selection.') }}

@if(is_module_active('menu') && isset($menuSections) && $menuSections->isNotEmpty()) {{-- Preview del menú — 2 secciones con más productos, max 6 items cada una --}} @php $previewSections = $menuSections->sortByDesc(function($s) { return $s->menu->products->count(); })->take(2); @endphp
@foreach($previewSections as $section) @php $menu = $section->menu; $previewProducts = $menu->products->take(6); @endphp

{{ strtoupper($menu->name) }}

@if($menu->description)

{{ $menu->description }}

@endif
@foreach($previewProducts as $product)
{{ $product->name }}
@if((float) $product->price > 0) ${{ number_format($product->price, 2) }} @else Ask @endif
@if($product->description)

{{ $product->description }}

@endif
@endforeach
@endforeach
@else {{-- Fallback cuando el módulo Menú está desactivado o no hay datos --}}

Explore our full menu.

@if(config('cd-system.modules.menu.active', false)) {{ config('site.welcome.menu_cta_label', __('View Full Menu')) }} @endif
@endif

{{ config('site.welcome.gallery_badge', 'INSIDE ' . strtoupper(config('site.name', 'MUMA'))) }}

{{ config('site.welcome.gallery_heading', 'Our Gallery') }}

Author left drawn food background image Author right drawn food background image
@php $founderImg = config('site.welcome.founder_image', 'cd-project/img/demos/restaurant/cheff.jpg'); @endphp Restaurant Cheff mounting a dish

{{ config('site.welcome.founder_quote', 'We didn\'t come here to reinvent the empanada, we came to make it part of your world. Real ingredients, vibrant colors, and that feeling of home, wherever you are.') }}

{{ config('site.welcome.founder_attribution', 'THE ' . strtoupper(config('site.name', 'MUMA')) . ' BROTHERS - FOUNDERS') }}
@if(is_module_active('blog') && isset($recentPosts) && $recentPosts->count() > 0)

{{ config('site.welcome.blog_badge', 'RECENT NEWS') }}

{{ config('site.welcome.blog_heading', 'Our Blog') }}

@foreach($recentPosts as $index => $post) @endforeach
@endif
@endsection