-
Notifications
You must be signed in to change notification settings - Fork 0
Feat: Replace static Library footer PNG with dynamic album art gradient #159
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
Conversation
- Removed import and display of static gradient SVG - Added comments documenting the positioning for future dynamic gradient implementation - Preserved original layering structure with z-index details
Updating with latest changes from main
- Restructured gradient component using React fragments to avoid nesting constraints - Positioned the gradient blob at fixed bottom with full viewport width - Removed border radius to prevent rounded corners at edges - Fine-tuned blur amount (70px) and opacity (0.75) for optimal visual effect - Maintained z-index priority to ensure gradient stays visible - Made sure gradient stays fixed at viewport bottom regardless of scrolling
Updating 122 so that I can branch off of it to work on the curved sliders in Library.js
EvWhymark
left a comment
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.
Looking a lot better. I know I said I wouldn't go too deep into detail but I couldn't stop myself. Nothing here that is critical that needs to be changed but this just needs cleanup. Read through the code suggestions and if you need any clarification let me know. After all these reviews are resolved I will approve.
Co-authored-by: Evan Whymark <whymarkevan@gmail.com>
Co-authored-by: Evan Whymark <whymarkevan@gmail.com>
Co-authored-by: Evan Whymark <whymarkevan@gmail.com>
tennitech
left a comment
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.
Give it a check and lmk if you see any issues.
EvWhymark
left a comment
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.
LGTM
What's this about?
Swapped out the old static PNG footer in the Library view. It felt out of place and couldn't react to the music.
What's changed?
Brought in the dynamic AnimatedBlob gradient, just like we have on the Home screen.
It now uses useColorThief to pull colors from the current track's album art, making it sync up nicely with the music.
Made sure it stretches perfectly edge-to-edge across the bottom of the viewport, no more weird gaps! (Fixed this by rendering it separately using a React Fragment).
Result:
A much cooler, dynamic footer glow in the Library that matches the vibe of the current track and looks consistent with other parts of the app.
Testing:
Closes issue #122.