@extends('front.layout') @section('custom-style') @endsection @section('content')
@if(get_setting('home_page_section')) @php $homeContent = get_setting('home_page_section')->value; $homeContentArray = explode(',', $homeContent); @endphp @foreach($homeContentArray as $homeContentSingle) @if(get_design_option($homeContentSingle) == 'Verticle') @include('front.home-page.home-page-section', ['slug'=> $homeContentSingle]) @elseif(get_design_option($homeContentSingle) == 'Horizontal') @include('front.home-page.home-videos-landscape', ['slug'=> $homeContentSingle]) @endif @endforeach @else @php $videoCategories = ['current-news', 'exclusives', 'highlights-opinion', 'full-interviews', 'documentaries']; @endphp @foreach($videoCategories as $categorySlug) @if(get_design_option($categorySlug) == 'Horizontal') @include('front.home-page.home-videos-landscape', ['slug'=> $categorySlug]) @elseif(get_design_option($categorySlug) == 'Verticle') @include('front.home-page.home-page-section', ['slug'=> $categorySlug]) @endif @endforeach @endif
@endsection @section('custom-script') {{-- script for slider video change --}} {{-- pause video onscroll --}} @endsection