@if (!empty($page_init['setting']['logo']['footer']))
@endif
{{ $page_init['contact']['desc'] ?? '' }}
@if (!empty($page_init['contact']['office']))
-
{{ $page_init['contact']['office'] ?? '' }}
@endif
@if (!empty($page_init['contact']['tel'][0]))
@foreach ($page_init['contact']['tel'] as $tel)
-
{{ str_format($tel, '-', [1, 3, 2, 4]) }}
@endforeach
@endif
@if (!empty($page_init['contact']['email'][0]))
@foreach ($page_init['contact']['email'] as $email)
-
{{ $email }}
@endforeach
@endif
@if (!empty($page_init['menu_header'][0]))
{{ __('frontend::lang.label.main_menu') }}
@foreach ($page_init['menu_header'] as $item)
-
{{ $item['name'] ?? '' }}
@endforeach
@endif
@if (!empty($page_init['menu_sub_footer'][0]))
{{ __('frontend::lang.label.help_and_support') }}
@foreach ($page_init['menu_sub_footer'] as $item)
-
{{ $item['name'] ?? '' }}
@endforeach
@endif
@php
$chk = 0;
foreach ($page_init['contact']['social'] ?? [] as $social) {
if (!empty($social['url'])) {
$chk = 1;
break;
}
}
@endphp
@if ($chk)
{{ __('frontend::lang.label.follow_us') }}
{{ __('frontend::lang.label.follow_us_desc') }}
@php
$social = $page_init['contact']['social'] ?? [];
$icon = [
'line' => '#06c755',
'facebook' => '#1877f2',
'instagram' => '#E1306C',
'tiktok' => '#ff0050',
'youtube' => '#ff0000',
];
@endphp
@foreach ($icon as $k => $v)
@if (empty($social[$k]['url']))
@continue;
@endif
{{ $social[$k]['name'] ?? '' }}
@endforeach
@endif
{{ $page_init['setting']['copyright'] ?? '' }}