function StudentDashboard({ onNavigate }) { return (
{/* Greeting row */}
WED · 15 JUL 2026 · 09:24 IST

Namaste, Rahul.

राहुल जी, स्वागत है।

You're 3 lessons away from completing Semester 3 · Electrical Machines. Two virtual practicals are pending review.

12 day streak
Keep it going!
{Array.from({length: 14}).map((_, i) => (
))}
2 JULTODAY
{/* Key stats row */}
{[ { k: '68%', v: 'Course completion', trend: '+4% this week', color: 'navy' }, { k: '4.2 / 5', v: 'Avg. assessment score', trend: '↑ 0.3 vs last week', color: 'green' }, { k: '11 / 14', v: 'Practicals cleared', trend: '3 pending', color: 'saffron' }, { k: 'B2', v: 'Skill readiness index', trend: 'On track for AITT', color: 'navy' }, ].map((s, i) => (
{s.k}
{s.v}
{s.trend}
))}
{/* Quick access — explore modules */}
{[ { id: 'animation', l: 'Process Animation', ic: window.IconVideo }, { id: 'workshop', l: 'Virtual Workshop', ic: window.IconTool }, { id: 'arvr', l: 'AR & VR', ic: window.IconHeadset }, { id: 'certificates', l: 'Certificates', ic: window.IconAward }, { id: 'readiness', l: 'Job Readiness', ic: window.IconBriefcase }, { id: 'manual', l: 'Workshop Manual', ic: window.IconFileText }, ].map(q => { const I = q.ic; return ( ); })}
{/* Main grid */}
{/* Curriculum path */}
Your curriculum path
Fitter · Semester 3 · NCVT syllabus 2024-25
NCVT · DGT
{[ { n: 'M1', title: 'Bench Work & Fitting Practice', prog: 100, status: 'Complete', s: 'green' }, { n: 'M2', title: 'Marking & Measuring Instruments', prog: 100, status: 'Complete', s: 'green' }, { n: 'M3', title: 'Sheet Metal & Basic Welding', prog: 78, status: 'In progress', s: 'saffron', current: true }, { n: 'M4', title: 'Lathe Turning — External Operations', prog: 34, status: 'Started', s: 'navy' }, { n: 'M5', title: 'Milling & Grinding Machines', prog: 0, status: 'Locked', s: 'gray' }, { n: 'M6', title: 'Assembly & Fits — Practical Assessment', prog: 0, status: 'Locked', s: 'gray' }, ].map(m => (
{m.n}
{m.title}
{m.current &&
◆ Current module — 3 lessons remaining
}
{m.status}
))}
{/* Right column */}
{/* Next lesson card with 3D preview */}
3D LESSON · 12 MIN
UP NEXT · L07
Three-Phase Induction Motor — Construction
{/* Upcoming */}
Upcoming this week
{[ { d: '15 Jul', t: 'Practical viva — Marking gauge', tag: 'Viva', s: 'saffron' }, { d: '17 Jul', t: 'Mock trade test (Sem 3)', tag: 'Assessment', s: 'navy' }, { d: '19 Jul', t: 'Virtual lab: MIG welding butt joint', tag: 'Lab', s: 'green' }, { d: '22 Jul', t: 'Assignment: Fits & tolerances', tag: 'Assignment', s: 'navy' }, ].map(x => (
{x.d.split(' ')[1].toUpperCase()}
{x.d.split(' ')[0]}
{x.t}
{x.tag}
))}
{/* Recommendations */}
Recommended by AI Tutor
Based on your weak-topic analysis in yesterday's practice
{[ { t: 'Star delta connection', s: 'Weak in last quiz', dur: '8 min', icon: window.IconCube }, { t: 'File selection for finishing', s: 'Practical prep', dur: '4 min', icon: window.IconTool }, { t: 'Reading vernier calipers', s: 'Revision suggested', dur: '6 min', icon: window.IconTarget }, ].map((r, i) => { const I = r.icon; return (
onNavigate('tutor')} style={{ background: 'white', padding: 18, cursor: 'pointer' }}>
{r.s}
{r.t}
{r.dur}
); })}
); } window.StudentDashboard = StudentDashboard;