@extends('layouts.public') @section('content')

Professional Scientific Courses

Structured, practical courses with hands-on exercises and real datasets.

@forelse($courses as $course)
@if($course->thumbnail_path) {{ $course->title }} @else @php($fallback = $loop->index % 2 === 0 ? 'uploads/demo/courses/course-bio.jpg' : 'uploads/demo/courses/course-python.jpg') @php($fallbackPath = public_path('storage/'.$fallback)) @if(file_exists($fallbackPath)) {{ $course->title }}
@else
@endif @endif
@if($course->duration_label)
{{ $course->duration_label }}
@endif @if($course->level)
{{ $course->level }}
@endif
{{ $course->title }}
@if($course->short_description)
{{ \Illuminate\Support\Str::limit(strip_tags($course->short_description), 200) }}
@endif
View course
@empty
Courses will appear here after publishing them from the admin panel.
@endforelse
@endsection