About Me

Manage your health profile, documents, and AI persona.

0 / 3 surveys complete
1

My Surveys

Complete surveys to personalise your AI Persona →
Not started

Demographics

Basic info about you — age, location, lifestyle.

0%
Not started

Cholangiocarcinoma

Condition-specific health survey for personalised insights.

0%
Not started

Student Info

Academic background and learning preferences.

0%
2

My Documents

Upload health records to enrich your AI Persona

Drop files here or browse

PDF, JPEG, PNG up to 25 MB each

No documents uploaded yet. Your files are encrypted and private.

blood-test-results-2024.pdf

2.1 MB · Uploaded 3 days ago

3

Your AI Persona

Your Persona is Taking Shape

Complete your surveys and upload health documents to unlock a personalised AI health companion that understands your unique situation.

Demographics
Cholangiocarcinoma
Student Info
Documents

🎨 Design Spec — JOO-6

Color Palette

brand-500 #0ea5e9 — Primary / CTAs
brand-700 #0369a1 — Hover states
surface #f8fafc — Page BG
white — Card BG
purple-500 — Cholangiocarcinoma card accent
emerald-500 — Student Info card accent

Typography

Font: Inter (existing stack — no change)

Page title: text-2xl / font-semibold / slate-900

Section titles: text-base / font-semibold / slate-800

Card titles: text-sm / font-semibold / slate-800

Body / descriptions: text-xs / text-slate-500

Labels / chips: text-xs / font-medium

Component Breakdown for Bernard

Component File (suggested) Notes
PageHeadercomponents/AboutMe/PageHeader.tsxTitle + overall progress badge
SurveyCardcomponents/AboutMe/SurveyCard.tsxProps: title, description, progress (0-100), accentColor, status, onStart
SurveyGridcomponents/AboutMe/SurveyGrid.tsxresponsive-grid wrapper, step label
DocumentUploadZonecomponents/AboutMe/DocumentUploadZone.tsxDrag-and-drop via react-dropzone, 25 MB cap
DocumentListcomponents/AboutMe/DocumentList.tsxList of uploaded files with delete action
DocumentRowcomponents/AboutMe/DocumentRow.tsxIcon, filename, size, date, delete btn
AIPersonaCardcomponents/AboutMe/AIPersonaCard.tsxGradient bg, progress ring, trait chips, CTA
ProgressRingcomponents/common/ProgressRing.tsxSVG circle, animated stroke-dashoffset
SectionLabelcomponents/AboutMe/SectionLabel.tsxStep number badge + h2 + optional sub-text
AboutMePagepages/AboutMe.tsxComposes all above + fetches data

♿ Accessibility Notes (WCAG AA)

  • All interactive elements must be keyboard focusable — add focus-visible:ring-2 focus-visible:ring-brand-500 Tailwind classes.
  • Survey cards: wrap in <button> or add role="button" tabIndex={0} with onKeyDown handler.
  • Progress bars: add role="progressbar" aria-valuenow aria-valuemin aria-valuemax.
  • SVG icons: always add aria-hidden="true" when decorative.
  • Color contrast: brand-500 on white = 3.1:1 (AA for large text only). For body text, use brand-700 (#0369a1) = 4.7:1 ✓
  • Upload zone: expose a hidden <input type="file"> + label for keyboard/AT users.
  • Document delete: add aria-label="Remove {filename}" to the × button.
  • AI Persona gradient card: white text on dark blue — contrast ratio ≥ 7:1 ✓

📱 Mobile Responsiveness

  • Survey grid: grid-cols-1 sm:grid-cols-3 — stacks vertically on mobile.
  • PageHeader: wrap in flex-col sm:flex-row, progress badge below on mobile.
  • AIPersonaCard: flex-col sm:flex-row, CTA full-width on mobile.
  • Min touch target: 44×44 px for all buttons (use min-h-[44px] min-w-[44px]).