diff --git a/website/src/theme/NotFound.js b/website/src/theme/NotFound.js new file mode 100644 index 0000000000..96ad2740b6 --- /dev/null +++ b/website/src/theme/NotFound.js @@ -0,0 +1,35 @@ +/** + * Copyright (c) 2017-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import React from 'react'; +import Layout from '@theme/Layout'; +import Feedback from '../pages/feedback'; + +function NotFound({location}) { + if (/^\/feedback/.test(location.pathname)) { + return ; + } + + 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. +

+
+
+
+
+ ); +} + +export default NotFound;