@extends('web.layouts.container') @section('content')
{{--- ALl box --}} {{--
--}} {{--
--}} {{--
--}} {{-- @if($firstVideo->id ?? null)--}} {{-- --}} {{-- @endif--}} {{-- @if(count($galleries))--}} {{-- @foreach($galleries as $gallery)--}} {{-- @if($gallery[0]['type'] == 'image_type')--}} {{-- --}} {{-- @endif--}} {{-- @if($gallery[0]['type'] == 'video_type')--}} {{-- @if($gallery[0]['id'] == $firstVideo->id) @continue @endif--}} {{-- --}} {{-- @endif--}} {{-- @endforeach--}} {{-- @else--}} {{--
{{__('galleries.no_data')}}
--}} {{-- @endif--}} {{--
--}} {{-- --}} {{-- {{__('main.load_more')}}--}} {{-- --}} {{--
--}} {{--
--}} {{-- Images box--}}
@if(count($images)) @foreach($images as $image) @if($loop->iteration == 1) @else @endif @endforeach @endif
@if(count($images) > 5) {{__('main.load_more')}} @endif
{{-- Videos box--}}
@if(count($videos)) @foreach($videos as $video) @if($loop->iteration == 1) @else @endif @endforeach @endif
@if(count($videos) > 4) {{__('main.load_more')}} @endif
{{-- Files box--}}
@if(count($files)) @foreach($files as $file) @endforeach @endif
@if(count($files) > 5) {{__('main.load_more')}} @endif
@endsection @section('inner_js') @endsection