Added unauthorizedpage and path in main

This commit is contained in:
Mattias 2024-03-19 22:50:40 +01:00
parent cc9678f375
commit cd2a81e7f2
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import Button from "../Components/Button";
export default function UnauthorizedPage(): JSX.Element {
return (
<div className="flex flex-col items-center justify-center min-h-screen bg-white">
<h1 className="text-[30px]">Unauthorized</h1>
<a href="/">
<Button
text="Go to Home Page"
onClick={(): void => {
localStorage.clear();
}}
type="button"
/>
</a>
</div>
);
}