@@ -3,6 +3,7 @@ import clsx from "clsx";
33import Translate from "@docusaurus/Translate" ;
44import type { Props } from "@theme/NotFound/Content" ;
55import Heading from "@theme/Heading" ;
6+ import Link from "@docusaurus/Link" ;
67
78export default function NotFoundContent ( { className } : Props ) : JSX . Element {
89 return (
@@ -22,18 +23,47 @@ export default function NotFoundContent({ className }: Props): JSX.Element {
2223 id = "theme.NotFound.p1"
2324 description = "The first paragraph of the 404 page"
2425 >
25- We could not find what you were looking for.
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.
2628 </ Translate >
2729 </ p >
2830 < p >
2931 < Translate
3032 id = "theme.NotFound.p2"
3133 description = "The 2nd paragraph of the 404 page"
3234 >
33- Please contact the owner of the site that linked you to the
34- original URL and let them know their link is broken.
35+ Here are some things you can do:
3536 </ Translate >
3637 </ 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 >
66+ </ ul >
3767 </ div >
3868 </ div >
3969 </ main >
0 commit comments