Open
Conversation
- Add scroll-based collapsible hero with smooth animations - Banner image fades out first, then title scales down - Subtitle fades and collapses - Search bar becomes sticky with frosted glass effect when hero is collapsed - Uses requestAnimationFrame for smooth, jank-free scroll tracking - All transitions use progressive interpolation (no hard breakpoints)
1f92ce8 to
84b8110
Compare
1. Top image no longer cut — removed maxHeight constraints on hero section and banner div that were clipping the image 2. Category pills no longer covered — removed sticky search bar that overlapped them (pills remain sticky as before) 3. Removed shadow on sticky search element (element removed entirely)
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
When you scroll down on bitcoinapps.info, the large hero section (banner + title + subtitle) progressively collapses and the search bar becomes sticky at the top.
What it does
Implementation
requestAnimationFrame-based scroll tracking (no jank)Why
Roland noted that the hero section takes up over 50% of screen height, making it hard to browse apps without scrolling past it first.