@extends('layouts.app') @section('title', __('Instructors')) @section('content')
@include('partials.how-it-works', ['key' => 'frontend.instructors'])
{{ __('Meet the team') }}

{{ __('Our') }} {{ __('Instructors') }}

{{ __('Learn from :count expert instructors', ['count' => $instructors->total()]) }}

@if($instructors->isEmpty())
{{ __('No instructors yet') }}

{{ __('Check back soon to meet our teaching team.') }}

@else
@foreach($instructors as $instructor)
{{ $instructor->name }}
{{ $instructor->name }}

{{ optional($instructor->instructorProfile)->title ?: __('Instructor') }}

{{ trans_choice(':count course|:count courses', $instructor->courses_count, ['count' => $instructor->courses_count]) }} {{ __('View profile') }}
@endforeach
{{ $instructors->links() }}
@endif
@endsection