@extends('frontend.layouts.app') @section('title', 'Teams') @section('content') {{-- Hero Section --}} @include('frontend.partials.hero', [ 'mainHeading' => __('pages.meet_our_team'), 'subHeading' => __('pages.dedicated_leaders'), 'breadcrumb1' => [ 'name' => __('route.home'), 'route' => route('home'), ], 'breadcrumb2' => [ 'name' => __('route.team'), 'route' => route('team'), 'class' => 'text-gray-400', ], 'breadcrumb3' => null, 'breadcrumb4' => null, ]) {{-- Team Section --}}

{{ __('pages.founder_and_principal') }}

@php $infoEn = $founder->information_en ? json_decode($founder->information_en) : []; $infoNp = $founder->information_np ? json_decode($founder->information_np) : []; $name = app()->getLocale() == 'en' ? $infoEn->name ?? '' : $infoNp->name ?? ($infoEn->name ?? ''); @endphp
{{ __('pages.founder_principal') }}
{{ $founder->name_en }}

{{ $name }}

{{-- Principal --}}
@php $infoEn = $principal->information_en ? json_decode($principal->information_en) : []; $infoNp = $principal->information_np ? json_decode($principal->information_np) : []; $name = app()->getLocale() == 'en' ? $infoEn->name ?? '' : $infoNp->name ?? ($infoEn->name ?? ''); @endphp

{{ app()->getLocale() == 'en' ? $infoEn->designation_id ?? '' : $infoNp->designation_id ?? ($infoEn->designation_id ?? '') }}

{{ $principal->name_en }}

{{ $name }}

{{ app()->getLocale() == 'en' ? $infoEn->department_id ?? '' : $infoNp->department_id ?? ($infoEn->department_id ?? '') }}

{{-- featured team --}} @if ($featuredTeams->isNotEmpty()) @foreach ($featuredTeams as $team) @include('frontend.partials.team-card') @endforeach @endif

{{ __('pages.our_dedicated_team') }}

@if ($otherTeams->isNotEmpty())
@foreach ($otherTeams as $team) @include('frontend.partials.team-card') @endforeach
@else

{{ __('pages.no_details') }}

@endif
@endsection