diff --git a/src/404Page.jsx b/src/404Page.jsx new file mode 100644 index 0000000..35dd128 --- /dev/null +++ b/src/404Page.jsx @@ -0,0 +1,28 @@ +import { h, render, Component } from "preact"; +import { + Container, + Card, + CardContent, + Typography, +} from "@material-ui/core"; + +class LostPage extends Component { + render() { + return ( + + + + + Error 404 + + There is no content here... + + + + + + ); + } +} + +export default LostPage; diff --git a/src/index.jsx b/src/index.jsx index 5bc56c0..d0f8f39 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -13,12 +13,17 @@ class App extends Component { - - - import("./Contact.jsx").then((module) => module.default) - } + + import("./Home").then((module) => module.default) + } + /> + + import("./Contact").then((module) => module.default) + } + /> + + import("./404Page").then((module) => module.default) + } />