Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main element #4414

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Main element #4414

wants to merge 5 commits into from

Conversation

KludgeKML
Copy link
Contributor

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Add the main element to the layout, and remove it from individual views.

Why

https://trello.com/c/T0Yt3VCD/384-make-main-element-default-in-frontend

- before_content to allow content that's currently in views inside the wrapper but ahead of the main block, like landing page headings.
- landing-page-header isn't really content, so move it into the before_content yield block.
- This kept separate because it has main_class, which is unusual
- Does class group do anything here?
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4414 November 19, 2024 11:33 Inactive
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