diff --git a/src/theme/NotFound/Content/index.js b/src/theme/NotFound/Content/index.js new file mode 100644 index 00000000000..818b5dd19be --- /dev/null +++ b/src/theme/NotFound/Content/index.js @@ -0,0 +1,37 @@ +import React from 'react'; +import clsx from 'clsx'; +import Translate from '@docusaurus/Translate'; +import Heading from '@theme/Heading'; +import styles from "../styles.module.css"; +export default function NotFoundContent({className}) { + return ( +
+
+
+ + + Page Not Found + + +

+ + We could not find what you were looking for. + +

+

+ + Please contact the owner of the site that linked you to the + original URL and let them know their link is broken. + +

+
+
+
+ ); +} diff --git a/src/theme/NotFound/index.js b/src/theme/NotFound/index.js new file mode 100644 index 00000000000..55e732e66f5 --- /dev/null +++ b/src/theme/NotFound/index.js @@ -0,0 +1,17 @@ +import React from 'react'; +import {translate} from '@docusaurus/Translate'; +import {PageMetadata} from '@docusaurus/theme-common'; +import Layout from '@theme/Layout'; +import NotFoundContent from '@theme/NotFound/Content'; +export default function Index() { + const title = translate({ + id: 'theme.NotFound.title', + message: 'Page Not Found', + }); + return ( + <> + + + + ); +} diff --git a/src/theme/NotFound/styles.module.css b/src/theme/NotFound/styles.module.css new file mode 100644 index 00000000000..a7485c93564 --- /dev/null +++ b/src/theme/NotFound/styles.module.css @@ -0,0 +1,7 @@ +.notFoundMain { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + padding-top: 10rem; +} \ No newline at end of file