@extends('Client.layouts.layout') @push('css') @endpush @push('js') @endpush @section('content') @if($Sliders->where('screen','Lg')->count())
@endif @if($Sliders->where('screen','Sm')->count())
@endif

{{ setting('title_'.lang()) }}

@if(Categories()->count())

@lang('trans.ShopByCategory')

@foreach (Categories() as $Category)
{{ $Category->title() }}

{{ $Category->title() }}

@endforeach
@push('js') @endpush
@endif @if($Offers->count())

@lang('trans.offers')

@foreach ($Offers as $Product)
@include('Client.layouts.product',['Product'=>$Product])
@endforeach
@push('js') @endpush @endif @if($MostSelling->count())

@lang('trans.mostselling')

@foreach ($MostSelling as $Product)
@include('Client.layouts.product',['Product'=>$Product])
@endforeach
@push('js') @endpush @endif @if($Popular->count())

@lang('trans.popular')

@push('js') @endpush @endif
@foreach ($Branches as $Branch)
{{ $Branch->title() }} {{ $Branch->title() }}
{{ $Branch->phone }}
@if($Branch->mobile)
{{ $Branch->mobile }}
@endif
{{ str_replace("+973", "", setting('whatsapp')) }}
@if(basename(parse_url(setting('instagram'), PHP_URL_PATH)))
{{ basename(parse_url(setting('instagram'), PHP_URL_PATH)) }}
@endif @if($Branch->email)
{{ $Branch->email }}
@endif
@endforeach
@foreach (\App\Models\ProductReview::With('Client')->orderByDesc('id')->get() as $Rate)
{{ $Rate->created_at }}
{{ $Rate->Client ? $Rate->Client->name : '' }}
{{ $Rate->comment }}
@endforeach
@csrf
@error('name'){{ $message }}@enderror
@if(lang('ar'))
@endif
@include('Client.layouts.phone-select')
@if(lang('en'))
@endif
@error('phone'){{ $message }}@enderror
@error('email'){{ $message }}@enderror
@endsection @push('css') @endpush