diff --git a/app/not-found.tsx b/app/not-found.tsx new file mode 100644 index 0000000..cfe6ef2 --- /dev/null +++ b/app/not-found.tsx @@ -0,0 +1,68 @@ +import Link from "next/link"; + +const suggestions = [ + { + title: "Documentation", + description: "Guides, quick starts, and the MQL reference.", + href: "/docs", + }, + { + title: "Download", + description: "Docker, APT, and RPM install commands.", + href: "/packages", + }, + { + title: "Samples", + description: "Ready-to-run example applications.", + href: "/samples", + }, +] as const; + +export default function NotFound() { + return ( +
+

+ 404 - Page not found +

+

+ This page doesn't exist +

+

+ The page you're looking for may have moved. These are the most + useful places to continue from. +

+ +
+ {suggestions.map((item) => ( + +

+ {item.title} +

+

{item.description}

+ + ))} +
+ +
+ + Back to home + + + Report a broken link + +
+
+ ); +}