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

[WIP] Add homepage card variant #3611

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

Conversation

MartinJJones
Copy link
Contributor

What

Add homepage card variant

Why

Trello card

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

Follow these steps if you are doing a Rails upgrade.

Adds chevron-card from `frontend`, the view template and styles have been changed slightly to ensure it still works as expecting when used in collections. the main differences are:

- Allow custom heading levels to be used
- `data_attributes` now passed in from the parent view template, this matches the current behaviour
- Ensure card content has a max-width of two thirds on desktop devices
@govuk-ci govuk-ci temporarily deployed to collections-pr-3611 May 13, 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.

None yet

2 participants