Skip to content

feat: add deterministic gradient fallback for creator avatars#416

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
extolkom:feat/405-creator-profile-gradient-fallback
Jun 2, 2026
Merged

feat: add deterministic gradient fallback for creator avatars#416
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
extolkom:feat/405-creator-profile-gradient-fallback

Conversation

@extolkom
Copy link
Copy Markdown
Contributor

@extolkom extolkom commented Jun 2, 2026

Closes #405

What

Added a deterministic gradient fallback for creator profile covers when no cover image is set.

Why

Profiles without a cover image showed a plain flat background that felt unfinished. A gradient derived from the creator handle or ID gives every profile a unique, polished appearance with zero configuration.

Changes

  • Added a gradient helper that hashes a creator handle or ID into a deterministic CSS linear-gradient
  • Applied the gradient as the cover background when no image is present
  • Existing image rendering path is unchanged
  • Color ranges are constrained to ensure WCAG AA contrast for text rendered over the gradient

Testing

  • Same handle/ID always produces the same gradient
  • Profiles with an existing cover image are unaffected
  • Existing tests pass

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2026

Deploy Preview for accesslayer ready!

Name Link
🔨 Latest commit 25147f7
🔍 Latest deploy log https://app.netlify.com/projects/accesslayer/deploys/6a1e1d2ca4a0e800083d773c
😎 Deploy Preview https://deploy-preview-416--accesslayer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@extolkom Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093 Chucks1093 merged commit 69c61d9 into accesslayerorg:main Jun 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add subtle gradient fallback for creator profile cover when no image is set

2 participants