@extends('layouts.main-app')
@section('content')
@section('meta_title', 'Founders and Committees | Prime Hospital')
@section('meta_description', 'This is a dynamically generated meta description for SEO.')
@section('meta_keywords', '')
@include('layouts.navbar', [
'headerTitle' => 'About Us',
'headerDescription' => ''])
@foreach ($boardcategories as $category)
@include('frontend.pages.about.headertext_components', [
'title' => 'Our Board of Directors',
'subtitle' => $category->name
])
@if ($category->boardOfDirectors->isEmpty())
No board members in this category.
@else
@foreach ($category->boardOfDirectors as $director)
@include('frontend.pages.about.capsule_components', [
'name' => $director->name,
'position' => $director->position
])
@endforeach
@endif
@endforeach
{{ $boardcategories->links() }}
@endsection