Photos and Videos Gallery

@foreach ($albums['albums'] as $photo)
@if($photo->type == 'Videos')
gallery-image

{{ $photo->name }}

{{ $photo->short_description ?? '' }}

@else
gallery-image

{{ $photo->name }}

{{ $photo->short_description ?? '' }}

@endif
@endforeach
@foreach ($albums['photos'] as $photo)
gallery-image

{{ $photo->name }}

{{ $photo->short_description ?? '' }}

@endforeach
@foreach ($albums['videos'] as $video) {{--
gallery-image

{{ $photo['name'] }}

{{ $photo->short_description ?? '' }}

--}}
gallery-image

{{ $video['name'] }}

{{ $video->short_description ?? '' }}

@endforeach