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

Update DonationComponent UI #2934

Merged

Conversation

joao-m-santos
Copy link
Contributor

Summary

This PR updates the look & feel of the Donation checkout component, as per the new design.

Tested scenarios

Ran the existing tests, successfully

Copy link

changeset-bot bot commented Nov 5, 2024

🦋 Changeset detected

Latest commit: 49bbad1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@adyen/adyen-web Minor

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

@joao-m-santos joao-m-santos force-pushed the update-donation-component-ui branch from 3bf9e31 to 89f225a Compare November 5, 2024 16:20
<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">
Copy link
Contributor

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.

Copy link
Contributor Author

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

@joao-m-santos joao-m-santos force-pushed the update-donation-component-ui branch from 89f225a to 7fa3878 Compare November 7, 2024 09:40
@joao-m-santos joao-m-santos force-pushed the update-donation-component-ui branch from 7fa3878 to 49bbad1 Compare November 7, 2024 09:49
@longyulongyu longyulongyu merged commit 1541573 into Adyen:main Nov 8, 2024
6 of 12 checks passed
@github-actions github-actions bot mentioned this pull request Nov 8, 2024
longyulongyu added a commit that referenced this pull request Nov 12, 2024
longyulongyu added a commit that referenced this pull request Nov 12, 2024
longyulongyu pushed a commit that referenced this pull request Nov 22, 2024
(cherry picked from commit 1541573)
longyulongyu added a commit that referenced this pull request Nov 25, 2024
(cherry picked from commit 1541573)

Co-authored-by: joao <joao_santos9@proton.me>
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.

2 participants