summaryrefslogblamecommitdiffstats
path: root/docusaurus/src/theme/NotFound/index.tsx
blob: 15e9fe667f15fb61aad2f2402cbd83d709c72073 (plain) (tree)
1
2
3
4
5
6
7
                                                
 
                                              


                                                
 










                                            


                                                                               
/* SPDX-License-Identifier: AGPL-3.0-or-later */

import DDoSProtection from "./DDoSProtection";
import NotFound from "@theme-original/NotFound";
import React from "react";
import Redirection from "./Redirection";

export default (
  props: React.JSX.ElementAttributesProperty
): React.JSX.Element => (
  <>
    <Redirection />
    <DDoSProtection />
    <div style={{ display: "none" }}>
      <NotFound {...props} />
    </div>
  </>
);

// How can I customize the 404 page? · facebook/docusaurus · Discussion #6030
// https://github.com/facebook/docusaurus/discussions/6030