diff --git a/www/apps/book/app/not-found.mdx b/www/apps/book/app/not-found.mdx new file mode 100644 index 0000000000..62ee862862 --- /dev/null +++ b/www/apps/book/app/not-found.mdx @@ -0,0 +1,47 @@ +import { CardList } from "docs-ui" +import { + BookOpen, + AcademicCapSolid, + ComputerDesktopSolid, + BuildingStorefront +} from "@medusajs/icons" + +export const metadata = { + title: `Page Not Found`, +} + +# {metadata.title} + +The page you were looking for isn't available. + +If you think this is a mistake, please [report this issue on GitHub](https://github.com/medusajs/medusa/issues/new?assignees=&labels=type%3A+docs&template=docs.yml). + + + }, + { + title: "Learning Resources", + href: "!resources!", + showLinkIcon: false, + startIcon: + }, + { + title: "Admin API reference", + href: "!api!/admin", + showLinkIcon: false, + startIcon: + }, + { + title: "Store API reference", + href: "!api!/store", + showLinkIcon: false, + startIcon: + } + ]} +/> \ No newline at end of file diff --git a/www/apps/resources/app/not-found.mdx b/www/apps/resources/app/not-found.mdx new file mode 100644 index 0000000000..62ee862862 --- /dev/null +++ b/www/apps/resources/app/not-found.mdx @@ -0,0 +1,47 @@ +import { CardList } from "docs-ui" +import { + BookOpen, + AcademicCapSolid, + ComputerDesktopSolid, + BuildingStorefront +} from "@medusajs/icons" + +export const metadata = { + title: `Page Not Found`, +} + +# {metadata.title} + +The page you were looking for isn't available. + +If you think this is a mistake, please [report this issue on GitHub](https://github.com/medusajs/medusa/issues/new?assignees=&labels=type%3A+docs&template=docs.yml). + + + }, + { + title: "Learning Resources", + href: "!resources!", + showLinkIcon: false, + startIcon: + }, + { + title: "Admin API reference", + href: "!api!/admin", + showLinkIcon: false, + startIcon: + }, + { + title: "Store API reference", + href: "!api!/store", + showLinkIcon: false, + startIcon: + } + ]} +/> \ No newline at end of file diff --git a/www/apps/ui/src/app/not-found.mdx b/www/apps/ui/src/app/not-found.mdx new file mode 100644 index 0000000000..62ee862862 --- /dev/null +++ b/www/apps/ui/src/app/not-found.mdx @@ -0,0 +1,47 @@ +import { CardList } from "docs-ui" +import { + BookOpen, + AcademicCapSolid, + ComputerDesktopSolid, + BuildingStorefront +} from "@medusajs/icons" + +export const metadata = { + title: `Page Not Found`, +} + +# {metadata.title} + +The page you were looking for isn't available. + +If you think this is a mistake, please [report this issue on GitHub](https://github.com/medusajs/medusa/issues/new?assignees=&labels=type%3A+docs&template=docs.yml). + + + }, + { + title: "Learning Resources", + href: "!resources!", + showLinkIcon: false, + startIcon: + }, + { + title: "Admin API reference", + href: "!api!/admin", + showLinkIcon: false, + startIcon: + }, + { + title: "Store API reference", + href: "!api!/store", + showLinkIcon: false, + startIcon: + } + ]} +/> \ No newline at end of file diff --git a/www/apps/ui/src/app/not-found.tsx b/www/apps/ui/src/app/not-found.tsx new file mode 100644 index 0000000000..8811b03ac6 --- /dev/null +++ b/www/apps/ui/src/app/not-found.tsx @@ -0,0 +1,60 @@ +import type { Metadata } from "next" +import Link from "next/link" +import { CardList, MDXComponents } from "docs-ui" +import { + BookOpen, + AcademicCapSolid, + ComputerDesktopSolid, + BuildingStorefront, +} from "@medusajs/icons" + +const H1 = MDXComponents.h1! +const P = MDXComponents.p! + +export const metadata: Metadata = { + title: "Page Not Found", +} + +export default function NotFound() { + return ( +
+

Page Not Found

+

The page you were looking for isn't available.

+

+ If you think this is a mistake, please + + report this issue on GitHub + +

+ , + }, + { + title: "Learning Resources", + href: "!resources!", + showLinkIcon: false, + startIcon: , + }, + { + title: "Admin API reference", + href: "!api!/admin", + showLinkIcon: false, + startIcon: , + }, + { + title: "Store API reference", + href: "!api!/store", + showLinkIcon: false, + startIcon: , + }, + ]} + /> +
+ ) +} diff --git a/www/apps/user-guide/app/not-found.mdx b/www/apps/user-guide/app/not-found.mdx new file mode 100644 index 0000000000..62ee862862 --- /dev/null +++ b/www/apps/user-guide/app/not-found.mdx @@ -0,0 +1,47 @@ +import { CardList } from "docs-ui" +import { + BookOpen, + AcademicCapSolid, + ComputerDesktopSolid, + BuildingStorefront +} from "@medusajs/icons" + +export const metadata = { + title: `Page Not Found`, +} + +# {metadata.title} + +The page you were looking for isn't available. + +If you think this is a mistake, please [report this issue on GitHub](https://github.com/medusajs/medusa/issues/new?assignees=&labels=type%3A+docs&template=docs.yml). + + + }, + { + title: "Learning Resources", + href: "!resources!", + showLinkIcon: false, + startIcon: + }, + { + title: "Admin API reference", + href: "!api!/admin", + showLinkIcon: false, + startIcon: + }, + { + title: "Store API reference", + href: "!api!/store", + showLinkIcon: false, + startIcon: + } + ]} +/> \ No newline at end of file