@extends('layouts.app') @section('content') @include('layouts.header') @include('layouts.menu') @php $subCategory = [ 1 => 'Individual filmmakers (INDIA)', 2 => 'Individual Filmmakers (International)', 3 => 'Burano AIFF', 4 => 'OMNI FILM FESTIVAL', 5 => 'AI Film & Art Festival(ARIZONA)', 6 => 'ADOBE', 7 => 'Meta Morph', ]; $displayOrder = [1, 2, 3, 4, 5, 6, 7]; @endphp
@foreach ($displayOrder as $subCatId) @if (isset($competitions[$subCatId]))

{{ $subCategory[$subCatId] ?? '' }}

@foreach ($competitions[$subCatId] as $presentation)
@if (!empty($presentation->img_src)) image @else {{ $presentation->title }} image @endif

{{ $presentation->title }}

Directed by: {{ $presentation->directed_by }}
Language: {!! $presentation->language !!}
{{--
{!! $presentation->restored_by_nfai ?? '' !!}
--}}

{!! $presentation->num_of_years ?? '' !!}

@endforeach
@endif @endforeach
@endsection