{{-- Show description if toggle is false --}} @if(!$subsubmenubody->toggle)

{!! $subsubmenubody->description !!}

{{-- Show team templates if toggle is true --}} @elseif($subsubmenubody->toggle)
@foreach ($subsubmenubody->templates ?? [] as $team) @endforeach
Photo Name Designation
{{ $team['title'] }} {{ $team['title'] }} {{ $team['designation'] }}
@endif {{-- Publications Section --}} @if($subsubmenubody->publications_toggle)
@foreach($subsubmenubody->publications ?? [] as $index => $pub) @endforeach
# Title Category Year Document
{{ $index + 1 }} {{ $pub['title'] }} {{ $pub['category'] }} {{ $pub['published_year'] }} @if(!empty($pub['document'])) PDF @else No File @endif
@endif