@extends('frontend.layouts.master') @section('content')
@if($about_us)
@if(count($about_us->images)>3) @foreach($about_us->images as $key=>$image) @if($image->isImage) @if($image->isFeatured) @if($key==0)
@elseif($key==1)
@elseif($loop->last)
@else
@endif @else @if($key==0)
@elseif($key==1)
@elseif($loop->last)
@else
@endif @endif @else
{{$image->heading}}:

{{$image->details}}

@endif @endforeach @endif

{{$about_us->heading}}

{!! $about_us->details !!}
@endif @foreach ($page_sections as $page_section) @php $section = $page_section->section; $file_name = $section->layout->slug . '.blade.php'; $file_path = resource_path('views/livewire/frontend/layouts'); @endphp @if($section->status) @if (is_file($file_path . '/' . $file_name) && file_exists($file_path . '/' . $file_name)) @livewire('frontend.layouts.'.$section->layout->slug,['section_id'=>$section->id]) @endif @endif @endforeach @endsection