Skip to content

Conversation

@tennitech
Copy link
Owner

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:

  • Checked that colors update with track changes.
  • Looks good edge-to-edge on different screen sizes.
  • Stays put at the bottom when scrolling.

Closes issue #122.

- 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
@tennitech tennitech added enhancement New feature or request front-end Front-end related tasks labels Apr 5, 2025
@tennitech tennitech requested a review from EvWhymark April 5, 2025 02:13
@tennitech tennitech added this to Juke Apr 5, 2025
Updating 122 so that I can branch off of it to work on the curved sliders in Library.js
Copy link
Collaborator

@EvWhymark EvWhymark left a 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.

tennitech and others added 5 commits April 8, 2025 16:56
Co-authored-by: Evan Whymark <whymarkevan@gmail.com>
Co-authored-by: Evan Whymark <whymarkevan@gmail.com>
Co-authored-by: Evan Whymark <whymarkevan@gmail.com>
Copy link
Owner Author

@tennitech tennitech left a 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.

Copy link
Collaborator

@EvWhymark EvWhymark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EvWhymark EvWhymark merged commit 155ba7d into main Apr 8, 2025
@github-project-automation github-project-automation bot moved this to Done in Juke Apr 8, 2025
@tennitech tennitech deleted the 122-library-dynamic-gradient branch April 8, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request front-end Front-end related tasks

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Implement dynamic gradient to Library.js gradient Change the Library.js gradient from a png to an animation

3 participants