@extends('layouts.page') @section('content')
@foreach ($practiceAreas as $area)
@php $icon = 'public/sections/' . $area->alias . '/' . $area->image; if (Storage::exists($icon)) { $icon = asset(Storage::url($icon)); } else { $icon = null; } @endphp
@if ($icon) @endif

{{ $area->title }}

{{ $area->sub_title }}
@endforeach
@php $subSections = isset($sections[0]->sub_sections) ? $sections[0]->sub_sections : null; $subSections2 = isset($sections[1]->sub_sections) ? $sections[1]->sub_sections : null; $subSections3 = isset($sections[2]->sub_sections) ? $sections[2]->sub_sections : null; $subSections4 = isset($sections[3]->sub_sections) ? $sections[3]->sub_sections : null; @endphp

{{ $sections[1]['title'] }}

{!! $sections[1]['description'] !!}
@if (count($subSections2)) @foreach ($subSections2 as $item)
0+
{{ $item->title }}
@endforeach @endif

{{ $sections[2]['title'] }}

Request Consultation

@if(Session::has('message'))

{{ Session::get('message') }}

@endif

@csrf
@endsection