We propose updating the React frontend layout shell and core pages to match the screen placement and interaction rules defined in the UI/UX Wireframes PRD.
To deliver a premium visual experience that strictly adheres to the wireframe layout specifications, we propose the following implementation details:
-
Responsive Navbar Breakpoints:
-
Desktop (
$\ge 1024\text{px}$ ): Persistent full sidebar navigation layout. -
Tablet (
$641\text{px} - 1023\text{px}$ ): Sidebar collapses to an icon-only vertical rail to maximize content width. -
Mobile (
$\le 640\text{px}$ ): Sidebar collapses entirely. A floating bottom tab bar is introduced (Home,Scan,Assist,More).
-
Desktop (
-
Mobile Central "Scan" Tab: Clicking the central tab on the mobile bottom navigation bar opens an interactive, blurred action sheet overlay from the bottom, offering immediate quick links to:
URL Scanner,QR Scanner,Voice Scan, andDeepfake Scan. -
Account Deletion Safeguard: On the Privacy Settings tab, clicking "Delete my account" will trigger a dark modal overlay requiring the user to explicitly type the word
DELETEinto a confirmation field before enabling the destructive deletion handshake. -
Onboarding step indicators: Implement a visual dot-progress step bar (
● ─ ○ ─ ○) indicating the user's progress through the security questionnaire, dark web breach search, and interactive tour.
Before starting development, please review and provide feedback on the following detail:
- Mobile "More" Tab Action: Should the "More" tab on the mobile bottom navigation open a modal action menu (offering reports, history, settings, and logout) or redirect to a dedicated
/morenavigation index screen? We recommend a slide-up modal drawer to keep navigation lightning-fast without adding route indices.
We will edit source files in the /src folder.
- Reorganize responsive layouts based on screen widths.
- Implement the mobile bottom tab bar and slide-up modal sheets.
- Bind the header logo click to redirect to
/dashboard. - Adjust CSS class tags for tablet icon-only sidebar collapses.
- Format the step header indicators with progress circles matching the
● ─ ○ ─ ○specification. - Link onboarding checkbox questionnaires to: Screen lock, OS updated, 2FA, and Antivirus items.
- Add "Export my data", "Delete all history", and "Delete my account" controls to the Privacy tab.
- Implement the typed confirmation validation modal overlay.
- Hook operations up to the cascading deletes REST endpoints in
/backend.
- Verify that threat levels (High, Caution, Safe) are represented by both distinct text labels, colored backgrounds, and indicator icons (e.g.
ShieldAlert,ShieldCheck), meeting WCAG accessibility rules (never color alone).
- Run production build compilation checks:
npm run build
- Resize the browser window to mobile width (
$< 640\text{px}$ ) and verify that:- The left sidebar vanishes.
- The bottom navigation bar renders at the footer.
- Clicking the central "Scan" icon displays the quick-action scanner sheet overlay.
- Navigate to the settings privacy tab, click "Delete my account", type garbage words (confirm button must remain disabled), and then type
DELETE(confirm button must enable and execute cascades).