From fa664cbd3a42794e7964c570c86d19dd2ac974c5 Mon Sep 17 00:00:00 2001 From: SutuSebastian Date: Mon, 26 Aug 2024 14:05:02 +0300 Subject: [PATCH 1/2] remove unused imports --- apps/web/app/docs/[[...slug]]/page.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/web/app/docs/[[...slug]]/page.tsx b/apps/web/app/docs/[[...slug]]/page.tsx index 0f85ce5de..20f7bdfca 100644 --- a/apps/web/app/docs/[[...slug]]/page.tsx +++ b/apps/web/app/docs/[[...slug]]/page.tsx @@ -1,7 +1,5 @@ import { allDocs, type Doc } from "contentlayer/generated"; -import { Footer } from "flowbite-react"; import type { Metadata } from "next"; -import Image from "next/image"; import Link from "next/link"; import { notFound } from "next/navigation"; import Markdown from "react-markdown"; From 7386929a28843c30bf40231536ede9b8f6717ca0 Mon Sep 17 00:00:00 2001 From: SutuSebastian Date: Mon, 26 Aug 2024 14:07:03 +0300 Subject: [PATCH 2/2] add not found page --- apps/web/app/not-found.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 apps/web/app/not-found.tsx diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx new file mode 100644 index 000000000..f3b2d42f7 --- /dev/null +++ b/apps/web/app/not-found.tsx @@ -0,0 +1,17 @@ +import { HomeNavbar } from "~/components/homepage"; +import { MainFooter } from "~/components/main-footer"; + +export default function NotFoundPage() { + return ( +
+ +
+

404 - Page Not Found

+

+ Whoops! That page doesn’t exist. But do not fret, check out our other resources to get started. +

+
+ +
+ ); +}