function HelpSupport({ onNavigate }) { const [open, setOpen] = React.useState(0); const cats = [ { t: 'Getting Started', n: 14, ic: window.IconPlay }, { t: '3D Lessons & Labs', n: 22, ic: window.IconCube }, { t: 'Assessments', n: 18, ic: window.IconClipboard }, { t: 'Account & Login', n: 9, ic: window.IconUser }, { t: 'Certificates', n: 7, ic: window.IconAward }, { t: 'Technical Issues', n: 25, ic: window.IconSettings }, ]; const faqs = [ { q: 'How do I resume a lesson where I left off?', a: 'Open your Dashboard — the "Resume" button on the greeting card takes you straight to your last-viewed lesson. Your progress is saved automatically after each chapter.' }, { q: 'Can I use ShikshaTri offline?', a: 'Yes. Download lessons and manuals from the Trade Library or Profile → Offline downloads. Downloaded content plays without internet; progress syncs when you reconnect.' }, { q: 'How is my virtual lab attempt scored?', a: 'Each simulator evaluates parameters like accuracy, speed control, and safety compliance in real time, producing a live score out of 100. Submit for evaluation to get instructor feedback.' }, { q: 'In which languages is the content available?', a: 'The interface and voice-over support English, हिंदी, தமிழ், తెలుగు and more. Use the language pill in the top bar to switch at any time.' }, { q: 'How do I get my completion certificate?', a: 'Certificates are issued automatically once you clear a module (theory + practical + assessment). Find them under Certificates & Achievements, downloadable as verifiable PDFs.' }, ]; return (
{/* Search hero */}
Help & Support Centre

How can we help you?

Popular: virtual lab not loading · change language · download certificate
{/* Categories */}
{cats.map(c => { const I = c.ic; return (
window.toast('Opening ' + c.t + ' · ' + c.n + ' articles')} style={{ padding: 18, display: 'flex', alignItems: 'center', gap: 14, cursor: 'pointer', transition: 'all 0.15s' }} onMouseEnter={e => { e.currentTarget.style.transform = 'translateY(-2px)'; e.currentTarget.style.boxShadow = 'var(--shadow-2)'; }} onMouseLeave={e => { e.currentTarget.style.transform = ''; e.currentTarget.style.boxShadow = ''; }}>
{c.t}
{c.n} articles
); })}
{/* FAQ accordion */}
Frequently asked questions
{faqs.map((f, i) => (
0 ? '1px solid var(--ink-100)' : 'none' }}> {open === i &&
{f.a}
}
))}
{/* Contact + ticket */}
Contact support
{[ { l: 'Call helpdesk', v: '1800-XXX-4567', s: 'Mon–Sat · 9 AM–7 PM', ic: window.IconPhone }, { l: 'Email us', v: 'support@shikshatri.in', s: 'Reply within 24 hrs', ic: window.IconMail }, { l: 'Live chat', v: 'Chat with an agent', s: '● Online now', ic: window.IconChat }, ].map(c => { const I = c.ic; return (
window.toast(c.l + ' · ' + c.v)} style={{ display: 'flex', alignItems: 'center', gap: 12, padding: '11px 0', borderBottom: '1px dashed var(--ink-200)', cursor: 'pointer' }}>
{c.v}
{c.s}
); })}
Your recent tickets
{[ { id: '#TK-2291', t: 'Lab audio not working', s: 'Resolved', c: 'green' }, { id: '#TK-2288', t: 'Certificate name spelling', s: 'In progress', c: 'saffron' }, ].map(t => (
{t.t}
{t.id}
{t.s}
))}
); } window.HelpSupport = HelpSupport;