@extends($layout) @section('styles') {{-- --}} @endsection @section('content')
{{ isset($currentFolderMain->name) ? $currentFolderMain->name : '' }}
@if (!str_contains(request()->path(), 'folders/search'))
@if (request()->segment(2))   Edit @endif
@endif
@csrf
{{--
@if (session('success')) @endif
@if (session('error')) @endif
--}} @if (optional($folders)->count() > 0 || optional($videos)->count() > 0)
@foreach ($folders as $folder) @endforeach @if (!str_contains(request()->path(), 'folders/search')) {{-- @foreach ($videos as $video) @if ($video->file_type == 1) @php $thumbnailPath = str_replace('.mp4', '.jpg', $video->url); $thumbnailUrl = Storage::disk('s3_thumbnails')->url($thumbnailPath); @endphp @endif @if ($video->file_type == 2) @endif @endforeach --}} @endif
@if (!($folders->count() > 0 || $videos->count() > 0))

No sub folders or files found.

@endif @if (!($folders->count() > 0 || $videos->count() > 0))

No sub folders or files found.

@endif
@else

No sub folders or files found.

@endif
@endsection @section('script') {{-- --}} @endsection