Skip to content

Commit d5e9c27

Browse files
r4topunkclaude
andcommitted
update(stake): retratos thug2 e enquadramento unico do roster
Troca os cut-outs de Vlad, Yan, Zima, Will, Ephraim e Pamtech pelas renderizacoes de eleitos-thug2, normalizadas para o mesmo contrato dos demais: canvas 1086x1448, conteudo centrado, altura ~95% com margem de topo ~2.8%. Com isso os oito riders passam a compartilhar o MESMO enquadramento — face 480% / "50% 5.5%" e ratio 1448/1086 — onde antes cada um tinha o seu porque vinha de um canvas diferente (Zima era 330% num 426x586, Will 400% num 442x564). Os campos per-rider ficam de pe de proposito: sao eles que absorvem um cut-out re-exportado com outras dimensoes. Os tres consumidores de `face` acompanham: o roster do CharacterSelector, os nos do StakeOrbit (que le `ratio` para o <image> nativo) e os avatares do AVATAR em SponsorshipYield. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 713457e commit d5e9c27

9 files changed

Lines changed: 18 additions & 18 deletions

File tree

public/stake/cutout/ephraim.png

429 KB
Loading

public/stake/cutout/pamtech.png

-14.1 KB
Loading

public/stake/cutout/vlad.png

15.8 KB
Loading

public/stake/cutout/will.png

483 KB
Loading

public/stake/cutout/yan.png

22.7 KB
Loading

public/stake/cutout/zima.png

400 KB
Loading

src/components/stake/CharacterSelector.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const CHARACTERS: Character[] = [
101101
accentTo: "to-blue-600",
102102
ring: "ring-sky-400",
103103
hex: "#0ea5e9",
104-
face: { size: "420%", pos: "50% 5%" },
104+
face: { size: "480%", pos: "50% 5.5%" },
105105
stats: { speed: 7, air: 8, ollie: 8, spin: 7, rail: 6, flow: 8, devSkills: 8, creativity: 9 },
106106
},
107107
{
@@ -126,7 +126,7 @@ export const CHARACTERS: Character[] = [
126126
accentTo: "to-green-600",
127127
ring: "ring-emerald-400",
128128
hex: "#10b981",
129-
face: { size: "420%", pos: "50% 9%" },
129+
face: { size: "480%", pos: "50% 5.5%" },
130130
stats: { speed: 6, air: 9, ollie: 9, spin: 6, rail: 10, flow: 7, devSkills: 9, creativity: 8 },
131131
},
132132
{
@@ -147,7 +147,7 @@ export const CHARACTERS: Character[] = [
147147
accentTo: "to-cyan-600",
148148
ring: "ring-teal-400",
149149
hex: "#14b8a6",
150-
face: { size: "330%", pos: "50% 3%" },
150+
face: { size: "480%", pos: "50% 5.5%" },
151151
stats: { speed: 8, air: 8, ollie: 3, spin: 8, rail: 10, flow: 9, devSkills: 6, creativity: 10 },
152152
},
153153
{
@@ -158,7 +158,7 @@ export const CHARACTERS: Character[] = [
158158
accentTo: "to-orange-600",
159159
ring: "ring-orange-400",
160160
hex: "#fb923c",
161-
face: { size: "400%", pos: "50% 8%" },
161+
face: { size: "480%", pos: "50% 5.5%" },
162162
stats: { speed: 7, air: 7, ollie: 7, spin: 7, rail: 7, flow: 8, devSkills: 6, creativity: 8 },
163163
},
164164
{
@@ -168,7 +168,7 @@ export const CHARACTERS: Character[] = [
168168
accentTo: "to-indigo-600",
169169
ring: "ring-indigo-400",
170170
hex: "#818cf8",
171-
face: { size: "400%", pos: "50% 8%" },
171+
face: { size: "480%", pos: "50% 5.5%" },
172172
stats: { speed: 7, air: 6, ollie: 7, spin: 7, rail: 8, flow: 8, devSkills: 5, creativity: 8 },
173173
},
174174
];

src/components/stake/StakeOrbit.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const RIDER_VISUAL: Record<
5555
yan: {
5656
hex: "#0ea5e9",
5757
image: "/stake/cutout/yan.png",
58-
face: { size: "420%", pos: "50% 5%" },
58+
face: { size: "480%", pos: "50% 5.5%" },
5959
ratio: 1448 / 1086,
6060
},
6161
r4to: {
@@ -68,7 +68,7 @@ const RIDER_VISUAL: Record<
6868
pamtech: {
6969
hex: "#10b981",
7070
image: "/stake/cutout/pamtech.png",
71-
face: { size: "420%", pos: "50% 9%" },
71+
face: { size: "480%", pos: "50% 5.5%" },
7272
ratio: 1448 / 1086,
7373
},
7474
v2: {
@@ -80,20 +80,20 @@ const RIDER_VISUAL: Record<
8080
zima: {
8181
hex: "#14b8a6",
8282
image: "/stake/cutout/zima.png",
83-
face: { size: "330%", pos: "50% 3%" },
84-
ratio: 586 / 426,
83+
face: { size: "480%", pos: "50% 5.5%" },
84+
ratio: 1448 / 1086,
8585
},
8686
will: {
8787
hex: "#818cf8",
8888
image: "/stake/cutout/will.png",
89-
face: { size: "400%", pos: "50% 8%" },
90-
ratio: 564 / 442,
89+
face: { size: "480%", pos: "50% 5.5%" },
90+
ratio: 1448 / 1086,
9191
},
9292
ephraim: {
9393
hex: "#fb923c",
9494
image: "/stake/cutout/ephraim.png",
95-
face: { size: "400%", pos: "50% 8%" },
96-
ratio: 577 / 433,
95+
face: { size: "480%", pos: "50% 5.5%" },
96+
ratio: 1448 / 1086,
9797
},
9898
};
9999

src/components/treasury/SponsorshipYield.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ import { FiatFallbackNote } from "./FiatFallbackNote";
5454
*/
5555
export const AVATAR: Record<RiderId, { src: string; size: string; pos: string }> = {
5656
vlad: { src: "/stake/cutout/vlad.png", size: "480%", pos: "50% 5.5%" },
57-
yan: { src: "/stake/cutout/yan.png", size: "420%", pos: "50% 5%" },
57+
yan: { src: "/stake/cutout/yan.png", size: "480%", pos: "50% 5.5%" },
5858
r4to: { src: "/stake/cutout/r4to.png", size: "480%", pos: "50% 5.5%" },
59-
pamtech: { src: "/stake/cutout/pamtech.png", size: "420%", pos: "50% 9%" },
59+
pamtech: { src: "/stake/cutout/pamtech.png", size: "480%", pos: "50% 5.5%" },
6060
v2: { src: "/stake/cutout/v2.png", size: "480%", pos: "50% 5.5%" },
61-
zima: { src: "/stake/cutout/zima.png", size: "330%", pos: "50% 3%" },
62-
will: { src: "/stake/cutout/will.png", size: "400%", pos: "50% 8%" },
63-
ephraim: { src: "/stake/cutout/ephraim.png", size: "400%", pos: "50% 8%" },
61+
zima: { src: "/stake/cutout/zima.png", size: "480%", pos: "50% 5.5%" },
62+
will: { src: "/stake/cutout/will.png", size: "480%", pos: "50% 5.5%" },
63+
ephraim: { src: "/stake/cutout/ephraim.png", size: "480%", pos: "50% 5.5%" },
6464
};
6565

6666
// explorer.splits.org, NOT app.splits.org: the app answers "Account not found"

0 commit comments

Comments
 (0)