Skip to content

Commit ca26480

Browse files
r4topunkclaude
andauthored
update(stake): novos retratos de Vlad, r4to e V2 (#288)
Substitui os cut-outs dos tres riders pelas renderizacoes novas (out-cortes-r46). Os arquivos de origem vinham em canvas quadrado com o corpo centrado; foram normalizados para o mesmo contrato dos demais cut-outs — canvas 1086x1448, conteudo centrado, altura ~95% com margem de topo ~2.8% — para nao quebrar o crop de rosto calibrado nos tiles. Nos modelos novos a cabeca e proporcionalmente menor no corpo, entao o zoom de 420% deixava o retrato afastado demais em relacao aos outros riders. Recalibrado para 480% / "50% 5.5%" nos tres consumidores de `face`/`AVATAR`. O `ratio` do r4to no StakeOrbit passa de 1024/688 para 1448/1086, acompanhando o novo canvas. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent ebbb235 commit ca26480

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

public/stake/cutout/r4to.png

-155 KB
Loading

public/stake/cutout/v2.png

53.5 KB
Loading

public/stake/cutout/vlad.png

-123 KB
Loading

src/components/stake/CharacterSelector.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const CHARACTERS: Character[] = [
8989
accentTo: "to-amber-600",
9090
ring: "ring-yellow-400",
9191
hex: "#f59e0b",
92-
face: { size: "420%", pos: "50% 6%" },
92+
face: { size: "480%", pos: "50% 5.5%" },
9393
video:
9494
"https://ipfs.skatehive.app/ipfs/bafybeiapkdzwrh3tv2dhaxkefzcwtoxekjaryecapa7kpqcaifqgwux3c4",
9595
stats: { speed: 7, air: 5, ollie: 8, spin: 9, rail: 2, flow: 9, devSkills: 10, creativity: 9 },
@@ -111,7 +111,7 @@ export const CHARACTERS: Character[] = [
111111
accentTo: "to-purple-600",
112112
ring: "ring-fuchsia-400",
113113
hex: "#d946ef",
114-
face: { size: "420%", pos: "50% 5%" },
114+
face: { size: "480%", pos: "50% 5.5%" },
115115
// Same render as the still, so the hover swap lands on the same silhouette:
116116
// the rider fills 93.8% of the video's height against 93.9% of the still's.
117117
video: "/stake/video/r4to.webm",
@@ -137,7 +137,7 @@ export const CHARACTERS: Character[] = [
137137
accentTo: "to-red-600",
138138
ring: "ring-rose-400",
139139
hex: "#f43f5e",
140-
face: { size: "420%", pos: "50% 8%" },
140+
face: { size: "480%", pos: "50% 5.5%" },
141141
stats: { speed: 10, air: 7, ollie: 7, spin: 8, rail: 5, flow: 9, devSkills: 7, creativity: 9 },
142142
},
143143
{

src/components/stake/StakeOrbit.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const RIDER_VISUAL: Record<
4949
vlad: {
5050
hex: "#f59e0b",
5151
image: "/stake/cutout/vlad.png",
52-
face: { size: "420%", pos: "50% 6%" },
52+
face: { size: "480%", pos: "50% 5.5%" },
5353
ratio: 1448 / 1086,
5454
},
5555
yan: {
@@ -61,8 +61,8 @@ const RIDER_VISUAL: Record<
6161
r4to: {
6262
hex: "#d946ef",
6363
image: "/stake/cutout/r4to.png",
64-
face: { size: "420%", pos: "50% 5%" },
65-
ratio: 1024 / 688,
64+
face: { size: "480%", pos: "50% 5.5%" },
65+
ratio: 1448 / 1086,
6666
clip: { src: "/stake/video/r4to.webm" },
6767
},
6868
pamtech: {
@@ -74,7 +74,7 @@ const RIDER_VISUAL: Record<
7474
v2: {
7575
hex: "#f43f5e",
7676
image: "/stake/cutout/v2.png",
77-
face: { size: "420%", pos: "50% 8%" },
77+
face: { size: "480%", pos: "50% 5.5%" },
7878
ratio: 1448 / 1086,
7979
},
8080
zima: {

src/components/treasury/SponsorshipYield.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ import { FiatFallbackNote } from "./FiatFallbackNote";
5353
* gaining a new cut-out needs it in both.
5454
*/
5555
export const AVATAR: Record<RiderId, { src: string; size: string; pos: string }> = {
56-
vlad: { src: "/stake/cutout/vlad.png", size: "420%", pos: "50% 6%" },
56+
vlad: { src: "/stake/cutout/vlad.png", size: "480%", pos: "50% 5.5%" },
5757
yan: { src: "/stake/cutout/yan.png", size: "420%", pos: "50% 5%" },
58-
r4to: { src: "/stake/cutout/r4to.png", size: "420%", pos: "50% 5%" },
58+
r4to: { src: "/stake/cutout/r4to.png", size: "480%", pos: "50% 5.5%" },
5959
pamtech: { src: "/stake/cutout/pamtech.png", size: "420%", pos: "50% 9%" },
60-
v2: { src: "/stake/cutout/v2.png", size: "420%", pos: "50% 8%" },
60+
v2: { src: "/stake/cutout/v2.png", size: "480%", pos: "50% 5.5%" },
6161
zima: { src: "/stake/cutout/zima.png", size: "330%", pos: "50% 3%" },
6262
will: { src: "/stake/cutout/will.png", size: "400%", pos: "50% 8%" },
6363
ephraim: { src: "/stake/cutout/ephraim.png", size: "400%", pos: "50% 8%" },

0 commit comments

Comments
 (0)