From 0bbc19d5d20db3c4f5cb3234b607d959f0cd275c Mon Sep 17 00:00:00 2001 From: Ross Spencer Date: Tue, 8 Aug 2023 17:15:45 +0200 Subject: [PATCH] Add example custom 404 --- src/theme/NotFound.js | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/theme/NotFound.js diff --git a/src/theme/NotFound.js b/src/theme/NotFound.js new file mode 100644 index 00000000..3659ea1c --- /dev/null +++ b/src/theme/NotFound.js @@ -0,0 +1,46 @@ +import React, { useEffect } from 'react'; +import Translate, {translate} from '@docusaurus/Translate'; +import {PageMetadata} from '@docusaurus/theme-common'; +import Layout from '@theme/Layout'; +export default function NotFound() { + + return ( + <> + + +
+
+
+

+ + 404 TITLE + +

+

+ + 404 SUMMARY + +

+

+ + 404 FURTHER INFO. + +

+
+
+
+
+ + ); +}