@if (!empty($page_init['contact']['name']) || !empty($page_init['setting']['logo']['footer']))
@if (!empty($page_init['setting']['logo']['footer'])) {{ __('frontend::messages.brand') }} @endif @if (!empty($page_init['contact']['name']))

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

@endif
@endif

{{ __('frontend::messages.footer_click_icons_title') }}

    @php $messagingLinks = [['key' => 'wechat', 'icon' => 'simple-icons:wechat'], ['key' => 'whatsapp', 'icon' => 'simple-icons:whatsapp'], ['key' => 'line', 'icon' => 'simple-icons:line']]; @endphp @foreach ($messagingLinks as $item) @php $url = $page_init['contact']['social'][$item['key']][0]['url'] ?? null; $label = __('frontend::messages.social.' . $item['key']); @endphp
  • @if ($url) @else @endif
  • @endforeach
@if (!empty($page_init['menu_header'][0]) || !empty($page_init['menu_sp_header'][0]))
@foreach ($page_init['menu_header'] as $item) {{ $item['name'] ?? '' }} @endforeach @if (!empty($page_init['menu_sp_header'][0])) @foreach ($page_init['menu_sp_header'] as $item) {{ $item['name'] ?? '' }} @endforeach @endif
@endif @if (!empty($page_init['setting']['copyright']) || !empty($page_init['menu_footer'][0]))

{{ $page_init['setting']['copyright'] ?? '' }} @if (!empty($page_init['menu_footer'][0])) @if (!empty($page_init['setting']['copyright'])) · @endif {{ $page_init['menu_footer'][0]['name'] ?? '' }} @endif

@endif
@if (!empty($page_init['contact']['tel'][0]) || !empty($page_init['contact']['email'][0]))

{{ __('frontend::messages.footer_phone_email_title') }}

    @if (!empty($page_init['contact']['tel'][0]))
  • @foreach ($page_init['contact']['tel'] as $item)

    {{ __('frontend::messages.footer_contact_call') }} {{ $item }}

    @endforeach
  • @endif @if (!empty($page_init['contact']['email'][0]))
  • @foreach ($page_init['contact']['email'] as $item)

    {{ __('frontend::messages.footer_contact_email_label') }}: {{ $item }}

    @endforeach
  • @endif
@endif @if (!empty($page_init['contact']['social']['wechat'][0]) || !empty($page_init['contact']['social']['whatsapp'][0]) || !empty($page_init['contact']['social']['line'][0]))

{{ __('frontend::messages.footer_online_channel_title') }}

@php $footerSocialQrChannels = [ [ 'kind' => 'wechat', 'icon' => 'simple-icons:wechat', 'entries' => $page_init['contact']['social']['wechat'] ?? [], ], [ 'kind' => 'whatsapp', 'icon' => 'simple-icons:whatsapp', 'entries' => $page_init['contact']['social']['whatsapp'] ?? [], ], [ 'kind' => 'line', 'icon' => 'simple-icons:line', 'entries' => $page_init['contact']['social']['line'] ?? [], ], ]; @endphp
    @foreach ($footerSocialQrChannels as $channel) @php $channelTitle = __('frontend::messages.social.' . $channel['kind']); @endphp
  • {{ $channelTitle }}

      @foreach ($channel['entries'] as $entry) @if (empty($entry['url'])) @continue @endif
    • {{ $entry['name'] ?? '' }}
    • @endforeach
  • @endforeach
@endif
@if (!empty($page_init['setting']['copyright']) || !empty($page_init['menu_footer'][0]))

{{ $page_init['setting']['copyright'] ?? '' }} @if (!empty($page_init['menu_footer'][0])) @if (!empty($page_init['setting']['copyright'])) · @endif {{ $page_init['menu_footer'][0]['name'] ?? '' }} @endif

@endif