{{-- HERO --}}

Level 1 · Overall Journey

Your Learning Dashboard

Track your progress across exams, subjects, and topics.

{{-- STATS CARDS --}}

Total Attempts

0

Average Score

0%

Passed

0

Failed

0

@php $totalAttempts = array_sum(array_column($examTypeBreakdown, 'attempts')); @endphp {{-- TREND CHART — Level 1 Unique --}} @if($totalAttempts > 0 && count($recentTrend['data']) > 1)

📈 Progress Trend

Your Last {{ count($recentTrend['data']) }} Attempts

@endif {{-- EXAM TYPE PROGRESS CARDS --}} @if($totalAttempts > 0)

🎯 Exam Types

Click to Drill Down

@foreach($examTypeBreakdown as $key => $type) @if($type['attempts'] > 0) @php if ($type['avg_percentage'] >= 75) { $color = 'green'; $label = 'Excellent'; $emoji = '🌟'; } elseif ($type['avg_percentage'] >= 60) { $color = 'blue'; $label = 'Good'; $emoji = '👍'; } elseif ($type['avg_percentage'] >= 40) { $color = 'yellow'; $label = 'Average'; $emoji = '⚠️'; } else { $color = 'red'; $label = 'Needs Work'; $emoji = '🚨'; } @endphp
{{ $key }}

{{ $type['name'] }}

{{ $type['attempts'] }} attempt{{ $type['attempts'] > 1 ? 's' : '' }}

{{ $type['avg_percentage'] }}%

{{ $emoji }} {{ $label }}

{{ $type['avg_percentage'] }}%
Best: {{ $type['best'] }}% Lowest: {{ $type['worst'] }}%
Drill Down →
@endif @endforeach
@else

📊

Abhi tak koi test attempt nahi kiya.

Start a Test →
@endif {{-- AI ANALYSIS --}} @if($totalAttempts > 0)

🤖 AI Insights

Overall Study Plan

@if($aiAnalysis)

Generated: {{ $aiAnalysis->generated_at->diffForHumans() }}

@endif
@if($aiAnalysis) {!! \Illuminate\Support\Str::markdown($aiAnalysis->analysis_text) !!} @else

🤖 Language चुनें और Generate button दबाएँ।

@endif
@endif