{{ $page->{'title_' .$app->getLocale()} }}
- {{$translation->trans('menu_photo')}}
- {{$translation->trans('menu_video')}}
- {{$translation->trans('menu_audio')}}
@php
$medias =\App\Models\MediaLibrary::where('type',
key(collect(json_decode(env('MEDIA_TYPE')))->where('slug','video')->toArray()))
->where('status',1)
->with(['files','url'])
->get();
$medias = $medias->merge(\App\Models\MediaLibrary::where('type',
key(collect(json_decode(env('MEDIA_TYPE')))->where('slug','video-youtube')->toArray()))
->where('status',1)
->with(['files','url'])
->get());
@endphp
@if($medias !== null)
@foreach($medias as $key=>$media)
@if($media->files->first() !== null)
@endif
@endforeach
@endif
->file_name}}/maxresdefault.jpg)
@if($media->files->first() !== null)
{{$translation->trans('look')}}
@endif