Skip to content

Commit c2977de

Browse files
committed
refactor: rename quiz keys with unique name
1 parent 5b1caed commit c2977de

23 files changed

+8066
-8033
lines changed

src/data/quizzes/index.ts

Lines changed: 46 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,88 @@ import type { QuizzesSection, RawQuizzes } from "@/lib/types"
44
const quizzes = {
55
"what-is-ethereum": {
66
title: "what-is-ethereum",
7-
questions: ["a001", "a002", "a003", "a004", "a005"],
7+
questions: [
8+
"ethereum-1",
9+
"ethereum-2",
10+
"ethereum-3",
11+
"ethereum-4",
12+
"ethereum-5",
13+
],
814
},
915
"what-is-ether": {
1016
title: "what-is-ether",
11-
questions: ["b001", "b002", "b003", "b004"],
17+
questions: ["ether-1", "ether-2", "ether-3", "ether-4"],
1218
},
1319
web3: {
1420
title: "web3",
15-
questions: ["c001", "c002", "c003", "c004", "c005"],
21+
questions: ["web3-1", "web3-2", "web3-3", "web3-4", "web3-5"],
1622
},
1723
wallets: {
1824
title: "wallets",
19-
questions: ["d001", "d002", "d003", "d004"],
25+
questions: ["wallets-1", "wallets-2", "wallets-3", "wallets-4"],
2026
},
2127
security: {
2228
title: "ethereum-security",
23-
questions: ["e001", "e002", "e003", "e004", "d003"],
29+
questions: [
30+
"security-1",
31+
"security-2",
32+
"security-3",
33+
"security-4",
34+
"wallets-3",
35+
],
2436
},
2537
nfts: {
2638
title: "nft-page",
27-
questions: ["f001", "f002", "f003", "f004", "f005"],
39+
questions: ["nfts-1", "nfts-2", "nfts-3", "nfts-4", "nfts-5"],
2840
},
2941
"layer-2": {
3042
title: "layer-2",
31-
questions: ["g001", "g002", "g003", "g004"],
43+
questions: ["rollups-1", "rollups-2", "rollups-3", "rollups-4"],
3244
},
3345
merge: {
3446
title: "learn-quizzes:page-assets-merge",
35-
questions: ["h001", "h002", "h003", "h004", "h005"],
47+
questions: ["merge-1", "merge-2", "merge-3", "merge-4", "merge-5"],
3648
},
3749
daos: {
3850
title: "DAOs",
39-
questions: ["i001", "i002", "i003", "i004", "i005"],
51+
questions: ["daos-1", "daos-2", "daos-3", "daos-4", "daos-5"],
4052
},
4153
"solo-staking": {
4254
title: "solo",
43-
questions: ["j001", "j002", "j004", "j005", "j006", "j007", "j008"],
55+
questions: [
56+
"staking-1",
57+
"staking-2",
58+
"staking-4",
59+
"staking-5",
60+
"staking-6",
61+
"staking-7",
62+
"staking-8",
63+
],
4464
},
4565
scaling: {
4666
title: "scaling",
47-
questions: ["k001", "k002", "k003", "k004"],
67+
questions: ["scaling-1", "scaling-2", "scaling-3", "scaling-4"],
4868
},
4969
"run-a-node": {
5070
title: "run-a-node",
51-
questions: ["l001", "l002", "l003", "l004", "l005", "l006"],
71+
questions: [
72+
"run-a-node-1",
73+
"run-a-node-2",
74+
"run-a-node-3",
75+
"run-a-node-4",
76+
"run-a-node-5",
77+
"run-a-node-6",
78+
],
5279
},
5380
stablecoins: {
5481
title: "stablecoins",
55-
questions: ["m001", "m002", "m003", "m004", "m005"],
82+
questions: [
83+
"stablecoins-1",
84+
"stablecoins-2",
85+
"stablecoins-3",
86+
"stablecoins-4",
87+
"stablecoins-5",
88+
],
5689
},
5790
} satisfies RawQuizzes
5891

0 commit comments

Comments
 (0)