@@ -2,6 +2,10 @@ import React from 'react';
22import clsx from 'clsx' ;
33import Translate from '@docusaurus/Translate' ;
44import Heading from '@theme/Heading' ;
5+ import Link from '@docusaurus/Link' ;
6+
7+ import WokwiCat from '/static/img/wokwi-cat.svg' ;
8+
59export default function NotFoundContent ( { className} ) {
610 return (
711 < main className = { clsx ( 'container margin-vert--xl' , className ) } >
@@ -11,24 +15,39 @@ export default function NotFoundContent({className}) {
1115 < Translate
1216 id = "theme.NotFound.title"
1317 description = "The title of the 404 page" >
14- Page Not Found
18+ 404 :(
1519 </ Translate >
1620 </ Heading >
1721 < p >
1822 < Translate
1923 id = "theme.NotFound.p1"
20- description = "The first paragraph of the 404 page" >
21- We could not find what you were looking for .
24+ description = "The 1st paragraph of the 404 page" >
25+ Sorry, the page doesn't exist or has moved .
2226 </ Translate >
2327 </ p >
2428 < p >
2529 < Translate
2630 id = "theme.NotFound.p2"
27- description = "The 2nd paragraph of the 404 page" >
28- Please contact the owner of the site that linked you to the
29- original URL and let them know their link is broken.
31+ description = "The 2nd paragraph of the 404 page"
32+ values = { {
33+ homepage : (
34+ < Link to = "/" >
35+ < Translate
36+ id = "theme.NotFound.homepageLink"
37+ description = "Label for the link to the homepage" >
38+ homepage
39+ </ Translate >
40+ </ Link >
41+ )
42+ } } >
43+ Let's go back to the homepage.
3044 </ Translate >
3145 </ p >
46+
47+ < div style = { { display : 'flex' , justifyContent : 'center' } } >
48+ < WokwiCat style = { { fill : 'currentColor' } } />
49+ </ div >
50+
3251 </ div >
3352 </ div >
3453 </ main >
0 commit comments