@extends('frontend::layouts.master') @section('content') @if (!empty($banners))
@foreach ($banners as $banner) @if ($banner['type'] == 'image') @endif {{-- @if ($banner['type'] == 'image')
@if (!empty($banner['url'])) {{ $banner['name'] ?? 'Banner Link' }} @endif ...
{{ $banner['name'] ?? '' }}
@lang('frontend::lang.get_intro_offer')
@endif --}} @if ($banner['type'] == 'video')
@endif @if ($banner['type'] == 'youtube')
@endif @endforeach
@endif @if (!empty($about_us))
{!! $about_us['detail'] ?? '' !!}
@endif @if (!empty($book['list']) && count($book['list']) > 0)
@if (!empty($book['list'][0]['name'])) {!! $book['list'][0]['name'] ?? '' !!} @endif

@lang('frontend::lang.book.title')

@foreach ($book['list'] as $bid => $book)
{!! $book['embed'] ?? '' !!}
@endforeach
@endif @if (!empty($contact))
@lang('frontend::lang.contact.find_us')

@lang('frontend::lang.contact.location')

{!! $contact['name'] ?? '' !!}

{!! $contact['office'] ?? '' !!}

@if (!empty($contact['tel']))

@lang('frontend::lang.contact.phone')

{{ $contact['tel'] ?? '' }}

@endif @if (!empty($contact['email']))

@lang('frontend::lang.contact.email')

{{ $page_init['contact']['email'] ?? '' }}

@endif
@if (!empty($contact['social']['google']['url'])) @lang('frontend::lang.contact.get_directions') @endif
@if (!empty($contact['google_map']))
{!! $contact['google_map'] ?? '' !!}
@endif
@endif @if (!empty($faqs['list']))
@lang('frontend::lang.faqs.questions')

@lang('frontend::lang.faqs.title')

@foreach ($faqs['list'] as $key => $list)
{!! $list['name'] ?? '' !!}
{!! $list['desc'] ?? '' !!}
@endforeach
@endif @php $line_url = $page_init['contact']['social']['line']['url'] ?? ''; @endphp @livewire('frontend::contact.contact-form', ['line_url' => $line_url]) @endsection