mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-12 02:38:15 +00:00
chore: initial Untitled UI Vite scaffold with FontAwesome Pro
This commit is contained in:
32
src/pages/not-found.tsx
Normal file
32
src/pages/not-found.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
import { ArrowLeft } from "@untitledui/icons";
|
||||
import { useNavigate } from "react-router";
|
||||
import { Button } from "@/components/base/buttons/button";
|
||||
|
||||
export function NotFound() {
|
||||
const router = useNavigate();
|
||||
|
||||
return (
|
||||
<section className="flex min-h-screen items-start bg-primary py-16 md:items-center md:py-24">
|
||||
<div className="mx-auto max-w-container grow px-4 md:px-8">
|
||||
<div className="flex w-full max-w-3xl flex-col gap-8 md:gap-12">
|
||||
<div className="flex flex-col gap-4 md:gap-6">
|
||||
<div className="flex flex-col gap-3">
|
||||
<span className="text-md font-semibold text-brand-secondary">404 error</span>
|
||||
<h1 className="text-display-md font-semibold text-primary md:text-display-lg lg:text-display-xl">We can’t find that page</h1>
|
||||
</div>
|
||||
<p className="text-lg text-tertiary md:text-xl">Sorry, the page you are looking for doesn't exist or has been moved.</p>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col-reverse gap-3 sm:flex-row">
|
||||
<Button color="secondary" size="xl" iconLeading={ArrowLeft} onClick={() => router(-1)}>
|
||||
Go back
|
||||
</Button>
|
||||
<Button size="xl" onClick={() => router(-1)}>
|
||||
Take me home
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user