Skip to content

Use recommended blocks for custom page example#5152

Merged
owenatgov merged 3 commits intoalphagov:mainfrom
ch-ncolley:fix-custom-example
Mar 4, 2026
Merged

Use recommended blocks for custom page example#5152
owenatgov merged 3 commits intoalphagov:mainfrom
ch-ncolley:fix-custom-example

Conversation

@ch-ncolley
Copy link
Contributor

@ch-ncolley ch-ncolley commented Feb 12, 2026

Notice this while using the guidance to update our top level templates...

In the guidance it refers to using the headerEnd block for where the Phase banner component belongs.

One possibility is that the phase banner does not belong within the header landmark so the other guidance should change instead, in that case a different change will be needed.

Changes:

  • Use govukSkipLink over deprecated skipLink
  • use headerEnd for Phase banner
  • move blocks around slightly and variables so they match the logical order of the underlying document.

In the guidance it refers to using the `headerEnd` block
for where the Phase banner component belongs.

Co-authored-by:  Nick Colley <2445413+NickColley@users.noreply.github.com>
@netlify
Copy link

netlify bot commented Feb 12, 2026

You can preview this change here:

Built without sensitive environment variables

Name Link
🔨 Latest commit bb89c10
🔍 Latest deploy log https://app.netlify.com/projects/govuk-design-system-preview/deploys/698dbf7ddd3c2e0008b87d14
😎 Deploy Preview https://deploy-preview-5152--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-authored-by:  Nick Colley <2445413+NickColley@users.noreply.github.com>
Co-authored-by:  Nick Colley <2445413+NickColley@users.noreply.github.com>
Copy link
Contributor

@36degrees 36degrees left a comment

Choose a reason for hiding this comment

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

Good spot @ch-ncolley, thanks 🙌🏻

This just needs a second approval from the team before we merge it.

Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

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

Nice! Cheers @ch-ncolley

@owenatgov owenatgov merged commit c24ac5b into alphagov:main Mar 4, 2026
13 checks passed
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.

3 participants