@extends('layouts.app') @push('meta') @include('components.meta', [ 'title' => __('seo.EXPERTISE_TITLE'), 'desc' => __('seo.EXPERTISE_DESC'), 'image' => 'img/logo.webp', ]) @endpush @section('content') @include('components.sub-pages-hero', [ 'title' => $expertise->hero_title, ]) @include('components.landing.banner', [ 'reverse' => true, 'hasMainTitle' => true, 'mainTitle' => $expertise->build_main_title, 'titleParts' => $expertise->build_title, 'desc' => $expertise->build_desc, 'listItems' => $expertise->build_list, 'hasButton' => false, 'image' => Storage::url($expertise->build_img), ]) @php $total = count($expertise->advertising_list); $half = ceil($total / 2); $listItemsLeft = array_slice($expertise->advertising_list, 0, $half); $listItemsRight = array_slice($expertise->advertising_list, $half); $loyaltyListItemsLeft = array_slice($expertise->loyalty_list, 0, $half); $loyaltyListItemsRight = array_slice($expertise->loyalty_list, $half); @endphp @include('components.expertise.expertise-section', [ 'hasBackground' => true, 'reverse' => false, 'image' => Storage::url($expertise->advertising_img), 'titleParts' => $expertise->advertising_title, 'desc' => $expertise->advertising_desc_one, 'hasDesc' => true, 'Fulldesc' => $expertise->advertising_desc_two, 'listItemsLeft' => $listItemsLeft, 'listItemsRight' => $listItemsRight, ]) @include('components.expertise.expertise-section', [ 'hasBackground' => false, 'reverse' => true, 'image' => Storage::url($expertise->loyalty_img), 'titleParts' => $expertise->loyalty_title, 'desc' => $expertise->loyalty_desc, 'hasDesc' => false, 'listItemsLeft' => $loyaltyListItemsLeft, 'listItemsRight' => $loyaltyListItemsRight, ]) @if (!empty($expertise->cards)) @include('components.expertise.expertise-cards') @endif @endsection