@extends('frontend::layouts.app') @section('content') @if (!empty($banner)) @php $hasMultipleBanners = count($banner) > 1; @endphp @foreach ($banner as $bn) @if ($bn['type'] == 'video') {!! $bn['detail'] ?? '' !!} {!! $bn['desc'] ?? '' !!} @lang('frontend::lang.learn_more') @endif @if ($bn['type'] == 'image') {!! $bn['detail'] ?? '' !!} {!! $bn['desc'] ?? '' !!} @lang('frontend::lang.learn_more') @endif @if ($bn['type'] == 'youtube') @lang('frontend::lang.learn_more') @endif @endforeach @if (!empty($ads)) @foreach ($ads as $key => $item) @endforeach @lang('frontend::lang.close') @endif @endif @lang('frontend::lang.brands_site') {!! $brand['detail']['name'] ?? '' !!} {!! $brand['detail']['desc'] ?? '' !!} @foreach (collect($brand['sub'] ?? [])->take(4) as $sub) @endforeach @if (!empty($about)) {{-- ABOUT ME RICH 24 --}} {!! $about['detail'] ?? '' !!} @lang('frontend::lang.learn_more') @endif @if (!empty($products['detail']) || !empty($products['list'])) {!! $products['detail']['name'] ?? '' !!} @lang('frontend::lang.select_products') @foreach ($products['list'] as $k => $item) @if ($k % 2 == 0) {{ $item['name'] ?? '' }} @else {!! $item['name'] ?? '' !!} @endif @endforeach @endif @if (!empty($categories['dt']) || !empty($categories['list'])) @if ($type_file == 'mp4') @else @endif {!! $categories['dt']['detail'] ?? '' !!} @if (!empty($categories['list']))
{!! $bn['desc'] ?? '' !!}
{!! $brand['detail']['desc'] ?? '' !!}