From c6941c0a5a31fe81f210825e38aebdbe3d83e676 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Thu, 10 Nov 2022 13:02:42 +0800 Subject: [PATCH] [portal][feat] add 404 page --- apps/portal/src/pages/404.tsx | 115 ++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 apps/portal/src/pages/404.tsx diff --git a/apps/portal/src/pages/404.tsx b/apps/portal/src/pages/404.tsx new file mode 100644 index 00000000..de77f0c0 --- /dev/null +++ b/apps/portal/src/pages/404.tsx @@ -0,0 +1,115 @@ +import Link from 'next/link'; +import { ChevronRightIcon } from '@heroicons/react/20/solid'; +import { + BriefcaseIcon, + CurrencyDollarIcon, + DocumentTextIcon, +} from '@heroicons/react/24/outline'; + +const links = [ + { + description: ( + <> + Explore offer data points, benchmark and analyze your offers + anonymously. + + ), + href: '/offers', + icon: CurrencyDollarIcon, + title: 'Offers Repo', + }, + { + description: ( + <> + A community driven interview question bank. Learn how others are + answering interview questions. + + ), + href: '/questions', + icon: BriefcaseIcon, + title: 'Questions Bank', + }, + { + description: ( + <> + Submit your resume and collect invaluable feedback from our helpful + community of Software Engineers and hiring managers. + + ), + href: '/resumes', + icon: DocumentTextIcon, + title: 'Resumes Review', + }, +]; + +export default function Example() { + return ( +
+
+
+
+

+ Page Not Found +

+

+ Oops! You tried to access a page that doesn't exist. +

+
+
+

+ You may be trying to access the following services +

+
    + {links.map((link) => ( +
  • +
    + + +
    +
    +

    + + + +

    +

    + {link.description} +

    +
    +
    +
    +
  • + ))} +
+
+ + Or go back home + + +
+
+
+
+
+ ); +}