Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/site-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ This file is generated by `npm run sitemap:update`. Run `npm run sitemap:check`
- `/mockups/favourites-set-navigator` - Route discovered from app directory Source: `src/app/mockups/favourites-set-navigator/page.tsx`.
- `/mockups/medication-prescribing` - Route discovered from app directory Source: `src/app/mockups/medication-prescribing/page.tsx`.
- `/mockups/mode-dropdown` - Route discovered from app directory Source: `src/app/mockups/mode-dropdown/page.tsx`.
- `/mockups/patient-safety-plan` - Route discovered from app directory Source: `src/app/mockups/patient-safety-plan/page.tsx`.
- `/mockups/recent-searches-bottom` - Route discovered from app directory Source: `src/app/mockups/recent-searches-bottom/page.tsx`.
- `/mockups/settings-search-clinical` - Route discovered from app directory Source: `src/app/mockups/settings-search-clinical/page.tsx`.
- `/mockups/settings-search-general` - Route discovered from app directory Source: `src/app/mockups/settings-search-general/page.tsx`.
Expand Down
7 changes: 6 additions & 1 deletion src/app/mockups/mockups-layout-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export function MockupsLayoutClient({ children }: { children: ReactNode }) {
// at the bottom on phones), so the shared universal composer is suppressed here
// to avoid a second, floating search bar.
const isCalculatorsSearchPageMockup = pathname === "/mockups/calculators-search-page";
// The safety-plan generator is a full builder workspace with its own primary
// surfaces, so it hides the shared bottom search composer (same treatment as
// the tool and favourites mockups).
const isSafetyPlanMockup = pathname === "/mockups/patient-safety-plan";

return (
<GlobalMockupSearchShell
Expand All @@ -34,7 +38,8 @@ export function MockupsLayoutClient({ children }: { children: ReactNode }) {
!isFavouritesPageMockup &&
!isStandaloneDocumentFlow &&
!isUniversalSearchRedesignMockup &&
!isCalculatorsSearchPageMockup
!isCalculatorsSearchPageMockup &&
!isSafetyPlanMockup
}
chromeVisible={!isSourceOverlayRedesignMockup}
>
Expand Down
13 changes: 13 additions & 0 deletions src/app/mockups/patient-safety-plan/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { Metadata } from "next";

import { PatientSafetyPlanMockup } from "@/components/patient-safety-plan-mockup";

export const metadata: Metadata = {
title: "Safety Plan Generator Mockup - Clinical KB",
description:
"Clinician-facing patient safety-plan generator mockup: build the Stanley-Brown six steps with a live patient copy to print or share.",
};

export default function PatientSafetyPlanMockupRoute() {
return <PatientSafetyPlanMockup />;
}
Loading