-
Notifications
You must be signed in to change notification settings - Fork 87
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
feat: payment banners on landing and login pages #6431
Conversation
- use link constants for payments copies
- fix h5 and h6 typography styles
- note: center on the y axis
@staceytan1998 seems like chromatic still isn't rendering it properly, could you check the copy on staging-alt2.form.gov.sg instead? |
for posterity, banners do not render properly on chromatic and have been (slack) approved by designer @staceytan1998 after checking the banners on staging-alt2.form.gov.sg. |
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.
LGTM! With on comment on bannerColor
props
* feat: login page banner * ref: pass links into FeatureBanner - use link constants for payments copies * fix: contrast login banners from background * fix: hover colour based on figma * chore: remove unnecessary variant def * feat: add h5 and h6 textStyles * feat: landing page banner * fix: banner spacing - fix h5 and h6 typography styles * fix: justify text for login banner - note: center on the y axis * fix: only set banner color when provided
Problem
More marketing efforts for our payments feature!
Closes FRM-960, closes FRM-961
Solution
Breaking Changes
Features:
Improvements:
Bug Fixes:
Before & After Screenshots
BEFORE:
Landing Page:
Login Page:
AFTER:
Landing Page:
Desktop:
Mobile:
Login Page:
Desktop:
Mobile:
Tests
Check that new banners work:
Check that the refactor that takes out the links as constants works with the existing payments copy things: