Skip to content

Commit 11b0aa4

Browse files
authored
Merge pull request #220 from r4topunk/feat/add-rider-will
feat(stake): add rider Will to the roster
2 parents ca8e93a + 4890d0e commit 11b0aa4

7 files changed

Lines changed: 28 additions & 2 deletions

File tree

messages/en/stake.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
"zima": {
6161
"name": "Zima",
6262
"tagline": "New blood on the roster."
63+
},
64+
"will": {
65+
"name": "Will",
66+
"tagline": "Rolls in quiet, leaves a mark."
6367
}
6468
},
6569
"orbit": {

messages/pt-br/stake.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
"zima": {
6161
"name": "Zima",
6262
"tagline": "Sangue novo no time."
63+
},
64+
"will": {
65+
"name": "Will",
66+
"tagline": "Chega quieto, deixa marca."
6367
}
6468
},
6569
"orbit": {

public/stake/cutout/will.png

154 KB
Loading

src/components/stake/CharacterSelector.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { YieldStatus } from "./YieldStatus";
1313
import { getRider } from "@/lib/gnars-vaults";
1414
import { useVaultTotal } from "@/hooks/use-vault-total";
1515

16-
type CharacterId = "vlad" | "yan" | "r4to" | "pamtech" | "v2" | "zima";
16+
type CharacterId = "vlad" | "yan" | "r4to" | "pamtech" | "v2" | "zima" | "will";
1717

1818
// THPS-style attributes (1–10). Placeholder values — tailor freely.
1919
const STAT_KEYS = [
@@ -120,6 +120,16 @@ const CHARACTERS: Character[] = [
120120
face: { size: "330%", pos: "50% 3%" },
121121
stats: { speed: 8, air: 8, ollie: 3, spin: 8, rail: 10, flow: 9, devSkills: 6, creativity: 10 },
122122
},
123+
{
124+
id: "will",
125+
image: "/stake/cutout/will.png",
126+
accentFrom: "from-indigo-400",
127+
accentTo: "to-indigo-600",
128+
ring: "ring-indigo-400",
129+
hex: "#818cf8",
130+
face: { size: "400%", pos: "50% 8%" },
131+
stats: { speed: 7, air: 6, ollie: 7, spin: 7, rail: 8, flow: 8, devSkills: 5, creativity: 8 },
132+
},
123133
];
124134

125135
// The arcade gold used for selection, bars and the overall score.

src/components/stake/StakeOrbit.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const RIDER_VISUAL: Record<RiderId, { hex: string; image: string; face: { size:
2121
pamtech: { hex: "#10b981", image: "/stake/cutout/pamtech.png", face: { size: "420%", pos: "50% 9%" } },
2222
v2: { hex: "#f43f5e", image: "/stake/cutout/v2.png", face: { size: "420%", pos: "50% 8%" } },
2323
zima: { hex: "#14b8a6", image: "/stake/cutout/zima.png", face: { size: "330%", pos: "50% 3%" } },
24+
will: { hex: "#818cf8", image: "/stake/cutout/will.png", face: { size: "400%", pos: "50% 8%" } },
2425
};
2526

2627
const usd = (n: number) => `$${n.toLocaleString("en-US", { maximumFractionDigits: n > 0 && n < 100 ? 2 : 0 })}`;

src/lib/gnars-vaults.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { getAddress, type Address } from "viem";
88
// admin panel — paste the addresses the panel prints here to light up the
99
// rider's on-chain sponsorship on /stake.
1010

11-
export type RiderId = "vlad" | "yan" | "r4to" | "pamtech" | "v2" | "zima";
11+
export type RiderId = "vlad" | "yan" | "r4to" | "pamtech" | "v2" | "zima" | "will";
1212

1313
export type Rider = {
1414
id: RiderId;
@@ -77,6 +77,12 @@ export const RIDERS: Record<RiderId, Rider> = {
7777
adapter: getAddress("0xC9d6d942E727e82673454e0cC4A5335d35f652EF"),
7878
split: getAddress("0x81C570DCd0055749d732c1EcCfDd8C56CBBbbEf3"),
7979
},
80+
will: {
81+
id: "will",
82+
handle: "will",
83+
wallet: getAddress("0xddb4938755c243a4f60a2f2f8f95df4f894c58cc"),
84+
// vault/adapter/split to be filled once Will's vault is deployed.
85+
},
8086
};
8187

8288
export const RIDER_LIST: Rider[] = Object.values(RIDERS);

src/lib/rider-lines.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const RIDER_LINES: Record<RiderId, string[]> = {
1818
pamtech: [],
1919
v2: [],
2020
zima: [],
21+
will: [],
2122
};
2223

2324
/** A rider's custom flavor line for this context, or null to use the generic one. */

0 commit comments

Comments
 (0)