@extends('frontend-v3.pages.layout') @section('page') @include('frontend-v3.about.partials.styles') @php $slugs = array_keys($aboutPages); $position = array_search($currentSlug, $slugs, true); $nextSlug = $slugs[($position + 1) % count($slugs)]; $nextPage = $aboutPages[$nextSlug]; $cardLayout = match ($currentSlug) { 'history' => 'timeline', 'vision-objectives' => 'pillars', 'organisation', 'governing-bodies' => 'roles', 'academic-activities' => 'archive', 'achievements' => 'milestones', default => 'collection', }; @endphp
@include('frontend-v3.about.partials.hero', [ 'heroTitle' => $page['title'], 'heroEyebrow' => $page['eyebrow'], 'heroSummary' => $page['summary'], 'heroImage' => $page['heroImage'], ])
{{ $page['title'] }} at Srimanta Sankaradeva Kalakshetra
{{ $page['eyebrow'] }}
{{ $page['eyebrow'] }}

{{ $page['heading'] }}

@foreach (array_slice($page['paragraphs'], 0, 1) as $paragraph)

{{ $paragraph }}

@endforeach
@if (!empty($page['authorities']))
@foreach ($page['authorities'] as $authoritySlug => $authority)
{{ $authority['name'] }}{{ $authority['designation'] }}
{{ $authority['desk'] }}

{{ $authority['name'] }}

{{ $authority['summary'] }}

Read message
@endforeach
@elseif (!empty($page['projects']))
@foreach ($page['projects'] as $projectSlug => $project)
{{ $project['title'] }}
{{ $page['eyebrow'] }}

{{ $project['title'] }}

Explore project
@endforeach
@elseif (!empty($page['cards']))
{{ $page['title'] }}
@if ($currentSlug === 'history') @endif @foreach ($page['cards'] as $card)

{{ $card['title'] }}

{{ $card['text'] }}

@endforeach
@endif @if ($currentSlug === 'governing-bodies') @include('frontend-v3.about.partials.governing-councils') @endif @if (count($page['paragraphs']) > 1)
{{ $page['eyebrow'] }}{{ $page['title'] }}
@foreach (array_slice($page['paragraphs'], 1) as $paragraph)

{{ $paragraph }}

@endforeach
@endif
@include('frontend-v3.about.partials.scripts') @endsection