feat(web): global deposit methods popup - #20
Merged
Merged
Conversation
Add a brand-themed popup announcing debit card, credit card, and Apple Pay deposit support. It slides in on site load, stays for 6 seconds, then auto-dismisses, and can be closed early via the cancel (X) button. - Mounted once from the root layout so it shows across all pages without re-triggering on client-side navigation - Responsive: centered banner on mobile, bottom-right toast on desktop - Includes auto-dismiss progress bar with prefers-reduced-motion support - Links to the existing how-to-deposit support page
Convert the deposit announcement into a centered, brand-themed modal with a two-column layout (copy + image). Remove the auto-dismiss timer so it stays until the user closes it, and use a new AI-generated card/phone graphic. - No timer: closes via the cancel (X) symbol, Close Window link, backdrop, or Escape - Adds deposit-cards.png and displays it with object-contain for full clarity - Responsive two-column layout, smooth fade/scale animations - Removes the now-unused deposit-progress CSS keyframe
Wrap the popup image src with withBasePath so it loads correctly when the site is served under the /RestroFX basePath on GitHub Pages. With static export + unoptimized images, Next.js does not auto-prefix basePath for public assets, so the image 404'd and rendered as an empty black panel.
Wrap the Debit-Cards.png src with withBasePath so the hero image on the how-to-deposit support page loads correctly under the /RestroFX basePath instead of 404'ing.
Update Debit-Cards.png and add Debit-Cards-2.png deposit assets.
feat(web): global deposit methods popup
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Commits
Test plan