diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index accd2e65a..15860e893 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -10,6 +10,7 @@ import { Toaster } from 'sonner' import { useStickyState } from './hooks/useStickyState' import MobileTabsPage from './pages/MobileTabsPage' import Cookies from 'js-cookie' +import { lazy } from 'react' /** Following keys will not be cached in app cache */ const NO_CACHE_KEYS = [ @@ -83,6 +84,7 @@ const router = createBrowserRouter( */} + import('./pages/NotFound')} /> ), { basename: `/${import.meta.env.VITE_BASE_NAME}` ?? '', diff --git a/frontend/src/pages/NotFound.tsx b/frontend/src/pages/NotFound.tsx new file mode 100644 index 000000000..1043de11c --- /dev/null +++ b/frontend/src/pages/NotFound.tsx @@ -0,0 +1,22 @@ +import { Stack } from '@/components/layout/Stack' +import { Button, Flex, Heading, Text } from '@radix-ui/themes' +import { Link } from 'react-router-dom' + +type Props = {} + +const NotFoundPage = (props: Props) => { + return ( + + + Page not found. + You have ventured too far beyond the wall. + + + + + ) +} + +export const Component = NotFoundPage \ No newline at end of file