@extends('frontend::layouts.master') @push('styles') @endpush @section('content') @php $breadcrumbArray = [['name' => $link_index['name'] ?? '', 'url' => $link_index['url'] ?? ''], ['name' => $link_contact['name'] ?? '', 'url' => 'javascript:void(0);']]; @endphp

{{ __('frontend::lang.page.contact.title_form') }}

@php $contact = $page_init['contact'] ?? []; @endphp

{{ $contact['name'] ?? '' }} @if (!empty($contact['google_map_link'])) {{ __('frontend::lang.page.contact.google_map') }} @endif

@if (!empty($contact['office']) || !empty($contact['tel']) || !empty($contact['tel']) || !empty($contact['email']))
    @if (!empty($contact['office']))
  • {{ __('frontend::lang.page.contact.label.address') }}:
    {{ $contact['office'] ?? '' }}
  • @endif @if (!empty($contact['tel']))
  • {{ __('frontend::lang.page.contact.label.tel') }}:
    {{ $contact['tel'] ?? '' }}
  • @endif @if (!empty($contact['tel']))
  • {{ __('frontend::lang.page.contact.label.tel') }}:
    {{ $contact['tel'] ?? '' }}
  • @endif @if (!empty($contact['email']))
  • {{ __('frontend::lang.page.contact.label.email') }}:
    {{ $contact['email'] ?? '' }}
  • @endif
@endif
@if (!empty($contact['google_map']))
{!! $contact['google_map'] !!}
@endif
@if (!empty($branches['list'][0])) @foreach ($branches['list'] as $branch)

{{ $branch['name'] ?? '' }} @if (!empty($branch['google_map_link'])) {{ __('frontend::lang.page.contact.google_map') }} @endif

@if (!empty($branch['office']) || !empty($branch['tel_numbers']) || !empty($branch['email']))
  • {{ __('frontend::lang.page.contact.label.address') }}:
    {{ $branch['office'] ?? '' }}
  • @if (!empty($branch['tel_numbers'])) @foreach ($branch['tel_numbers'] as $tel)
  • {{ __('frontend::lang.page.contact.label.tel') }}:
    {{ $tel ?? '' }}
  • @endforeach @endif @if (!empty($branch['email']))
  • {{ __('frontend::lang.page.contact.label.email') }}:
    {{ $branch['email'] ?? '' }}
  • @endif
@endif
@if (!empty($branch['google_map']))
{!! $branch['google_map'] !!}
@endif
@endforeach @endif
@endsection @push('scripts') {{ module_vite('build-frontend', 'resources/assets/js/contact.js') }} @endpush