Skip to content

Commit d9b67d4

Browse files
committed
figcaption as nunjucks
1 parent a5ad1e6 commit d9b67d4

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

app/posts/personalised-prevention-platform/2025/04/2025-04-11-onboarding-users.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Our main areas of interest in this round were:
3232
- do users retain focus on their health goal during an onboarding journey?
3333

3434
To help us explore these topics, we built a mock journey that represented just the initial stages a potential journey:
35+
{.nhsuk-heading-m} <--- wow!
36+
3537

3638
- entry points
3739
- starting to interact with a PPP
@@ -42,12 +44,13 @@ We also made the following assumptions:
4244
- our scenario starts from an NHS.UK calculator
4345
- users are already somehow digitally registered ‘with the NHS’
4446

45-
<figure class="nhsuk-image" style="width: 92vw; max-width: 960px; ">
46-
<img class="nhsuk-image__img" src="prototype-flow.png" alt="Diagram depicting the prototype user journey using sequential screen grabs from left to right.">
47-
<figcaption class="nhsuk-image__caption">
48-
The prototype journey from left to right, from calculator result to a ‘finding services’ loading screen.
49-
</figcaption>
50-
</figure>
47+
{% from "nhsuk/components/images/macro.njk" import image as nhsukImage %}
48+
{{ nhsukImage({
49+
classes: "app-media--full-width",
50+
src: "prototype-flow.png",
51+
alt: "Diagram depicting the prototype user journey using sequential screen grabs from left to right.",
52+
caption: "The prototype journey from left to right, from calculator result to a ‘finding services’ loading screen."
53+
}) }}
5154

5255
We ran 6 sessions with people who live in deprived areas of England (within the top 20 areas on the Index of Multiple Deprivation), and have more than one of the following health risk factors:
5356

0 commit comments

Comments
 (0)