Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Create custom NextJS document to fully include GOV.UK page template #25

Closed
zackads opened this issue Jan 28, 2021 · 1 comment
Closed
Assignees

Comments

@zackads
Copy link
Contributor

zackads commented Jan 28, 2021

The GOV.UK page template requires adding classes to body and html tags etc., as well as requiring some semantic HTML tags and page header metadata.

The way to do this with NextJS is to use a custom document.

I've added some of the necessary details on the main branch to be ready for the showcase on 29 January, and will submit a PR to fully incorporate the GOV.UK page template soon after fully testing it.

@zackads zackads self-assigned this Jan 28, 2021
zackads added a commit that referenced this issue Jan 28, 2021
Add GOV.UK classes to <html> and <body> tags so page layout is correct.

Also raised issue #25 to do this properly after the show and tell.
@zackads
Copy link
Contributor Author

zackads commented Feb 2, 2021

Resolved with PR #31

@zackads zackads closed this as completed Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant