// Web screens — Lab tests, Doctor consult, Auth (login/signup) const Wstyles4 = { fontFamily: 'Inter, -apple-system, system-ui, sans-serif', color: C.ink900 }; // ═════════════════════════════════════════════════════════════ // W10) LAB TESTS booking // ═════════════════════════════════════════════════════════════ function WebLabs() { const tests = [ { name: 'Complete Blood Count (CBC)', sub: '24 parameters · Fasting not required · Reports in 12 hrs', price: 320, mrp: 480, hue: 'rose', tag: 'POPULAR', tests: 24 }, { name: 'HbA1c — Diabetes screening', sub: '3-month sugar avg · 12-hr fasting required', price: 480, mrp: 650, hue: 'blue', tag: null, tests: 1 }, { name: 'Vitamin D 25-Hydroxy', sub: 'Deficiency screening · Reports in 24 hrs', price: 1080, mrp: 1400, hue: 'amber', tag: null, tests: 1 }, { name: 'Thyroid Profile (T3, T4, TSH)', sub: 'Morning sample · Reports in 12 hrs', price: 540, mrp: 720, hue: 'mint', tag: 'POPULAR', tests: 3 }, { name: 'Liver Function Test (LFT)', sub: '12 parameters · Fasting required', price: 580, mrp: 780, hue: 'rose', tag: null, tests: 12 }, { name: 'Lipid Profile', sub: '8 parameters · 12-hr fasting', price: 420, mrp: 580, hue: 'amber', tag: null, tests: 8 }, ]; return (
{/* Hero band */}
NABL-accredited partner labs
Lab tests at home, reports in 12 hours.
Free sample collection at your home by certified phlebotomists. Digital reports delivered to your account.
{/* Search */}
Search 800+ tests, packages & profiles
{/* Stats */}
{[ { v: '800+', l: 'Tests offered', Icon: IconScan }, { v: '12 hr', l: 'Report turnaround', Icon: IconClock }, { v: 'Free', l: 'Home collection', Icon: IconTruck }, { v: '4.8★', l: 'On 84k+ reviews', Icon: IconStar }, ].map((s, i) => (
{s.v}
{s.l}
))}
{/* Category chips */}
Browse by {[ { l: 'Popular', on: true }, { l: 'Diabetes', on: false }, { l: 'Heart', on: false }, { l: 'Thyroid', on: false }, { l: 'Liver', on: false }, { l: 'Kidney', on: false }, { l: 'Women\u2019s health', on: false }, { l: 'Senior health', on: false }, { l: 'Full body checkup', on: false }, ].map(c => (
{c.l}
))}
{/* Package banner */}
FEATURED PACKAGE
Full body checkup · 62 tests
Recommended for ages 30+ once a year. Covers diabetes, heart, liver, kidney, thyroid & vitamins.
₹1,499 ₹2,800
Popular tests
View all 800+ →
{/* Tests grid */}
{tests.map((t, i) => { const colors = { blue: { bg: C.blue100, fg: C.blue600 }, mint: { bg: C.mint100, fg: C.mint500 }, amber: { bg: C.amber100, fg: C.amber500 }, rose: { bg: C.rose100, fg: C.rose500 } }; const p = colors[t.hue]; return (
{t.name} {t.tag && {t.tag}}
{t.sub}
₹{t.price} ₹{t.mrp}
); })}
); } // ═════════════════════════════════════════════════════════════ // W11) DOCTOR CONSULTATION // ═════════════════════════════════════════════════════════════ function WebDoctor() { const specs = [ { l: 'General physician', count: '124 doctors', Icon: IconUser, hue: 'blue' }, { l: 'Dermatology', count: '48 doctors', Icon: IconHeart, hue: 'rose' }, { l: 'Pediatrics', count: '36 doctors', Icon: IconShield, hue: 'mint' }, { l: 'Mental health', count: '52 doctors', Icon: IconStar, hue: 'amber' }, { l: 'Gynecology', count: '38 doctors', Icon: IconUser, hue: 'rose' }, { l: 'Sexual health', count: '24 doctors', Icon: IconShield, hue: 'blue' }, { l: 'Diabetes & endo', count: '22 doctors', Icon: IconRx, hue: 'mint' }, { l: 'Cardiology', count: '18 doctors', Icon: IconHeart, hue: 'rose' }, ]; const docs = [ { name: 'Dr. Priya Mehta', spec: 'General Physician', exp: '12 yrs', rating: '4.9', reviews: '2,140', lang: ['EN', 'HI', 'KN'], price: 199, mrp: 299, available: 'In 4 min', online: true, hue: 'blue' }, { name: 'Dr. Rohan Iyer', spec: 'Dermatologist (MD Skin)', exp: '8 yrs', rating: '4.8', reviews: '1,612', lang: ['EN', 'HI'], price: 349, mrp: 499, available: 'In 12 min', online: true, hue: 'rose' }, { name: 'Dr. Anjali Rao', spec: 'Pediatrician', exp: '15 yrs', rating: '4.9', reviews: '3,520', lang: ['EN', 'HI', 'TA'], price: 299, mrp: 449, available: 'Tomorrow, 9 AM', online: false, hue: 'mint' }, { name: 'Dr. Karan Shah', spec: 'Psychiatrist', exp: '10 yrs', rating: '4.7', reviews: '982', lang: ['EN', 'HI', 'GU'], price: 499, mrp: 699, available: 'In 20 min', online: true, hue: 'amber' }, ]; return (
{/* Hero */}
18 doctors available right now
Talk to a doctor in minutes.
Audio, video, or chat consultations with verified specialists. Get e-prescriptions, lab recommendations and follow-ups instantly.
500+
verified doctors
4.8★
on 64k consultations
e-Rx
filled in 28 min
{/* Doctor card preview */}
PM
Dr. Priya Mehta
General Physician · MBBS, MD
● Online now · ₹199
Available consult modes
📹 Video
💬 Chat
📞 Audio
{/* Specialties */}
Find a specialist
All specialties →
{specs.map(s => { const colors = { blue: { bg: C.blue100, fg: C.blue600 }, mint: { bg: C.mint100, fg: C.mint500 }, amber: { bg: C.amber100, fg: C.amber500 }, rose: { bg: C.rose100, fg: C.rose500 } }; const p = colors[s.hue]; return (
{s.l}
{s.count}
); })}
{/* Available now */}
Available now
Sort by Soonest
{docs.map((d, i) => { const colors = { blue: { bg: C.blue100, fg: C.blue600 }, mint: { bg: C.mint100, fg: C.mint500 }, amber: { bg: C.amber100, fg: C.amber500 }, rose: { bg: C.rose100, fg: C.rose500 } }; const p = colors[d.hue]; return (
{d.name.split(' ').slice(1).map(s => s[0]).join('')}
{d.name}
{d.spec} · {d.exp}
{d.rating} ({d.reviews})
{d.lang.map(l => {l})}
● Available {d.available}
₹{d.price} ₹{d.mrp}
); })}
); } // ═════════════════════════════════════════════════════════════ // W12) AUTH — Login / Sign up // ═════════════════════════════════════════════════════════════ function WebAuth() { return (
{/* Left — brand panel */}
J
Janaushadhi
YOUR DIGITAL PHARMACY
WELCOME BACK
Your health,
delivered to your door.
Sign in to track orders, refill prescriptions, book lab tests at home, and consult with verified doctors.
{/* Feature bullets */}
{[ { Icon: IconShield, l: '100% genuine medicines from licensed sources' }, { Icon: IconTruck, l: 'Express delivery in 28 min · Free over ₹199' }, { Icon: IconStar, l: 'Earn JANA+ points on every order' }, ].map((f, i) => (
{f.l}
))}
© 2026 Janaushadhi · Licensed pharmacy DL-560038
{/* Right — form panel */}
{/* Tab switcher */}
Log in
Sign up
Welcome back
Enter your mobile number to continue. We'll send you an OTP.
{/* Phone input */}
MOBILE NUMBER
+91
98765 43210
{/* Remember + WhatsApp */}
Send order updates on WhatsApp
{/* Send OTP */} {/* Divider */}
OR CONTINUE WITH
{/* Social */}
{[ { label: 'Google', icon: }, { label: 'Apple', icon: }, { label: 'Truecaller', icon: }, ].map((s, i) => (
{s.icon} {s.label}
))}
New to Janaushadhi? Create an account
By continuing, you agree to our Terms and Privacy Policy
); } Object.assign(window, { WebLabs, WebDoctor, WebAuth });