File tree 3 files changed +199
-196
lines changed
src/theme/NotFound/Content 3 files changed +199
-196
lines changed Original file line number Diff line number Diff line change 18
18
"gpu-types" : " python3 helpers/gpu_types.py"
19
19
},
20
20
"dependencies" : {
21
- "@docusaurus/core" : " ^3.1.0 " ,
22
- "@docusaurus/preset-classic" : " ^3.1.0 " ,
21
+ "@docusaurus/core" : " ^3.1.1 " ,
22
+ "@docusaurus/preset-classic" : " ^3.1.1 " ,
23
23
"@mdx-js/react" : " ^3.0.0" ,
24
24
"@vercel/speed-insights" : " ^1.0.3" ,
25
25
"clsx" : " ^2.0.0" ,
31
31
"redocusaurus" : " ^2.0.0"
32
32
},
33
33
"devDependencies" : {
34
- "@docusaurus/module-type-aliases" : " ^3.1.0 " ,
35
- "@docusaurus/types" : " ^3.1.0 "
34
+ "@docusaurus/module-type-aliases" : " ^3.1.1 " ,
35
+ "@docusaurus/types" : " ^3.1.1 "
36
36
},
37
37
"browserslist" : {
38
38
"production" : [
Original file line number Diff line number Diff line change @@ -74,14 +74,17 @@ export default function NotFoundContent({className}) {
74
74
{ /* Display the image if it's available */ }
75
75
{ imageData && < img src = { imageData } alt = "AI generated 404 error page" /> }
76
76
</ div >
77
- < p >
78
- < Translate
79
- id = "theme.NotFound.p3"
80
- description = "Paragraph explaining about the generated art" >
81
- The cosmic art you see here was conjured up by the digital wizards at RunPod's Serverless Endpoint,
82
- specifically for this 404 page. Pretty neat, huh?
83
- </ Translate >
84
- </ p >
77
+ { /* Display the paragraph only if the image is available */ }
78
+ { imageData && (
79
+ < p >
80
+ < Translate
81
+ id = "theme.NotFound.p3"
82
+ description = "Paragraph explaining about the generated art" >
83
+ The cosmic art you see here was conjured up by the digital wizards at RunPod's Serverless Endpoint,
84
+ specifically for this 404 page. Pretty neat, huh?
85
+ </ Translate >
86
+ </ p >
87
+ ) }
85
88
</ div >
86
89
</ div >
87
90
</ main >
You can’t perform that action at this time.
0 commit comments