@extends('frontend::layouts.master') @section('content') @php $aboutPage = $data['about']['page'] ?? []; $aboutHeroImage = !empty(trim((string) ($aboutPage['image'] ?? ''))) ? $aboutPage['image'] : asset('modules/frontend/images/bg/bg-image-section-01.png'); $heroButtonUrl = trim((string) ($aboutPage['link'] ?? '')); $showHeroButton = $heroButtonUrl !== ''; $heroButtonOpenInNewTab = $showHeroButton && (str_starts_with($heroButtonUrl, 'http://') || str_starts_with($heroButtonUrl, 'https://')); @endphp {!! _html($aboutPage['desc'] ?? '') !!} @php $data['service'] = $data['about'] ?? null; $data['service']['page']['name'] = null; @endphp @include('frontend::components.services-section') @if (!empty($data['family']['page']) && $data['family']['page']['status'] == 1) {{ $data['family']['page']['name'] ?? '' }} {!! _html($data['family']['page']['desc'] ?? '') !!} @php $familyGallery = $data['family']['page']['gallery'] ?? []; @endphp @foreach ($familyGallery as $g) @if (is_array($g) && !empty($g['image'])) @endif @endforeach @endif @endsection
{!! _html($aboutPage['desc'] ?? '') !!}
{!! _html($data['family']['page']['desc'] ?? '') !!}