@extends('layouts.app') @section('content') @php use App\Models\Promotion; use App\Models\SiteSetting; use App\Models\ExpertInstructor; use App\Models\CourseOutline; use App\Models\DedicatedSupport; $promotions = Promotion::where('status', 1)->limit(2)->get(); $siteSetting = SiteSetting::first(); $expertInstructors = ExpertInstructor::all(); $courseOutlines = CourseOutline::all(); $dedicatedSupports = DedicatedSupport::all(); @endphp
@forelse($branchesWithContent as $branch)
{{ $branch->name }}
@forelse($branch->categories as $category) {{ $category->name }} @empty

No categories available for {{ $branch->name }}.

@endforelse
@empty

No branches available.

@endforelse
@if($siteSetting && $siteSetting->marquee_text)
{{ $siteSetting->marquee_text }}
@endif

Why Choose Us?

Expert Instructors

@forelse($expertInstructors as $instructor)
{{ $instructor->title }}
{{ $instructor->title }}
YouTube Link
@empty

No expert instructors available yet. Please add some from the admin panel.

@endforelse
Course Outlines

@forelse($courseOutlines as $outline)
{{ $outline->title }}
Download PDF
@empty

No course outlines available yet. Please add some from the admin panel.

@endforelse
Dedicated Support

@forelse($dedicatedSupports as $support)
{{ $support->title }}

{{ $support->number }}

@empty

No dedicated support contacts available yet. Please add some from the admin panel.

@endforelse
@endsection