// Screens 23-24: Sign up flow (welcome + phone entry, profile setup) // ═════════════════════════════════════════════════════════════ // 23) WELCOME / SIGN UP (phone entry) // ═════════════════════════════════════════════════════════════ function ScreenSignup() { return (
{/* Hero gradient top */}
{/* Decorative shapes */}
{/* Brand */}
J
Janaushadhi
YOUR DIGITAL PHARMACY
{/* Floating pill graphic */}
28 min
{/* Welcome copy */}
WELCOME
Create your
health account
{/* Form sheet — overlaps hero */}
We use your number to verify and protect your prescriptions.
{/* Phone input — country code + number */}
MOBILE NUMBER
{/* Tiny flag mark */}
+91
98765 43210
{/* WhatsApp opt-in */}
Send order updates on WhatsApp
{/* Send code button */} {/* Divider */}
OR CONTINUE WITH
{/* Social */}
{[ { label: 'Google', color: '#EA4335', bg: 'white', border: true, icon: ( )}, { label: 'Apple', color: '#000', bg: 'white', border: true, icon: }, { label: 'Truecaller', color: C.blue600, bg: 'white', border: true, icon: }, ].map((s, i) => (
{s.icon} {s.label}
))}
{/* Existing user */}
Already have an account? Log in
By continuing, you agree to our Terms of Service,
Privacy Policy & Refund Policy
); } // ═════════════════════════════════════════════════════════════ // 24) CREATE PROFILE (post-OTP, new user details) // ═════════════════════════════════════════════════════════════ function ScreenCreateProfile() { return (
{/* Header */}
STEP 2 OF 2
Skip
{/* Progress */}
{/* Title */}
Tell us about
yourself
Helps our pharmacists give better advice — and personalize your home feed.
{/* Avatar upload */}
A
{/* Fields */}
{/* Full name */}
FULL NAME
Aarav Kumar
{/* Email */}
EMAIL ADDRESS For invoices & reports
you@example.com
{/* DOB + Gender side-by-side */}
DATE OF BIRTH
12 / 04 / 1993
GENDER
{[ { l: 'M', on: true }, { l: 'F', on: false }, { l: 'O', on: false }, ].map((g, i) => (
{g.l}
))}
{/* Quick health profile */}
ANY ONGOING CONDITIONS? Optional
{[ { l: 'Diabetes', on: true }, { l: 'BP / Heart', on: false }, { l: 'Thyroid', on: false }, { l: 'Asthma', on: false }, { l: 'None', on: false }, ].map((c, i) => (
{c.on && }{c.l}
))}
{/* Marketing toggle */}
Health tips & offers
1–2 emails per week, no spam
{/* Sticky CTA */}
You can edit any of this later in Profile
); } Object.assign(window, { ScreenSignup, ScreenCreateProfile });