File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 33import { usePathname } from "next/navigation"
44import { useMounted } from "nextra/hooks"
55
6+ import { Footer } from "@/components/footer"
7+ import { Navbar } from "@/components/navbar/navbar"
8+ import { topLevelNavbarItems } from "@/components/navbar/top-level-items"
9+
610import { StripesDecoration } from "@/app/(conf)/conf/_design-system/stripes-decoration"
711import stripesMask from "@/components/404-page/image.webp"
812
913import { Button } from "./(conf)/conf/_design-system/button"
1014
11- import "@/globals.css"
12- import "@/app/colors.css"
13-
1415export default function NotFoundPage ( ) {
1516 const pathname = usePathname ( )
1617 const mounted = useMounted ( )
@@ -31,6 +32,15 @@ export default function NotFoundPage() {
3132
3233 return (
3334 < >
35+ { /*
36+ No support for metadata in not-found.tsx yet
37+ https://github.com/vercel/next.js/pull/47328#issuecomment-1488891093
38+ */ }
39+ < title >
40+ Not Found | Please click the button to file a broken-link issue if this
41+ should be a valid route.
42+ </ title >
43+ < Navbar items = { topLevelNavbarItems } />
3444 < style > { ".nextra-nav-container.sticky { position: fixed }" } </ style >
3545 < div className = "relative" >
3646 < Stripes />
@@ -47,6 +57,7 @@ export default function NotFoundPage() {
4757 </ div >
4858 </ div >
4959 </ div >
60+ < Footer />
5061 </ >
5162 )
5263}
You can’t perform that action at this time.
0 commit comments