-
Notifications
You must be signed in to change notification settings - Fork 0
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 a link card component based on Survey of Londoners #145
Conversation
This looks fine, though there are a couple of concerns: Naming - there is an existing proto design for a card component that is more consistent with https://open-ui.org/components/card.research/ the component added in this pr is more of a CTA button(?) - though that isn't a suggestion for the name - we can discuss. Styling - the styles applied in the wellbeing project shouldn't be followed really as it's a unicorn. So the rounded corners are probably redundant. Designs will need to be finalised. |
Without this, the width of the body is limited, but the grey background of the placard can fil lthe full width of its parent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
What does this change?
This adds a Card component that is acts as a link.
Why?
This pattern has been used in a few places so far (e.g., Survey of Londoners and Wellbeing Explorer), and I want to use it on the multivariate census explorer too,
Does this introduce new dependencies?
No.
How is it tested?
How is it documented?
Are light and dark themes considered?
Is it complete?
index.js
?