function Certificates({ onNavigate }) { const [tab, setTab] = React.useState('Certificates'); const tabs = ['Certificates', 'Badges', 'Skill Credentials']; const certs = [ { t: 'Bench Work & Fitting — Module 1', trade: 'Fitter', date: '12 May 2026', score: 88, id: 'ST-FTR-M1-8841', done: true }, { t: 'Marking & Measuring Instruments', trade: 'Fitter', date: '02 Jun 2026', score: 92, id: 'ST-FTR-M2-9012', done: true }, { t: 'Sheet Metal & Basic Welding', trade: 'Fitter', date: 'In progress', score: 78, id: '—', done: false }, { t: 'Workplace Safety & 5S', trade: 'All trades', date: '18 Apr 2026', score: 95, id: 'ST-GEN-5S-4420', done: true }, ]; const badges = [ { t: '12-Day Streak', desc: 'Learned every day for 12 days', ic: window.IconFlame, got: true }, { t: 'Lab Master', desc: 'Cleared 10 virtual practicals', ic: window.IconBeaker, got: true }, { t: 'Sharp Shooter', desc: '90%+ on 5 assessments', ic: window.IconTarget, got: true }, { t: 'Safety First', desc: '100% safety compliance', ic: window.IconShield, got: true }, { t: 'Night Owl', desc: 'Studied 20 hrs after 8 PM', ic: window.IconClock, got: false }, { t: 'Trade Champion', desc: 'Top 5% of your batch', ic: window.IconTrophy, got: false }, ]; const skills = [ { t: 'Precision Measurement', level: 'Advanced', v: 88 }, { t: 'Metal Cutting & Filing', level: 'Proficient', v: 76 }, { t: 'MIG/MMA Welding', level: 'Intermediate', v: 64 }, { t: 'Engineering Drawing', level: 'Intermediate', v: 58 }, { t: 'Machine Safety', level: 'Advanced', v: 95 }, ]; return (
NCVT-aligned, verifiable, shareable — with QR verification for employers.