diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..9213254 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,98 @@ +'use client' + +import palette from '@/styles/palette' +import { lightTheme } from '@/styles/lightTheme' +import { Box, Button, ButtonGroup, Container, ThemeProvider, Typography, Fade } from '@mui/material' +import React, { useEffect, useState } from 'react' +import { Inter } from 'next/font/google' +import Image from 'next/image' +import Link from 'next/link' +import ONCLogo from '@public/shared/LogoBackgroundImage.png' + +// Load the Inter font +const inter = Inter({ subsets: ['latin'] }) + +export default function NotFound() { + const [isClient, setIsClient] = useState(false) + + useEffect(() => { + setIsClient(true) + }, []) + + if (!isClient) { + return null + } + + return ( + <> + + ONC Logo + + + + + + Page Not Found + + + We ran into a problem. + + + + + + Here’s some tips to help you out. + +
    +
  • Try reloading the page.
  • +
  • Use the navigation on the left-hand side to move to a different page.
  • +
  • If the error still occurs, please contact us.
  • +
+
+
+ + + + + + + + + +
+
+
+
+ + ) +}