Skip to content

Commit e2c1f62

Browse files
authored
Merge pull request #14208 from ethereum/rn-quiz-keys--config-refactor
refactor: quiz template config
2 parents c92e797 + 4744f61 commit e2c1f62

26 files changed

+3410
-4980
lines changed

src/components/Quiz/stories/QuizzesStats.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const meta = {
1111
"layer-2": [false, 0],
1212
"run-a-node": [false, 0],
1313
merge: [false, 0],
14-
"solo-staking": [false, 0],
14+
"staking-solo": [false, 0],
1515
"what-is-ether": [false, 0],
1616
"what-is-ethereum": [false, 0],
1717
nfts: [false, 0],

src/data/quizzes/index.ts

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ const quizzes = {
77
"what-is-ethereum": {
88
title: "what-is-ethereum",
99
questions: [
10-
"ethereum-1",
11-
"ethereum-2",
12-
"ethereum-3",
13-
"ethereum-4",
14-
"ethereum-5",
10+
"what-is-ethereum-1",
11+
"what-is-ethereum-2",
12+
"what-is-ethereum-3",
13+
"what-is-ethereum-4",
14+
"what-is-ethereum-5",
1515
],
1616
},
1717
"what-is-ether": {
1818
title: "what-is-ether",
19-
questions: ["ether-1", "ether-2", "ether-3", "ether-4"],
19+
questions: [
20+
"what-is-ether-1",
21+
"what-is-ether-2",
22+
"what-is-ether-3",
23+
"what-is-ether-4",
24+
],
2025
},
2126
web3: {
2227
title: "web3",
@@ -52,16 +57,16 @@ const quizzes = {
5257
title: "DAOs",
5358
questions: ["daos-1", "daos-2", "daos-3", "daos-4", "daos-5"],
5459
},
55-
"solo-staking": {
60+
"staking-solo": {
5661
title: "solo",
5762
questions: [
58-
"staking-1",
59-
"staking-2",
60-
"staking-4",
61-
"staking-5",
62-
"staking-6",
63-
"staking-7",
64-
"staking-8",
63+
"staking-solo-1",
64+
"staking-solo-2",
65+
"staking-solo-4",
66+
"staking-solo-5",
67+
"staking-solo-6",
68+
"staking-solo-7",
69+
"staking-solo-8",
6570
],
6671
},
6772
scaling: {
@@ -155,7 +160,7 @@ const usingEthereumQuizzesRaw: QuizzesSection[] = [
155160
level: "advanced",
156161
},
157162
{
158-
id: "solo-staking",
163+
id: "staking-solo",
159164
level: "advanced",
160165
},
161166
]

0 commit comments

Comments
 (0)