@extends('layouts.app') @section('title', 'My Dashboard โ€” CareerPath') @push('styles') @endpush @section('content') {{-- HERO --}}
{{ substr($user->name,0,1) }}

Welcome back, {{ $user->name }}! ๐Ÿ‘‹

{{ $user->email }}  ยท  {{ ucfirst($user->education_level ?? 'Student') }}

{{-- STATS --}}
๐Ÿง 
{{ $stats['quiz_taken'] }}
Quizzes Taken
๐Ÿ“…
{{ $stats['bookings'] }}
Sessions Booked
๐Ÿ”–
{{ $stats['saved'] }}
Saved Careers
๐ŸŽ“
{{ ucfirst($user->education_level ?? 'N/A') }}
Education Level
{{-- MAIN --}}
{{-- LEFT --}}
{{-- BOOKINGS --}}
My Bookings
View all โ†’
@forelse($recentBookings as $b)
๐Ÿง‘โ€๐Ÿ’ผ
{{ $b->counselor->user->name ?? 'Counselor' }}
{{ optional($b->booking_date)->format('d M Y') }}  ยท  {{ $b->booking_time }}  ยท  {{ ucfirst($b->meeting_type ?? 'online') }}
{{ ucfirst($b->status) }}
@empty
๐Ÿ“…

No sessions booked yet

Find a Counselor
@endforelse
{{-- RECOMMENDED CAREERS --}}
{{ $latestQuizResult ? 'Your Quiz Recommendations' : 'Suggested Careers' }}
@forelse($recommendedCareers as $c) {{ $c->icon ?? '๐Ÿ’ผ' }}
{{ $c->name }}
{{ $c->category }}  ยท  PKR {{ $c->min_salary_pkr ?? '50k' }}โ€“{{ $c->max_salary_pkr ?? '150k' }}/mo
@empty

Take the quiz to get personalized recommendations!

@endforelse @if(!$latestQuizResult) Take Quiz for Better Matches @endif
{{-- RIGHT SIDEBAR --}}
{{-- QUIZ RESULT --}} @if($latestQuizResult)
Latest Quiz Result

{{ Str::limit($latestQuizResult->analysis, 110) }}

View Full Results
@else
๐ŸŽฏ
Discover Your Career

Take the quiz and get AI-powered career recommendations

Start Quiz Now
@endif {{-- SAVED CAREERS --}}
Saved Careers
@forelse($savedCareers as $sc) {{ $sc->icon ?? '๐Ÿ’ผ' }}
{{ $sc->name }}
{{ $sc->category }}
@empty

No saved careers yet.
Explore and save ones you like!

@endforelse
{{-- QUICK LINKS --}}
@endsection