@extends('public.layout.app') @section('title', 'Faculty Profiles') @section('body')
Faculty Profiles

Meet the academic team

Browse instructors by department, qualification, and specialization.

@forelse($teachers as $teacher)
{{ \Illuminate\Support\Str::upper(\Illuminate\Support\Str::substr($teacher->name, 0, 1)) }}
{{ $teacher->name }}
{{ $teacher->department ?? 'Academic faculty' }}
@if($teacher->qualification){{ $teacher->qualification }}@endif @if($teacher->specialization){{ $teacher->specialization }}@endif
@if($teacher->email)
{{ $teacher->email }}
@endif @if($teacher->phone)
{{ $teacher->phone }}
@endif @if($teacher->joining_date)
Joined {{ \Carbon\Carbon::parse($teacher->joining_date)->format('Y') }}
@endif
@empty
No faculty profiles found yet.
@endforelse
@if($teachers->hasPages())
{{ $teachers->links('pagination::bootstrap-4') }}
@endif
@endsection @push('styles') @endpush