Create home page

This commit is contained in:
2024-06-29 16:45:28 +02:00
parent e1739d9818
commit 1d32ca1559
11 changed files with 376 additions and 9 deletions

View File

@ -0,0 +1,3 @@
export function HomeRoute(): React.ReactElement {
return <>home authenticated todo</>;
}

View File

@ -0,0 +1,23 @@
import { Button } from "@mui/material";
import { RouterLink } from "../widgets/RouterLink";
export function NotFoundRoute(): React.ReactElement {
return (
<div
style={{
textAlign: "center",
flex: "1",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
}}
>
<h1>404 Not found</h1>
<p>The page you requested was not found!</p>
<RouterLink to="/">
<Button>Go back home</Button>
</RouterLink>
</div>
);
}