({ className }: Props)
| 6 | import Link from "@docusaurus/Link"; |
| 7 | |
| 8 | export default function NotFoundContent({ className }: Props): JSX.Element { |
| 9 | return ( |
| 10 | <main className={clsx("container margin-vert--xl", className)}> |
| 11 | <div className="row"> |
| 12 | <div className="col col--6 col--offset-3"> |
| 13 | <Heading as="h1" className="hero__title"> |
| 14 | <Translate |
| 15 | id="theme.NotFound.title" |
| 16 | description="The title of the 404 page" |
| 17 | > |
| 18 | Page Not Found |
| 19 | </Translate> |
| 20 | </Heading> |
| 21 | <p> |
| 22 | <Translate |
| 23 | id="theme.NotFound.p1" |
| 24 | description="The first paragraph of the 404 page" |
| 25 | > |
| 26 | We couldn't find the page you were looking for. The page might |
| 27 | have been moved, or there was an error in the link. |
| 28 | </Translate> |
| 29 | </p> |
| 30 | <p> |
| 31 | <Translate |
| 32 | id="theme.NotFound.p2" |
| 33 | description="The 2nd paragraph of the 404 page" |
| 34 | > |
| 35 | Here are some things you can do: |
| 36 | </Translate> |
| 37 | </p> |
| 38 | <ul> |
| 39 | <li> |
| 40 | <Translate |
| 41 | id="theme.NotFound.ListItem1" |
| 42 | description="The first list item of the 404 page" |
| 43 | > |
| 44 | Go back and retry the link. |
| 45 | </Translate> |
| 46 | </li> |
| 47 | <li> |
| 48 | <Translate |
| 49 | id="theme.NotFound.ListItem2" |
| 50 | description="The second list item of the 404 page" |
| 51 | > |
| 52 | Search for the document by its title or keywords from any UID2 |
| 53 | page. |
| 54 | </Translate> |
| 55 | </li> |
| 56 | <li> |
| 57 | <Link to="/docs/intro"> |
| 58 | <Translate |
| 59 | id="theme.NotFound.ListItem3" |
| 60 | description="The third list item of the 404 page" |
| 61 | > |
| 62 | Visit the UID2 documentation home page. |
| 63 | </Translate> |
| 64 | </Link> |
| 65 | </li> |
nothing calls this directly
no outgoing calls
no test coverage detected