diff --git a/src/components/notFoundBlock/notFoundBlock.jsx b/src/components/notFoundBlock/notFoundBlock.jsx index 093d63fb1a..58aa2dc159 100644 --- a/src/components/notFoundBlock/notFoundBlock.jsx +++ b/src/components/notFoundBlock/notFoundBlock.jsx @@ -16,9 +16,8 @@ // eslint-disable-next-line import/no-extraneous-dependencies import { PageMetadata } from '@docusaurus/theme-common'; -import Layout from '@theme/Layout'; import React from 'react'; - +import Heading from '@theme/Heading'; import styles from './notFoundBlock.module.css'; import { SearchButton } from './searchButton'; @@ -26,23 +25,23 @@ export function NotFoundBlock() { return ( <> - -
-
-

Page Not Found

-

- You may have used an outdated link as there have been some changes in the structure of - the documentation. -

-

- But it/'s clearly here somewhere!
- Please, use the keyword search to find it! -

-
- -
+
+
+ + Page Not Found + +

+ You may have used an outdated link as there have been some changes in the structure of + documentation. +

+

+ But it/'s clearly here somewhere!
+ Please, use the keyword search to find it! +

+
+
- +
); } diff --git a/src/theme/NotFound.js b/src/theme/NotFound.js deleted file mode 100644 index 2b9a9da6ef..0000000000 --- a/src/theme/NotFound.js +++ /dev/null @@ -1,3 +0,0 @@ -import { NotFoundBlock } from '../components/notFoundBlock'; - -export default NotFoundBlock; diff --git a/src/theme/NotFound/Content/index.js b/src/theme/NotFound/Content/index.js new file mode 100644 index 0000000000..4e7310c7a0 --- /dev/null +++ b/src/theme/NotFound/Content/index.js @@ -0,0 +1,3 @@ +import { NotFoundBlock } from '../../../components/notFoundBlock'; + +export default NotFoundBlock;