Add overlay & custom bird color rendering to leaderboards

This commit is contained in:
Lncvrt committed 2026-02-16 23:44:58 -07:00
1 parent 432bba91a2
commit 6087342d62
1 file changed
+8 -2
@@ -192,11 +192,17 @@ export default function BerryDashLeaderboards () {
<Image
src={
!item.customIcon
? `https://games-r2.lncvrt.xyz/game-assets/berrydash/icons/bird_${
? `/api/berrydash/render-icon?icon=${
item.icon === 1
? GetIconForUser(item.id)
: item.icon
}.png`
}&overlay=${item.overlay}&birdR=${
item.birdColor[0]
}&birdG=${item.birdColor[1]}&birdB=${
item.birdColor[2]
}&overlayR=${item.overlayColor[0]}&overlayG=${
item.overlayColor[1]
}&overlayB=${item.overlayColor[2]}`
: `/api/berrydash/icon-marketplace/icon?id=${item.customIcon}&raw=true`
}
className='pointer-events-none'