-
Notifications
You must be signed in to change notification settings - Fork 133
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
Update DonationComponent UI #2934
Update DonationComponent UI #2934
Conversation
🦋 Changeset detectedLatest commit: 49bbad1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
3bf9e31
to
89f225a
Compare
<div className="adyen-checkout__campaign-container"> | ||
<Img className="adyen-checkout__campaign-background-image" style={{ backgroundImage }} backgroundUrl={bannerUrl} /> | ||
<div className="adyen-checkout__campaign"> | ||
<a href={nonprofitUrl} className="adyen-checkout__campaign-link" target="_blank" rel="noopener noreferrer"> |
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.
Hey @joao-m-santos it looks nice overall. Thanks for contributing!
Small question, how does the ui look like when there is no nonprofitUrl
? Previously we would render plain text.
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.
Good point - I will address this so that it behaves like it did previously
89f225a
to
7fa3878
Compare
7fa3878
to
49bbad1
Compare
This reverts commit 1541573.
(cherry picked from commit 1541573)
Summary
This PR updates the look & feel of the Donation checkout component, as per the new design.
Tested scenarios
Ran the existing tests, successfully