@extends('layout.app') @push('css') @endpush @section('content')
@foreach ($banners as $banner)
@if(str_ends_with($banner->banner, 'mp4')) @else @endif
@endforeach
{{-- What's on Start --}}

{{ __('messages.whats_on') }}

{{-- What's on Ends --}} {{-- Projects Start --}}

{{ __('messages.about_us') }}

@foreach ($projects as $index => $project) @if ($index % 2 == 0)
@if($project->logo) @endif

{{ app()->getLocale() == 'ar' ? $project->title_ar : $project->title_en }}

{!! app()->getLocale() == 'ar' ? $project->description_ar : $project->description_en !!}

@else
@if($project->logo) @endif

{{ app()->getLocale() == 'ar' ? $project->title_ar : $project->title_en }}

{!! app()->getLocale() == 'ar' ? $project->description_ar : $project->description_en !!}

@endif @endforeach
{{-- Projects End --}} @endsection @push('js') @endpush