import { Link } from "react-router-dom"
import { PrimaryPageTemplate } from "@/components/templates/primary-page-template"
import { Button } from "@/components/ui/button"
import { useProductDashboardHref } from "@/contexts/product-route-sync"
/**
* Page-not-found surface, healthcare-flavored.
*
* - Eyebrow: "Page not found" — plain, no "404" jargon.
* - Illustration: a clinical clipboard / chart with one entry missing,
* highlighted in brand color. Reads instantly to clinical-education
* users as "this record isn't on file".
* - Headline: "Not on the chart." (Ivy Presto italic) — clinical idiom
* that reinforces the metaphor.
* - Substantial primary CTA back to the dashboard, ghost "Go back".
*/
export default function NotFound() {
const dashboardHref = useProductDashboardHref()
return (
{/* Clinical chart on a clipboard — one entry highlighted as missing */}
Page not found
Not on the chart.
We couldn't find this page. It may have been moved, or the link
could be outdated.
)
}
/**
* Inline SVG — a stylized clinical chart on a clipboard. One row has an
* empty checkbox and a dashed line drawn in `--brand-color`, suggesting
* the missing record. Other rows fade to the bottom for a real-paper feel.
*
* Pure SVG, no external assets. `currentColor` makes it theme-reactive,
* brand line uses the active product brand token.
*/
function ChartIllustration({ className }: { className?: string }) {
return (
)
}