# Task: Replace Mobile Banner with Inline Overview Section Remove the sticky `MobilePatientBanner` and replace it with a static inline section at the top of the mobile dashboard. Remove the "More" drawer from the bottom nav, since its content now lives inline at the top of the page. ## Files | File | Role | |------|------| | `src/components/MobilePatientBanner.tsx` | DELETE — replaced by new inline section | | `src/components/MobileBottomNav.tsx` | Remove "More" button + entire drawer; add Overview item; rename old Overview to "Summary" | | `src/components/DashboardLayout.tsx` | Swap MobilePatientBanner for new MobileOverviewHeader; pass onSearchClick | | `src/components/MobileOverviewHeader.tsx` | NEW — inline mobile header section | | `src/components/ReferralFormModal.tsx` | Already exists — opened from the new section's Contact button | | `src/components/Sidebar.tsx` | Reference only — button styles, URLs | ## What to Build ### 1. New `MobileOverviewHeader.tsx` A static (not sticky) section rendered at the top of mobile `
` content, before `PatientSummaryTile`. Visible only when `useIsMobileNav()` is true. Must have `data-tile-id="mobile-overview"` so the bottom nav Overview button can scroll to it. **Layout (top to bottom), matching the existing "More" drawer layout in `MobileBottomNav.tsx` lines 273–381:** 1. **Logo + Search row** — `CvmisLogo` (cssHeight "40px") + search button (full-width, `minHeight: 44px`, shows search label text). Search button calls `onSearchClick` prop. 2. **Patient info section** (bordered bottom with `2px solid var(--accent)`): - Avatar circle (44px, gradient, "AC") + name + role title — same layout as drawer lines 301–327 - Data rows: GPhC, Education, Location, Registered, Phone (PhoneCaptcha), Email — same as drawer lines 329–356 3. **Tags section** — tag pills, same as drawer lines 360–369 4. **Action buttons** (replacing the alerts section): - **Download CV** — full-width button with icon + text label. `` to `/References/CV_v4.md`, new tab. Style: accent-bordered, matches sidebar's download button. - **Three icon-only buttons in a row** (equal-width grid, 3 columns): - **Contact Patient** — `Send` icon. Opens `ReferralFormModal`. - **LinkedIn** — `Linkedin` icon. Links to `https://linkedin.com/in/andycharlwood`, new tab. - **GitHub** — `Github` icon. Links to `https://github.com/andycharlwood`, new tab. - Use the same button styles as the existing `MobilePatientBanner.tsx` action buttons (lines 228–323). Icon-only for the 3 buttons, accessible `aria-label` on each. 5. **ReferralFormModal** — render it inside this component, controlled by local `showReferralForm` state. **Style notes:** - Use `padding: 16px` internally (it sits within the main content's `p-3 xs:p-5` padding) - Background: `var(--sidebar-bg)` to match the drawer look - Bottom margin to separate from PatientSummaryTile - Border-radius: `var(--radius-sm)` on the whole container - Border: `1px solid var(--border)` ### 2. Modify `MobileBottomNav.tsx` - **Remove** the "More" `