diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..18f6cc0 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,68 @@ +import Image from "next/image"; +import { hackyPeeking } from "@/assets/images"; +import Link from "next/link"; +import { getServerSession } from "next-auth"; +import authOptions from "./api/auth/[...nextauth]/authOptions"; +import Toolbar from "@/components/Toolbar"; +import BottomNavbar from "@/components/BottomNavbar"; + +export default async function NotFound() { + const session = await getServerSession(authOptions); + + return ( +
+ {/* Background accents */} +
+
+
+
+
+ + {session ? : null} + +
+
+

+ 404 + Page not found +

+ +

+ Oops, this page got a bit lost. +
While we are working on it, here's Hacky peeking to say + hi. +

+ + {/* Static Hacky placed just above the CTA so it looks like he's holding the button */} +
+ + Hacky peeking + +
+ +
+ + Go back home + +
+
+
+ + {session ? : null} +
+ ); +} diff --git a/src/components/BottomNavbar/QRCodeButton.tsx b/src/components/BottomNavbar/QRCodeButton.tsx index 82df75c..dc76516 100644 --- a/src/components/BottomNavbar/QRCodeButton.tsx +++ b/src/components/BottomNavbar/QRCodeButton.tsx @@ -21,7 +21,7 @@ export default function QRCodeButton() {
- +
diff --git a/src/components/Toolbar/index.tsx b/src/components/Toolbar/index.tsx index fa245a8..2aa9478 100644 --- a/src/components/Toolbar/index.tsx +++ b/src/components/Toolbar/index.tsx @@ -22,7 +22,7 @@ export default function Toolbar() { <> setIsExpanded(false)} />
-
+