@php $elements = $data->element_seccion; $count_elem = count($elements); $elem_one = []; if ($count_elem > 0) { $elem_one = $elements[0]; unset($elements[0]); } @endphp

{!! $data->title->$localeSelected ?? ($tplData['restaurant_name'] ?? '') !!}

{!! $data->text->$localeSelected ?? trans('home.home_section1.description', ['resto' => ($tplData['restaurant_name'] ?? 'TastyBoom')]) !!}

@if(count($_restaurant->branches) == 1) @if($_branch->show_phone)

{{ phoneBrige($_branch) }}

@endif @if($_branch->show_address)

{{ $_branch->address_show }}

@endif @endif @include('shared.commons.list-paymethod', ['class_ul' => 'nav nav-inline payment-methods '.(count($_restaurant->branches) > 1 ? 'multi-branche':''), 'class_li' => 'nav-item', 'title' => trans('trans.payment_methods').': '])
@if(count($_restaurant->branches) == 1)

{{ is_only_pickup($_branch) ? trans('trans.opening_hours'):trans('trans.delivery_hours') }}

@include('shared.commons.delivery-hours') @if(count($_branch->branch_social_media) > 0 )
    @include('shared.commons.list-social-network', ['branch_social_media' => $_branch->branch_social_media, 'class_li' => 'list-inline-item', 'class_a' => 'nav-link'])
@endif
@else

@lang('trans.branch.list')

@include('shared.commons.list-branchs', ['class_div' => 'right-details', 'class_ul' => 'socials-network']) @endif
{{ $data->image->alt->$localeSelected ?? getAltImages() }}
@if($count_elem > 0)
{{ $elem_one->image->alt->$localeSelected ?? getAltImages() }}
@endif
@foreach (array_chunk($elements, 2) as $chunk)
@foreach ($chunk as $item_img)
{{ $item_img->image->alt->$localeSelected ?? getAltImages() }}
@endforeach
@endforeach