|
1
|
import { AcademicCapSolid, BookOpen } from "@medusajs/icons" |
|
2
|
import clsx from "clsx" |
|
3
|
import { CardList, H1, H2, MDXComponents, SimilarPages } from "docs-ui" |
|
4
|
import { config } from "../config" |
|
5
|
|
|
6
|
const P = MDXComponents.p as React.FC< |
|
7
|
React.HTMLAttributes<HTMLParagraphElement> |
|
8
|
> |
|
9
|
const A = MDXComponents.a as React.FC< |
|
10
|
React.AnchorHTMLAttributes<HTMLAnchorElement> |
|
11
|
> |
|
12
|
|
|
13
|
const NotFoundPage = () => { |
|
14
|
return ( |
|
15
|
<div |
|
16
|
className={clsx( |
|
17
|
"w-full h-fit", |
|
18
|
"max-w-inner-content-xs sm:max-w-inner-content-sm md:max-w-inner-content-md", |
|
19
|
"lg:max-w-inner-content-lg xl:max-w-inner-content-xl xxl:max-w-inner-content-xxl", |
|
20
|
"xxxl:max-w-inner-content-xxxl", |
|
21
|
"px-docs_1 md:px-docs_4" |
|
22
|
)} |
|
23
|
> |
|
24
|
<H1>Page Not Found</H1> |
|
25
|
<P>The page you were looking for isn't available.</P> |
|
26
|
<P> |
|
27
|
If you're looking for Medusa v1 documentation, it's been moved |
|
28
|
to <A href="https://docs.medusajs.com/v1">docs.medusajs.com/v1</A>. |
|
29
|
</P> |
|
30
|
<P> |
|
31
|
If you think this is a mistake, please{" "} |
|
32
|
<A href="https://github.com/medusajs/medusa/issues/new?assignees=&labels=type%3A+docs&template=docs.yml"> |
|
33
|
report this issue on GitHub |
|
34
|
</A> |
|
35
|
. |
|
36
|
</P> |
|
37
|
<SimilarPages /> |
|
38
|
<H2>Other Resources</H2> |
|
39
|
<CardList |
|
40
|
itemsPerRow={2} |
|
41
|
items={[ |
|
42
|
{ |
|
43
|
title: "Get Started Docs", |
|
44
|
href: `${config.baseUrl}/learn`, |
|
45
|
icon: BookOpen, |
|
46
|
}, |
|
47
|
{ |
|
48
|
title: "Commerce Modules", |
|
49
|
href: `${config.baseUrl}/resources/commerce-modules`, |
|
50
|
icon: AcademicCapSolid, |
|
51
|
}, |
|
52
|
]} |
|
53
|
/> |
|
54
|
</div> |
|
55
|
) |
|
56
|
} |
|
57
|
|
|
58
|
export default NotFoundPage |