From c43ad68ca5abf193f70c52bb96ec977f83122658 Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 12 Oct 2023 18:31:03 -0700 Subject: [PATCH] feat: add 404 page (#489) --- console/client/src/App.tsx | 2 + console/client/src/layout/NotFoundPage.tsx | 78 ++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 console/client/src/layout/NotFoundPage.tsx diff --git a/console/client/src/App.tsx b/console/client/src/App.tsx index 1d05919545..71e1a5ca67 100644 --- a/console/client/src/App.tsx +++ b/console/client/src/App.tsx @@ -5,6 +5,7 @@ import { GraphPage } from './features/graph/GraphPage.tsx' import { TimelinePage } from './features/timeline/TimelinePage.tsx' import { VerbPage } from './features/verbs/VerbPage.tsx' import { Layout } from './layout/Layout.tsx' +import { NotFoundPage } from './layout/NotFoundPage.tsx' export const App = () => { return ( @@ -19,6 +20,7 @@ export const App = () => { } /> + } /> ) } diff --git a/console/client/src/layout/NotFoundPage.tsx b/console/client/src/layout/NotFoundPage.tsx new file mode 100644 index 0000000000..35fab88626 --- /dev/null +++ b/console/client/src/layout/NotFoundPage.tsx @@ -0,0 +1,78 @@ +import { ListBulletIcon, Square3Stack3DIcon } from '@heroicons/react/24/outline' + +export const NotFoundPage = () => { + return ( +
+
+
+

404

+

This page does not exist

+

+ Sorry, we couldn’t find the page you’re looking for. +

+
+
+

Popular pages

+ + +
+
+
+ ) +}