diff --git a/lang/ui.en.json b/lang/ui.en.json index 6007ba9b4..463c9caec 100644 --- a/lang/ui.en.json +++ b/lang/ui.en.json @@ -712,9 +712,17 @@ "description": "Link to home page" }, "homepage-alt": { + "defaultMessage": "graph showing x, y, z graph lines representing micro:bit accelerometer data with clapping hands overlaid", + "description": "Alt text for image in homepage" + }, + "homepage-alt-graph": { "defaultMessage": "graph showing x, y, z graph lines representing micro:bit accelerometer data", "description": "Alt text for image in homepage" }, + "homepage-alt-hands": { + "defaultMessage": "clapping hands", + "description": "Alt text for image in homepage" + }, "homepage-description": { "defaultMessage": "Train a machine learning model on your own movement data and run it on your micro:bit.", "description": "Home page description" diff --git a/src/images/clap-hands.png b/src/images/clap-hands.png new file mode 100644 index 000000000..7e904d751 Binary files /dev/null and b/src/images/clap-hands.png differ diff --git a/src/images/clap-square.png b/src/images/clap-square.png deleted file mode 100644 index c28dcdec8..000000000 Binary files a/src/images/clap-square.png and /dev/null differ diff --git a/src/messages/ui.en.json b/src/messages/ui.en.json index a9d2ec1e5..ede15f210 100644 --- a/src/messages/ui.en.json +++ b/src/messages/ui.en.json @@ -1188,11 +1188,23 @@ } ], "homepage-alt": [ + { + "type": 0, + "value": "graph showing x, y, z graph lines representing micro:bit accelerometer data with clapping hands overlaid" + } + ], + "homepage-alt-graph": [ { "type": 0, "value": "graph showing x, y, z graph lines representing micro:bit accelerometer data" } ], + "homepage-alt-hands": [ + { + "type": 0, + "value": "clapping hands" + } + ], "homepage-description": [ { "type": 0, diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 45be7ba58..a069f4a4e 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -17,7 +17,7 @@ import ResourceCard from "../components/ResourceCard"; import YoutubeVideoEmbed from "../components/YoutubeVideoEmbed"; import { useDeployment } from "../deployment"; import { flags } from "../flags"; -import clap from "../images/clap-square.png"; +import clap from "../images/clap-hands.png"; import xyzGraph from "../images/xyz-graph.png"; import { createNewPageUrl } from "../urls"; @@ -80,23 +80,28 @@ const HomePage = () => { - + {intl.formatMessage({ {intl.formatMessage({