@extends('layouts.app') @section('style') @endsection @section('content') @php $userCurrent = $user??null; $userId = $userCurrent ? $userCurrent->id : ''; @endphp
@if($submission->type === \App\Enums\SubmissionType::VIDEO)
@isset($submission->images[0]) @endisset
@endif @if($submission->type !== \App\Enums\SubmissionType::VIDEO) @endif

{{ $submission->story_content }}

@if(count($otherSubmissions))
@endif @include('layout/fly-with-vj')
@endsection @section('script') @endsection {{--@section('content')--}} {{-- Back to list--}} {{--
--}} {{--
--}} {{-- @if(isset($submission->video))--}} {{-- --}} {{-- @endif--}} {{-- @if(isset($submission->images))--}} {{-- @foreach($submission->images as $image)--}} {{-- submission--}} {{-- @endforeach--}} {{-- @endif--}} {{--
--}} {{--
{{ $submission->description }}
--}} {{--

Some quick example text to build on the card title and make up the bulk of the--}} {{-- card's content.

--}} {{-- @auth--}} {{-- Like: {{ $submission->likes->count() }}--}} {{-- --}} {{-- @else--}} {{--

Like: {{ $submission->likes->count() }}

--}} {{--

Share: {{ $submission->shares->count() }}

--}} {{-- @endauth--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--@endsection--}} {{--@section('script')--}} {{-- @auth--}} {{-- --}} {{-- --}} {{-- --}} {{-- @endauth--}} {{--@endsection--}}