@extends('frontend::layouts.master') @section('title') @section('style') @endsection @section('content') @if (!empty($data['banner']))
@foreach ($data['banner'] as $banner)
@if ($banner['type'] == 1) @if (!empty($banner['image'])) @endif @endif @if ($banner['type'] == 2) @if (!empty($banner['video_url'])) {!! !empty($banner['video_url']) ? $banner['video_url'] : '' !!} @endif @endif
@endforeach
@endif @if (!empty($data['about']))
{!! !empty($data['about']['description']) ? $data['about']['description'] : '' !!} @lang('frontend::lang.see_more')
@endif @if (!empty($data['company']))
@endif @if (!empty($data['banner_partner'])) @foreach ($data['banner_partner'] as $item)

{{ !empty($item['name']) ? $item['name'] : '' }}

{{ !empty($item['description']) ? $item['description'] : '' }}

@endforeach @endif @if (!empty($data['banner_product']))
@if (count($data['banner_product']) > 1) @endif
@endif @if (!empty($data['product']))
@if (count($data['product']) > 1) @endif
@endif @if (!empty($data['brand_category']))

@lang('frontend::lang.home_info_1')
@lang('frontend::lang.home_info_2')

@lang('frontend::lang.see_more')
@endif {{-- $data['banner_partner_brand'] --}} @if (!empty($data['pic_brand']))

@lang('frontend::lang.who')

{{-- @foreach ($data['banner_partner_brand'] as $banner_partner_brand) --}}

{{ !empty($data['pic_brand']['name']) ? $data['pic_brand']['name'] : '' }}

@if ($data['pic_brand']['type'] == 1) @endif @if ($data['pic_brand']['type'] == 2) {!! !empty($data['pic_brand']['video_url']) ? $data['pic_brand']['video_url'] : '' !!} @endif {{-- @endforeach --}} @lang('frontend::lang.see_more')
@endif
@if (!empty($data['partner_with_us']))

{{ !empty($data['partner_with_us']['name']) ? $data['partner_with_us']['name'] : '' }}

{{ !empty($data['partner_with_us']['name_detail']) ? $data['partner_with_us']['name_detail'] : '' }}

{{ !empty($data['partner_with_us']['detail']) ? $data['partner_with_us']['detail'] : '' }}

@lang('frontend::lang.home_info_3')
@endif @if (!empty($data['work_with_us']))

{{ !empty($data['work_with_us']['name']) ? $data['work_with_us']['name'] : '' }}

{{ !empty($data['work_with_us']['name_detail']) ? $data['work_with_us']['name_detail'] : '' }}

{{ !empty($data['work_with_us']['detail']) ? $data['work_with_us']['detail'] : '' }}

@lang('frontend::lang.home_info_3')
@endif
@if (!empty($data['csr']['data']))

@lang('frontend::lang.csr')

@endif @if (!empty($data['about']['about_description']))
{!! !empty($data['about']['about_description']) ? $data['about']['about_description'] : '' !!}
@endif @if (!empty($data['news']['data']))

@lang('frontend::lang.news_info_2')

@foreach ($data['news']['data'] as $kid => $news) @if ($kid == 0) @endif @endforeach @lang('frontend::lang.see_more')
@endif @endsection @section('script') @endsection