404 page
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m0s
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m0s
This commit is contained in:
parent
495cc49c84
commit
45abb31cfe
BIN
public/media/mike.png
Normal file
BIN
public/media/mike.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
44
src/app/not-found.tsx
Normal file
44
src/app/not-found.tsx
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
import { ReactElement } from "react";
|
||||||
|
import Image from "next/image";
|
||||||
|
import { Button } from "@/components/ui/button";
|
||||||
|
import Link from "next/link";
|
||||||
|
import { ArrowLeftIcon } from "@heroicons/react/24/outline";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The not found page.
|
||||||
|
*
|
||||||
|
* @return the page jsx
|
||||||
|
*/
|
||||||
|
const NotFoundPage = (): ReactElement => (
|
||||||
|
<main className="min-h-screen flex justify-center items-center">
|
||||||
|
<div className="flex gap-10">
|
||||||
|
{/* Image */}
|
||||||
|
<Image
|
||||||
|
src="/media/mike.png"
|
||||||
|
alt="Mike Wazowski"
|
||||||
|
width={128}
|
||||||
|
height={128}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* Message */}
|
||||||
|
<div className="flex flex-col justify-center">
|
||||||
|
<div className="flex flex-col gap-0.5">
|
||||||
|
<h1 className="text-3xl font-bold">Wrong Door!</h1>
|
||||||
|
<p className="max-w-72 text-lg opacity-75">
|
||||||
|
The page you were looking for could not be found.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<Link className="mt-3" href="/dashboard">
|
||||||
|
<Button
|
||||||
|
className="p-0 gap-2 hover:bg-transparent hover:opacity-75 transition-all transform-gpu"
|
||||||
|
variant="ghost"
|
||||||
|
>
|
||||||
|
<ArrowLeftIcon className="w-4 h-4" />
|
||||||
|
Return to App
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
export default NotFoundPage;
|
@ -34,7 +34,7 @@ const Sidebar = (): ReactElement => {
|
|||||||
Pulse App
|
Pulse App
|
||||||
</h1>
|
</h1>
|
||||||
</Link>
|
</Link>
|
||||||
<Separator className="w-32 my-3.5" />
|
<Separator className="w-48 my-3.5" />
|
||||||
|
|
||||||
{/* Content */}
|
{/* Content */}
|
||||||
<OrganizationSelector />
|
<OrganizationSelector />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user