@extends('layouts.app') @section('title', __('Diet Watchers')) @section('content') {{-- Hero Section --}}

{{ __('Healthy') }} {{ __('Meals Delivered Daily. Designed for') }} {{ __('Your') }} {{ __('Goals.') }}

{{ __('Chef-made, calorie-smart meals delivered in Saudi Arabia. Plans online, managed via our app.') }}

{{ __('Choose Meal Plans') }}

{{ __('Download app') }}

{{ __('Hero') }}
{{-- Meal Plans Section --}}

{{ __('Meal Plan') }}

{{ __('Meal Plans for Every Lifestyle') }}

{{ __('Expert-designed plans with transparent calories and flexible pricing.') }}

@forelse($mealPlanCategories as $category) @php $catName = is_array($category['name'] ?? null) ? ($category['name'][app()->getLocale()] ?? $category['name']['en'] ?? '') : ($category['name'] ?? ''); $catDesc = $category['description'] ?? ''; $catImage = $category['image_url'] ?? 'assets/images/meal-plan-1.png'; $catImageUrl = str_starts_with($catImage, 'http') ? $catImage : asset($catImage); $catFallback = 'assets/images/meal-plan-' . ($loop->iteration % 3 === 0 ? 3 : $loop->iteration % 3) . '.png'; @endphp
{{ $catName }}

{{ $catName }}

{{ $catDesc ?: __('Explore our :category meals', ['category' => $catName]) }}

@empty {{-- Fallback static content when no categories from external DB --}}

{{ __('Provides balanced, portion-controlled meals to support healthy weight goals.') }}

{{ __('Supports everyday health and manage medical conditions through nutrition.') }}

{{ __('Focuses on balanced, nutritious eating for everyday wellness.') }}

@endforelse
{{-- How It Works Section --}}

{{ __('How It Works') }}

{{ __('3 Easy Steps For Happy Life') }}

@forelse($howItWorksSteps as $step)
{{ $step->title() }}

{{ $step->title() }}

{{ $step->description() }}

@empty {{-- Fallback static content --}}

{{ __('Choose Your Plan') }}

{{ __('Select a meal plan based on calories, lifestyle, or fitness goals.') }}

{{ __('Swap to Your Favorite Meals') }}

{{ __('Change meals anytime and enjoy dishes that suit your taste, mood, and lifestyle.') }}

{{ __('Enjoy Your Meals!') }}

{{ __('our meals are ready - fresh, nutritious, and made to enjoy.') }}

@endforelse
{{-- Why Choose Us Section --}}
@php $whyChooseSection = \App\Models\WhyChooseSection::where('is_active', true)->first(); $features = \App\Models\Content\Feature::active()->orderBy('order')->get(); @endphp

{{ $whyChooseSection?->badge_title() ?? __('Why Diet Watchers?') }}

{{ $whyChooseSection?->title() ?? __('Choosing Diet watchers') }}

{{ $whyChooseSection?->subtitle() ?? __('We simplifies healthy eating with fresh meals, expert plans, and flexible options to help you feel your best.') }}

@forelse ($features as $index => $feature)

{{ $feature->description }}

@empty
{{ __('No features available yet.') }}
@endforelse
{{-- Instant Orders Section --}}

{{ __('Instant Orders') }}

{{ __('Order Individual Meals Anytime') }}

{{ __('Explore chef-prepared meals and healthy options available for instant order.') }}

@forelse($instantMeals as $meal) @php $mealImage = $meal['image_url'] ?? ''; $mealImageUrl = str_starts_with($mealImage, 'http') ? $mealImage : ($mealImage ? asset($mealImage) : asset('assets/images/meal-' . ($loop->iteration % 3 === 0 ? 3 : $loop->iteration % 3) . '.png')); $mealFallback = asset('assets/images/meal-' . ($loop->iteration % 3 === 0 ? 3 : $loop->iteration % 3) . '.png'); $effectivePrice = ($meal['offer_price'] ?? 0) > 0 && ($meal['offer_price'] < $meal['price']) ? $meal['offer_price'] : $meal['price']; @endphp

{{ $meal['name'] }}

@empty

{{ __('No meals available') }}

{{ __('Check back soon for new meals.') }}

@endforelse
{{-- Download App Section --}}
@php $appDownloadSection = \App\Models\AppDownloadSection::where('is_active', true)->first(); @endphp

{{ $appDownloadSection?->badge_title() ?? __('Download the App') }}

{{ $appDownloadSection?->title() ?? __('Your Meals. Your Control.') }}

{{ $appDownloadSection?->subtitle() ?? __('Take full control of your meal plan with the freedom to customize meals, manage deliveries, and make changes anytime - right from your phone.') }}

{{ __('App Preview') }}
{{-- Testimonials Section --}}
@php $testimonialHeader = \App\Models\TestimonialSectionHeader::where('is_active', true)->first(); @endphp

{{ $testimonialHeader?->badge_title() ?? __('Feedback') }}

{{ $testimonialHeader?->title() ?? __('What our customer say') }}

{{ $testimonialHeader?->subtitle() ?? __('Real experiences from customers who have made healthy eating part of their everyday lives with Diet Watchers.') }}

@forelse ($testimonials as $testimonial) @empty
{{ __('No testimonials available yet.') }}
@endforelse
{{-- Blog Section --}}

{{ __('Insightful') }}

{{ __('Insights for a Healthier You') }}

{{ __('Get expert nutrition and lifestyle tips for healthier daily choices.') }}

{{-- FAQ Section --}}
@php $faqHeader = \App\Models\FaqSectionHeader::where('is_active', true)->first(); $faqs = \App\Models\Faq::where('is_active', true)->orderBy('order_column')->get(); @endphp

{{ $faqHeader?->badge_title() ?? __('Answers') }}

{{ $faqHeader?->title() ?? __('Frequently Asked Questions') }}

{{ $faqHeader?->subtitle() ?? __('Get answers to frequently asked questions.') }}

@forelse ($faqs as $index => $faq)
{!! $faq->answer !!}
@empty
{{ __('No FAQs available at the moment.') }}
@endforelse
@endsection @push('scripts') @endpush