Skip to content

Add mission patch page#202

Merged
frankieroberto merged 6 commits intomainfrom
add-mission-patch-page
Aug 18, 2025
Merged

Add mission patch page#202
frankieroberto merged 6 commits intomainfrom
add-mission-patch-page

Conversation

@edwardhorsford
Copy link
Collaborator

Adds a general page to show off the mission patches that teams have made.

This is mostly a copy of the existing DfE Mission patch page.

To start with, I've copied over the 3 existing Mavis mission patches (and optimised the png's).

Some notes:

  • The repo has some annoying default styling by default for figures, and I've added a custom class to override this.

Adding more mission patches:

  • Images should be square, transparent pngs that have been optimised. They get placed in app/images/mission-patches.
  • Suggest naming the mission patch teamname-reason-for-patch.png
  • Each team can then replicate an existing section from the mission patch name, but swap out the content for their own.
Screenshot of new mission patch page. Shows three circular mission patches by the Mavis team

@frankieroberto frankieroberto temporarily deployed to screening-de-add-missio-talesb August 15, 2025 15:41 Inactive
@edwardhorsford edwardhorsford marked this pull request as draft August 15, 2025 15:41
@edwardhorsford edwardhorsford marked this pull request as ready for review August 18, 2025 08:56
@paulrobertlloyd
Copy link
Collaborator

Looks great! We should be able to edit down the intro and individual mission patch descriptions for Mavis’ patches, as some are quite long.

I also wonder if, once we get round to using the NHS.UK Eleventy Plugin, the hub layout (which uses cards) might work for this page (you can see an example of this layout here: https://x-govuk.github.io/nhsuk-eleventy-plugin/example/hub/). But I don’t think that separate piece of work should get it the way of rolling out this page.

@frankieroberto frankieroberto temporarily deployed to screening-de-add-missio-talesb August 18, 2025 10:33 Inactive
@frankieroberto frankieroberto temporarily deployed to screening-de-add-missio-talesb August 18, 2025 10:36 Inactive
Copy link
Collaborator

@frankieroberto frankieroberto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Have added some more. We can keep adding to it.

@frankieroberto frankieroberto temporarily deployed to screening-de-add-missio-talesb August 18, 2025 10:37 Inactive
@frankieroberto frankieroberto linked an issue Aug 18, 2025 that may be closed by this pull request
@frankieroberto frankieroberto merged commit 5d8cb9e into main Aug 18, 2025
2 checks passed
@frankieroberto frankieroberto deleted the add-mission-patch-page branch August 18, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add page to show prevention services mission patches

3 participants