Skip to content

Commit 77b9db0

Browse files
committed
Update text under image
1 parent 4648816 commit 77b9db0

File tree

3 files changed

+199
-196
lines changed

3 files changed

+199
-196
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"gpu-types": "python3 helpers/gpu_types.py"
1919
},
2020
"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",
2323
"@mdx-js/react": "^3.0.0",
2424
"@vercel/speed-insights": "^1.0.3",
2525
"clsx": "^2.0.0",
@@ -31,8 +31,8 @@
3131
"redocusaurus": "^2.0.0"
3232
},
3333
"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"
3636
},
3737
"browserslist": {
3838
"production": [

src/theme/NotFound/Content/index.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,17 @@ export default function NotFoundContent({className}) {
7474
{/* Display the image if it's available */}
7575
{imageData && <img src={imageData} alt="AI generated 404 error page" />}
7676
</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+
)}
8588
</div>
8689
</div>
8790
</main>

0 commit comments

Comments
 (0)