Skip to content

Update header to more closely match GOV.UK#36

Merged
mtaylorgds merged 3 commits into
mainfrom
update-header-style
May 8, 2026
Merged

Update header to more closely match GOV.UK#36
mtaylorgds merged 3 commits into
mainfrom
update-header-style

Conversation

@mtaylorgds
Copy link
Copy Markdown
Contributor

Use a copy of the GOV.UK CSS, and copy the GOV.UK header HTML from the design system to make the app more aligned with other GOV.UK apps.

Also removes the header duplication between pages by extracting a common base.html template that the pages then extend.

Removes the "status" text from the visualisation graph page, which was non-standard and not really necessary.

Example

Before

image

After

image

mtaylorgds added 3 commits May 8, 2026 08:43
Make it look more like a standard GOV.UK header, replacing the custom
 styling with GOV.UK CSS.

Remove the loading status text on the visualisation graph page, which
 took up unnecessary space.
Instead of referencing the CSS file on the design system website, take
 a copy of it.

References to the "GDS Transport" font file have been removed for
 simplicity.
Most of the pages are duplicating a lot of code, extract this to a
 common `base.html` template.

One page—`metrics.html`—doesn't use this header yet.
@mtaylorgds mtaylorgds merged commit c2c7043 into main May 8, 2026
2 checks passed
@mtaylorgds mtaylorgds deleted the update-header-style branch May 8, 2026 10:48
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.

2 participants