@extends('layouts.app') @section('title', $seo['page_title'] ?? __('الرئيسية')) @section('meta_title', $seo['meta_title'] ?? '') @section('description', $seo['meta_description'] ?? '') @section('keywords', $seo['keywords'] ?? '') @section('og:title', $seo['og_title'] ?? '') @section('og:description', $seo['og_description'] ?? '') @section('og_image', $seo['og_image'] ?? asset('images/RFav.png')) @section('canonical_url', $seo['canonical_url'] ?? url()->current()) @push('home_style') @vite(['resources/css/style.css']) @endpush @section('content')
{{--
مساعد درب الذكي

مساعد درب الذكي 🤖

متصل الآن

📍 أقرب محطة
🛠 الخدمات
🎁 العروض
🕐 أوقات العمل
Bot

👋 مرحباً بك في درب!

أنا مساعدك الذكي، هنا لمساعدتك في:

  • 🗺 إيجاد أقرب محطة
  • 🛠 معرفة الخدمات المتوفرة
  • 🎁 الاطلاع على العروض
  • 📞 التواصل معنا
  • ❓ الإجابة على أي استفسار

كيف يمكنني مساعدتك اليوم؟

الآن
--}}
@if(!empty($mobile_video)) @endif
{{--

جميع الصفحات

💡 يمكنك الوصول السريع للصفحات الرئيسية من القائمة السفلية مباشرة

--}} {{--

قريبا مساحة درب

تجربة جديدة
--}} {{-- @if (isset($advertisements) && count($advertisements) > 0)
@foreach ($advertisements as $index => $ad)
@if (!empty($ad['url']))
@else
@endif
@endforeach
كابينة وقود
@endif --}} {{-- @if (isset($advertisements) && count($advertisements) > 0) --}} @php $currentLocale = app()->getLocale(); if (strpos($currentLocale, '_') !== false) { $currentLocale = explode('_', $currentLocale)[0]; } if (strpos($currentLocale, '-') !== false) { $currentLocale = explode('-', $currentLocale)[0]; } $filteredAdvertisements = []; foreach ($advertisements as $ad) { if ($currentLocale === 'en') { if (!empty($ad['image_en_url'])) { $filteredAdvertisements[] = $ad; } } elseif (!empty($ad['image_url'])) { $filteredAdvertisements[] = $ad; } } @endphp @if (!empty($filteredAdvertisements) && count($filteredAdvertisements) > 0)
كابينة وقود
@foreach ($filteredAdvertisements as $index => $ad)
@php $displayImage = $ad['display_image'] ?? $ad['image_url']; @endphp @if (!empty($ad['url']))
@else
@endif
@endforeach
@endif {{-- @endif --}}
@push('scripts') @endpush @endsection