Skip to content

Commit 5f8c1ac

Browse files
committed
feat(404-page): add paragraph explaining wokwi
1 parent 1de5bdb commit 5f8c1ac

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

i18n/en/code.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
"message": "homepage",
1616
"description": "Label for the link to the homepage"
1717
},
18+
"theme.NotFound.p3": {
19+
"message": "Wokwi is an online electronics simulator, which can be used to simulate {Arduino}, {ESP32}, {STM32} & {Pico} projects, with support for many other popular boards and components. Get started for free at {wokwiWebsite}.",
20+
"description": "A paragraph describing what Wokwi offers"
21+
},
1822
"theme.AnnouncementBar.closeButtonAriaLabel": {
1923
"message": "Close",
2024
"description": "The ARIA label for close button of announcement bar"

src/theme/NotFound/Content/index.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,19 @@ export default function NotFoundContent({className}) {
4343
Let's go back to the homepage.
4444
</Translate>
4545
</p>
46+
<p>
47+
<Translate
48+
id="theme.NotFound.p3"
49+
description="A paragraph describing what Wokwi offers"
50+
values={{
51+
Arduino: <Link to="https://wokwi.com/arduino">Arduino</Link>,
52+
ESP32: <Link to="https://wokwi.com/esp32">ESP32</Link>,
53+
STM32: <Link to="https://wokwi.com/stm32">STM32</Link>,
54+
Pico: <Link to="https://wokwi.com/pi-pico">Pico</Link>,
55+
wokwiWebsite: <Link to="https://wokwi.com">wokwi.com</Link>
56+
}}>
57+
</Translate>
58+
</p>
4659

4760
<div style={{display: 'flex', justifyContent: 'center'}}>
4861
<WokwiCat style={{fill: 'currentColor'}}/>

0 commit comments

Comments
 (0)