Minor UI improvements - #225
Open
vswee wants to merge 13 commits into
Open
Conversation
Add a carousel Todo: Improve mobile UI
On small screens, the active card uses full width (no overlap). Nav arrows shift below the card. When the user taps play on a phone, the newly embedded YouTube iframe requests fullscreen automatically.
Added ensureMinCaseStudies(list) to pad the list up to 5 items using known fallbacks (Namecheap, Bitcoin Atlantis, Bitcoin People, Bitcoin Jungle, HodlHodl) if the JSON has fewer.
HTML is now re-organised in render_html to create the desired nesting.
-removed 900px width breakpoint -minor animation added to BTCPay invoice sample
-unneeded local changes and test adjustments removed for branch publishing
-remove incomplete changes/modernisation journal -summarise changes in PR
Contributor
Member
|
Will get to this asap! Thanks for looking into this @vswee! For this PR, and future PRs, one thing that is helpful for the more visual or functional changes is screenshots or a quick screen recording of the work for reviewers. |
Contributor
|
cc @dstrukt |
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.
Hero Section
Integrations Grid
IntersectionObserverandrequestAnimationFrame.data-depthoverrides.prefers-reduced-motionsetting for accessibility.Contributors Section
IntersectionObserver.What is BTCPay Server?
Changed Files
src/js/scripts.js: integrations parallax feature and contributors wave-in animation added; parallax intensity tuned.src/css/styles.css: hero layout and typography modernised; background glow introduced; server image size increased; float animation added to the invoice image; CTA spacing and responsive rules refined.src/css/page-styles.css:@keyframes popWaveand related classes added to stage and trigger the contributors’ wave animation.