@if(count($galleries)) @foreach($galleries as $gallery)
@if($gallery[0] ?? null)
@if($gallery[0]['type'] == 'image_type')
{{$gallery[0]['title']}}
@endif @if($gallery[0]['type'] == 'video_type')
{{$gallery[0]['title']}}
@endif
@endif
@if($gallery[1] ?? null) @if($gallery[1]['type'] == 'image_type')
{{$gallery[1]['title']}}
@endif @if($gallery[1]['type'] == 'video_type')
{{$gallery[1]['title']}}
@endif @endif @if($gallery[2] ?? null)
@if($gallery[2]['type'] == 'image_type')
{{$gallery[2]['title']}}
@endif @if($gallery[2]['type'] == 'video_type')
{{$gallery[2]['title']}}
@endif
@endif @if($gallery[3] ?? null)
@if($gallery[3]['type'] == 'image_type')
{{$gallery[3]['title']}}
@endif @if($gallery[3]['type'] == 'video_type')
{{$gallery[3]['title']}}
@endif
@endif
@endforeach @endif