@section('seo') @include('layouts._front_includes._seo', ['seo' => $page->seo]) @endsection @extends('layouts.frontend_master') @section('content') {{-- @include('web._partials.page-banner', ['is_gallery' => false]) --}}

{{ $page->title }}

@php $hasTitles = collect($policy_description ?? [])->contains(function ($item) { return !empty($item['title']); }); @endphp @if (!empty($policy_description) && $hasTitles)

Table of Content

@foreach ($policy_description as $key => $item) @if (!empty($item['title'])) @endif @endforeach
@endif
@foreach ($policy_description as $item)

{!! $item['title'] !!}

{!! $item['content'] !!}

@endforeach
@endsection @push('frontend_js') @endpush