@extends('layouts.site') @section('slider') @php $lang = app()->getLocale(); $name = 'name_' . $lang; $details = 'details_' . $lang; $type = 'type_' . $lang; $title = 'title_' . $lang; $job = 'job_' . $lang; $company_name = 'company_name_' . $lang; $description = 'description_' . $lang; $question = 'question_' . $lang; $answer = 'answer_' . $lang; $img_alt = 'img_alt_' . $lang; $img2_alt = 'img2_alt_' . $lang; $settings = \App\Models\Setting::first(); $slug = 'slug_' . app()->getLocale(); $work_done_ratio = 'work_done_ratio_' . app()->getLocale(); // $slug = 'slug_en'; @endphp @stop @section('content')
shape
{{ $page->$img_alt ?? 'about img1' }}
{{ $page->$img_alt ?? 'about img1' }}
{{ __('About Us') }}

{{ $page->$title }}

{{ app()->getLocale() == 'ar' ? 'ضيوف سعداء' : 'Happy Guests' }}

{{ app()->getLocale() == 'ar' ? 'وحدات فاخرة' : 'Luxury Units' }}

{{ app()->getLocale() == 'ar' ? 'فعاليات ناجحة' : 'Successful Events' }}

{{ app()->getLocale() == 'ar' ? 'سنوات الخبره' : 'Years Experience' }}

@php /**/ [ $name1, $email, $phone, $whatsapp, $google_map_url, $addresss, $facebook, $instagram, $twitter, $youtube, $tiktok, $snapchat, ] = getGeneralSettings(); @endphp
{{ app()->getLocale() == 'ar' ? ' أنواع الوحدات' : 'Unit Types' }}

{{ app()->getLocale() == 'ar' ? 'الوحدات الفندقية' : 'Accommodation Units' }}

@if ($posts && $posts->count() > 0) @foreach ($posts as $post) @endforeach @endif
@php $services = \App\Models\Service::where('is_active', 1)->get(); @endphp
{{ app()->getLocale() == 'ar' ? 'خدماتنا' : 'Our Services' }}

{{ app()->getLocale() == 'ar' ? 'نحن نقدم لكم أفضل الخدمات' : 'We offer you the best services' }}

@if ($services && $services->count() > 0) @foreach ($services as $service) @endforeach @endif
{{ app()->getLocale() == 'ar' ? ' مراحل العمل' : 'work process' }}

{{ app()->getLocale() == 'ar' ? 'خطوات العمل ' : ' Working Step' }}

@php $work = \App\Models\Work::where('is_active', 1)->where('id', 3)->first(); @endphp
@if ($work)

{{ app()->getLocale() == 'ar' ? 'الخطوة - 1' : 'Step - 1' }}

{{ $work->$name }}

{!! nl2br(e($work->$details)) !!}

@else
{{ app()->getLocale() == 'ar' ? 'لا توجد بيانات متاحة' : 'No data available' }}
@endif
@php $work = \App\Models\Work::where('is_active', 1)->where('id', 2)->first(); @endphp

{{ app()->getLocale() == 'ar' ? 'الخطوة - 2' : 'Step - 2' }}

{{ $work->$name }}

{!! nl2br(e($work->$details)) !!}

@php $work = \App\Models\Work::where('is_active', 1)->where('id', 1)->first(); @endphp

{{ app()->getLocale() == 'ar' ? 'الخطوة - 3' : 'Step - 3' }}

{{ $work->$name }}

{!! nl2br(e($work->$details)) !!}

{{ app()->getLocale() == 'ar' ? 'أراء العملاء' : 'Testimonials' }}

{{ app()->getLocale() == 'ar' ? 'تقييمات عملائنا عنا' : 'What Clients Say' }}

@if ($reviews && $reviews->count() > 0) @foreach ($reviews as $review)
{{ $review->$img_alt ?? 'Testimonials img' }}

{{ $review->$name }}

{{ $review->$job }}

{{ $review->$details }}

@endforeach @endif
@if ($offers && $offers->count() > 0)
{{ app()->getLocale() == 'ar' ? 'العروض' : 'offers' }}

{{ app()->getLocale() == 'ar' ? ' افضل العروض' : 'best offers' }}

@foreach ($offers as $offer)

{{ $offer->$name }}

@if($offer->discount_price)

{{ fmod($offer->price, 1) == 0 ? number_format($offer->price, 0) : number_format($offer->price, 2) }}RS / {{ fmod($offer->discount_price, 1) == 0 ? number_format($offer->discount_price, 0) : number_format($offer->discount_price, 2) }}RS

@else

{{ fmod($offer->price, 1) == 0 ? number_format($offer->price, 0) : number_format($offer->price, 2) }}RS

@endif {{--

$39 / 256kg

--}}
{!! html_entity_decode($offer->$details) !!}
@endforeach
@endif @stop @section('scripts') @stop