From bb57517785d2e61b8ddebb96ece087e5d52e8f7a Mon Sep 17 00:00:00 2001 From: Dorian Grasset Date: Tue, 30 Jan 2024 19:24:31 +0100 Subject: [PATCH] add error page style --- src/app/app.tsx | 4 ++-- src/pages/Error.tsx | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 src/pages/Error.tsx diff --git a/src/app/app.tsx b/src/app/app.tsx index c7cbf26..8f80309 100644 --- a/src/app/app.tsx +++ b/src/app/app.tsx @@ -1,8 +1,8 @@ // eslint-disable-next-line @typescript-eslint/no-unused-vars import { BrowserRouter, Route, Routes } from 'react-router-dom'; -import styles from './app.module.scss'; import Login from './../pages/Login'; import Signup from './../pages/Signup'; +import Error from './../pages/Error'; export function App() { return ( @@ -10,7 +10,7 @@ export function App() { } /> } /> - 404} /> + } /> ); diff --git a/src/pages/Error.tsx b/src/pages/Error.tsx new file mode 100644 index 0000000..2c49f30 --- /dev/null +++ b/src/pages/Error.tsx @@ -0,0 +1,13 @@ +export interface ErrorProps { +} + +export default function Error(props: ErrorProps) { + return ( +
+
+

404 ERROR

+
You're not happy to see me !
+
+
+ ) +} \ No newline at end of file