{{-- Logged-in users get the dashboard shell; visitors the public site chrome. --}} @extends(auth()->check() ? 'layouts.dashboard' : 'layouts.app') @section('title', __('Learning Paths')) @section('page_title', __('Learning Paths')) @section('content')
@auth @include('partials.how-it-works', ['key' => 'student.paths']) @endauth
{{ __('Learning Paths') }}

{{ __('Curated course tracks to guide your learning journey.') }}

@if($paths->count())
@foreach($paths as $path)
{{ $path->title }}
{{ $path->title }}
{{ trans_choice(':count course|:count courses', $path->pathCourses->count(), ['count' => $path->pathCourses->count()]) }}

{{ \Illuminate\Support\Str::limit($path->description, 110) ?: __('No description provided.') }}

{{ __('View Path') }}
@endforeach
{{ $paths->links() }}
@else
{{ __('No learning paths available yet') }}

{{ __('Check back soon for curated course tracks.') }}

@endif
@endsection