@extends('frontend::layouts.master') @section('content') @if (!empty($banners[0])) @endif

{{ __('frontend::lang.page.index.title_what_new') }}

@if (!empty($what_new[0])) @foreach ($what_new as $key => $w) @endforeach @else @endif
{{ __('frontend::lang.page.index.label.create_date') }} {{ __('frontend::lang.page.index.label.topic') }}
{{ date('d/m/Y', strtotime($w['publish_at'])) ?? '' }} @if (!empty($w['gallery'][0]))
@foreach ($w['gallery'] as $key_g => $g) @endforeach
{{ $g['name'] ?? '' }} {{ __('frontend::lang.page.index.label.download_document') }}
@endif
{{ __('frontend::lang.page.index.label.no_data') }}
@if (!empty($company_profile) || !empty($page_init['contact']['tel']))
{!! $company_profile['detail'] ?? '' !!}
@if (!empty($company_profile['file'])) {{ __('frontend::lang.btn.company_profile') }} @endif @if (!empty($page_init['contact']['tel']))
{{ __('frontend::lang.page.index.have_questions') }} {{ $page_init['contact']['tel'] }}
@endif
@endif
@if (!empty($page_init['contact'])) @php $contact = $page_init['contact'] ?? []; @endphp

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

{{ $contact['office'] ?? '' }}
@if (!empty($contact['tel']))

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

@endif @if (!empty($contact['google_map_link'])) {{ __('frontend::lang.page.index.label.google_map') }} @endif
@endif @if (!empty($branches['list'][0])) @foreach ($branches['list'] as $b)

{{ $b['name'] ?? '' }}

{{ $b['office'] ?? '' }}
@if (!empty($b['tel_numbers'][0]))

{{ $b['tel_numbers'][0] ?? '' }}

@endif @if (!empty($b['tel_numbers'][1])) @endif @if (!empty($b['google_map_link'])) {{ __('frontend::lang.page.index.label.google_map') }} @endif
@endforeach @endif
@endsection @push('scripts') @endpush