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

Add contents list with body component #4636

Merged
merged 4 commits into from
Feb 12, 2025

Conversation

leenagupte
Copy link
Contributor

@leenagupte leenagupte commented Feb 11, 2025

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

What

Copies contents-list-with-body component from government-frontend

Why

This component is used by both specialist documents and corporate information pages which are in the middle of being consolidated

Screenshots?

government-frontend frontend
Screenshot 2025-02-11 at 17 24 13 Screenshot 2025-02-11 at 17 23 55

@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4636 February 11, 2025 17:22 Inactive
@deborahchua
Copy link
Contributor

This component also uses some sticky element javascript which shows a sticky element container with the contents link to the bottom of the page when you scroll down the page (and disappears when you are back at the top) - 1192e28

@leenagupte
Copy link
Contributor Author

This component also uses some sticky element javascript which shows a sticky element container with the contents link to the bottom of the page when you scroll down the page (and disappears when you are back at the top) - 1192e28

That's a good spot. Thanks!

@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4636 February 11, 2025 18:05 Inactive
This is for consistency with what other files are doing and to pass
the minimum jasmine coverage required.
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4636 February 11, 2025 18:09 Inactive
Copy link
Contributor

@deborahchua deborahchua left a comment

Choose a reason for hiding this comment

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

LGTM

@leenagupte leenagupte merged commit 56262d9 into main Feb 12, 2025
13 checks passed
@leenagupte leenagupte deleted the add-contents-list-with-body-component branch February 12, 2025 10:16
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