@extends('layouts.site') @section('title', config('app.name', 'iTechBD Ltd') . ' • Develop Software and Professional Skills') @section('content') @php $heroPrimary = $cmsSectionsByKey->get('hero_primary'); $heroEmphasis = $cmsSectionsByKey->get('hero_emphasis'); $heroParagraph = $cmsSectionsByKey->get('hero_paragraph'); $heroCtaPrimary = $cmsSectionsByKey->get('hero_cta_primary'); $homeAboutTitle = $cmsSectionsByKey->get('home_about_title'); $homeAboutSubtitle = $cmsSectionsByKey->get('home_about_subtitle'); $skillTracksTitle = $cmsSectionsByKey->get('home_skill_tracks_title'); $skillTracksSubtitle = $cmsSectionsByKey->get('home_skill_tracks_subtitle'); $heroTitle = optional($heroPrimary)->title ?: 'Develop Software and'; $heroHighlight = optional($heroEmphasis)->title ?: 'Professional Skills'; $heroText = optional($heroParagraph)->content ?: '

iTechBD Ltd. offers practical, mentor-led training with real projects, batch schedules, and career-focused support for learners in Bangladesh.

'; $heroButtonText = optional($heroCtaPrimary)->button_text ?: 'Explore Courses'; $heroButtonLink = optional($heroCtaPrimary)->button_link ?: route('courses'); $heroCourses = $popularCourses ->filter(fn ($course) => ($course->relationLoaded('batches') ? $course->batches : collect()) ->contains(fn ($batch) => in_array($batch->status, ['upcoming', 'running'], true))) ->values(); if ($heroCourses->isEmpty() && $popularCourses->isNotEmpty()) { $heroCourses = $popularCourses->take(1)->values(); } @endphp
Admissions going on

{{ $heroTitle }} {{ $heroHighlight }}

{!! $heroText !!}
{{ $stats['courses'] ?? 0 }}+
Active courses
{{ $stats['batches'] ?? 0 }}+
Live batches
{{ $stats['mentors'] ?? 0 }}+
Mentors
{{ $stats['classes'] ?? 0 }}+
Scheduled classes
New Batch
@if($heroCourses->isNotEmpty())
@foreach($heroCourses as $heroCourse)
@endforeach
@else
Courses will appear here

Add active courses from admin panel to populate the homepage automatically.

@endif
@if($courseTracks->count())
@endif @if($popularCourses->count())
@foreach($popularCourses as $course) @endforeach
@endif @if($upcomingBatches->count())
@foreach($upcomingBatches as $batch)
{{ ucfirst($batch->status) }}

{{ $batch->name }}

@if($batch->course) {{ $batch->course->title }} @endif
Starts
{{ optional($batch->start_date)->format('d M Y') }}
Class days{{ implode(', ', (array) $batch->class_days) ?: 'Announced soon' }}
Class time{{ $batch->class_time ?: 'Contact office' }}
Duration{{ optional($batch->start_date)->format('M') }} - {{ optional($batch->end_date)->format('M Y') }}
@if($batch->mentors->count())
@foreach($batch->mentors as $mentorUser) {{ $mentorUser->name }} @endforeach
@endif
@endforeach
@endif
Why iTechBD

{{ optional($homeAboutTitle)->title ?: 'Practical learning for real outcomes' }}

{!! optional($homeAboutSubtitle)->content ?: '

We connect courses, batches, mentors, and student enrollment flow in one platform so learners can move from admission to class schedule smoothly.

' !!}
@foreach(['home_about_card_1', 'home_about_card_2', 'home_about_card_3'] as $index => $key) @php($card = $cmsSectionsByKey->get($key))

{{ optional($card)->title ?: ['Mentor-led learning', 'Portfolio-focused practice', 'Career support'][$index] }}

{!! optional($card)->content ?: '

Structured guidance, feedback, and practical tasks help learners build confidence.

' !!}
@endforeach
@if($mentors->count())
@foreach($mentors as $mentor) @endforeach
@endif @if($latestNews->count())
@foreach($latestNews as $news) @endforeach
@endif @if($reviews->count())
@foreach($reviews as $review)
@for($i = 1; $i <= (int) $review->rating; $i++) @endfor

“{{ $review->quote }}”

{{ $review->name }}
@if($review->designation)
{{ $review->designation }}
@endif
@endforeach
@endif
Start Learning

Join an upcoming batch and build professional skills.

Course, batch, mentor and enrollment data will stay dynamic from your admin panel.

@endsection