function AdminDashboard({ onNavigate }) { // Institute data by Indian state const states = [ { name: 'Odisha', code: 'OD', itis: 68, students: 14200, prog: 78, hot: true }, { name: 'Maharashtra', code: 'MH', itis: 84, students: 21400, prog: 82 }, { name: 'Tamil Nadu', code: 'TN', itis: 71, students: 18900, prog: 74 }, { name: 'Karnataka', code: 'KA', itis: 52, students: 12800, prog: 80 }, { name: 'Uttar Pradesh', code: 'UP', itis: 48, students: 11600, prog: 61 }, { name: 'Gujarat', code: 'GJ', itis: 39, students: 9400, prog: 76 }, { name: 'Telangana', code: 'TS', itis: 28, students: 7100, prog: 79 }, { name: 'West Bengal', code: 'WB', itis: 22, students: 5400, prog: 68 }, ]; return (
Institute Admin

State-wide overview

Live deployment across DTET partner institutes · Updated 2 min ago

{/* Top stats */}
{[ { k: '412', v: 'ITIs deployed', sub: 'across 8 states' }, { k: '84,200', v: 'Active students', sub: '↑ 3,120 this month' }, { k: '2,140', v: 'Instructors', sub: '96% certified' }, { k: '99.7%', v: 'System uptime', sub: '30-day SLA' }, { k: '82%', v: 'AITT pass rate', sub: 'vs 61% baseline' }, ].map((s, i) => (
{s.k}
{s.v}
{s.sub}
))}
{/* Map + state ranking */}
Deployments by state
Ranked by student engagement
HIGH
MED
LOW
{/* India map placeholder */}
DEPLOYMENT DENSITY MAP
{states.map(s => (
{s.code}
{s.name}
{s.itis} ITIs · {s.students.toLocaleString('en-IN')} students
= 75 ? 'var(--green-600)' : s.prog >= 65 ? 'var(--saffron-500)' : 'var(--red-600)' }}/>
{s.prog}%
))}
{/* Live activity feed */}
Live activity
Across all institutes · last 5 min
● LIVE
{[ { t: '2s', a: 'ITI Cuttack', m: 'Fitter batch F-2024-A started MIG welding sim', ic: window.IconBeaker, c: 'var(--saffron-500)' }, { t: '14s', a: 'ITI Pune', m: 'Machinist lesson L12 completed by 24 students', ic: window.IconCube, c: 'var(--green-600)' }, { t: '38s', a: 'ITI Coimbatore', m: 'Instructor Rajesh graded 18 practicals', ic: window.IconClipboard, c: 'var(--navy-700)' }, { t: '52s', a: 'ITI Lucknow', m: 'AI Tutor answered 142 queries', ic: window.IconChat, c: 'var(--navy-700)' }, { t: '1m', a: 'ITI Bhubaneswar', m: 'CNC operator sim — new attempt score 94%', ic: window.IconTarget, c: 'var(--green-600)' }, { t: '2m', a: 'ITI Bangalore', m: 'Solar Tech Sem 2 exam completed', ic: window.IconAward, c: 'var(--saffron-500)' }, { t: '3m', a: 'ITI Ahmedabad', m: '38 new students enrolled to Electrician trade', ic: window.IconUsers, c: 'var(--navy-700)' }, { t: '4m', a: 'ITI Hyderabad', m: 'Fitter viva prep session started', ic: window.IconGraduation, c: 'var(--navy-700)' }, ].map((e, i) => { const I = e.ic; return (
0 ? '1px solid var(--ink-100)' : 'none' }}>
{e.a} — {e.m}
{e.t} ago
); })}
{/* Usage analytics */}
Module usage this week
Across 84,200 active students
{[ { m: '3D Lessons', v: '412K', s: 'views', trend: 68 }, { m: 'Virtual Labs', v: '84K', s: 'sessions', trend: 82 }, { m: 'Assessments', v: '146K', s: 'attempts', trend: 74 }, { m: 'AI Tutor', v: '392K', s: 'queries', trend: 91 }, { m: 'Downloads', v: '28K', s: 'PDFs', trend: 44 }, ].map(x => (
{x.m}
{x.v}
{x.s} this week
{[52, 44, 68, 55, 72, 61, x.trend].map((h, i) => (
))}
MON — SUN
))}
); } // Simplified India map with state dots function IndiaMapSvg({ states }) { // Positions in the viewBox coordinate system (400x460) const coords = { UP: { x: 215, y: 130 }, GJ: { x: 110, y: 195 }, MH: { x: 160, y: 260 }, OD: { x: 268, y: 230 }, WB: { x: 300, y: 155 }, TS: { x: 205, y: 285 }, KA: { x: 185, y: 335 }, TN: { x: 225, y: 375 }, }; return ( {/* India silhouette — a more recognizable outline: narrow N Kashmir cone, wide central belt, tapering peninsula to Kanyakumari. */} {/* Sri Lanka */} {/* Grid overlay */} {states.map(s => { const c = coords[s.code]; if (!c) return null; const color = s.prog >= 75 ? '#0d8a5a' : s.prog >= 65 ? '#e67514' : '#c1281c'; const r = 5 + s.itis / 15; return ( {s.code} ); })} ); } window.AdminDashboard = AdminDashboard;