@if (filled($contact_direct_header['name'] ?? null))
{{ $contact_direct_header['name'] }}
@endif
@if (filled($contact_direct_header['desc'] ?? null))
@endif
@if (filled($contact_direct_header['detail'] ?? null))
{{ $contact_direct_header['detail'] }}
@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]))
-
@endif
@if (!empty($page_init['contact']['email'][0]))
-
@endif
@endif
@if (!empty($page_init['contact']['social']['wechat'][0]) || !empty($page_init['contact']['social']['whatsapp'][0]) || !empty($page_init['contact']['social']['line'][0]))
@php
$contactSocialQrChannels = [
[
'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 ($contactSocialQrChannels as $channel)
@php
$channelTitle = __('frontend::messages.social.' . $channel['kind']);
@endphp
-
@endforeach
@endif