Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into migrate/dataproductcard
Browse files Browse the repository at this point in the history
  • Loading branch information
Baystef committed Oct 9, 2024
2 parents 2a96348 + 75836bf commit 1e88968
Show file tree
Hide file tree
Showing 9 changed files with 318 additions and 125 deletions.
3 changes: 2 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -12261,7 +12261,8 @@
"profile": "https://github.com/Shiva-Sai-ssb",
"contributions": [
"bug",
"maintenance"
"maintenance",
"content"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://github.com/abonnaudet-ledger"><img src="https://avatars.githubusercontent.com/u/71646516?v=4?s=100" width="100px;" alt="abonnaudet-ledger"/><br /><sub><b>abonnaudet-ledger</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aabonnaudet-ledger" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JacobSharples"><img src="https://avatars.githubusercontent.com/u/45126111?v=4?s=100" width="100px;" alt="Jacob Sharples"/><br /><sub><b>Jacob Sharples</b></sub></a><br /><a href="#content-JacobSharples" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/omahs"><img src="https://avatars.githubusercontent.com/u/73983677?v=4?s=100" width="100px;" alt="omahs"/><br /><sub><b>omahs</b></sub></a><br /><a href="#translation-omahs" title="Translation">🌍</a> <a href="#maintenance-omahs" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Shiva-Sai-ssb"><img src="https://avatars.githubusercontent.com/u/112751524?v=4?s=100" width="100px;" alt="Shiva Sai"/><br /><sub><b>Shiva Sai</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AShiva-Sai-ssb" title="Bug reports">🐛</a> <a href="#maintenance-Shiva-Sai-ssb" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Shiva-Sai-ssb"><img src="https://avatars.githubusercontent.com/u/112751524?v=4?s=100" width="100px;" alt="Shiva Sai"/><br /><sub><b>Shiva Sai</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AShiva-Sai-ssb" title="Bug reports">🐛</a> <a href="#maintenance-Shiva-Sai-ssb" title="Maintenance">🚧</a> <a href="#content-Shiva-Sai-ssb" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://bsaurabh.xyz/"><img src="https://avatars.githubusercontent.com/u/39492927?v=4?s=100" width="100px;" alt="Saurabh Burade"/><br /><sub><b>Saurabh Burade</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=saurabhburade" title="Code">💻</a></td>
</tr>
<tr>
Expand Down
1 change: 1 addition & 0 deletions src/components/Quiz/stories/QuizzesStats.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const meta = {
wallets: [false, 0],
web3: [false, 0],
daos: [false, 0],
stablecoins: [false, 0],
},
totalCorrectAnswers: 0,
},
Expand Down
9 changes: 9 additions & 0 deletions src/data/quizzes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ const quizzes = {
title: "run-a-node",
questions: ["l001", "l002", "l003", "l004", "l005", "l006"],
},
stablecoins: {
title: "stablecoins",
questions: ["m001", "m002", "m003", "m004", "m005"],
},
} satisfies RawQuizzes

export const ethereumBasicsQuizzes: QuizzesSection[] = [
Expand Down Expand Up @@ -83,6 +87,11 @@ export const usingEthereumQuizzes: QuizzesSection[] = [
{
id: "nfts",
level: "beginner",
next: "stablecoins",
},
{
id: "stablecoins",
level: "beginner",
next: "layer-2",
},
{
Expand Down
131 changes: 131 additions & 0 deletions src/data/quizzes/questionBank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,137 @@ const questionBank = {
],
correctAnswerId: "l006-b",
},
// Stablecoins
m001: {
prompt: "m001-prompt",
answers: [
{
id: "m001-a",
label: "m001-a-label",
explanation: "m001-a-explanation",
},
{
id: "m001-b",
label: "m001-b-label",
explanation: "m001-b-explanation",
},
{
id: "m001-c",
label: "m001-c-label",
explanation: "m001-c-explanation",
},
{
id: "m001-d",
label: "m001-d-label",
explanation: "m001-d-explanation",
},
],
correctAnswerId: "m001-a",
},
m002: {
prompt: "m002-prompt",
answers: [
{
id: "m002-a",
label: "m002-a-label",
explanation: "m002-a-explanation",
},
{
id: "m002-b",
label: "m002-b-label",
explanation: "m002-b-explanation",
},
{
id: "m002-c",
label: "m002-c-label",
explanation: "m002-c-explanation",
},
{
id: "m002-d",
label: "m002-d-label",
explanation: "m002-d-explanation",
},
],
correctAnswerId: "m002-c",
},
m003: {
prompt: "m003-prompt",
answers: [
{
id: "m003-a",
label: "m003-a-label",
explanation: "m003-a-explanation",
},
{
id: "m003-b",
label: "m003-b-label",
explanation: "m003-b-explanation",
},
{
id: "m003-c",
label: "m003-c-label",
explanation: "m003-c-explanation",
},
{
id: "m003-d",
label: "m003-d-label",
explanation: "m003-d-explanation",
},
],
correctAnswerId: "m003-d",
},
m004: {
prompt: "m004-prompt",
answers: [
{
id: "m004-a",
label: "m004-a-label",
explanation: "m004-a-explanation",
},
{
id: "m004-b",
label: "m004-b-label",
explanation: "m004-b-explanation",
},
{
id: "m004-c",
label: "m004-c-label",
explanation: "m004-c-explanation",
},
{
id: "m004-d",
label: "m004-d-label",
explanation: "m004-d-explanation",
},
],
correctAnswerId: "m004-b",
},
m005: {
prompt: "m005-prompt",
answers: [
{
id: "m005-a",
label: "m005-a-label",
explanation: "m005-a-explanation",
},
{
id: "m005-b",
label: "m005-b-label",
explanation: "m005-b-explanation",
},
{
id: "m005-c",
label: "m005-c-label",
explanation: "m005-c-explanation",
},
{
id: "m005-d",
label: "m005-d-label",
explanation: "m005-d-explanation",
},
],
correctAnswerId: "m005-d",
},
} as const satisfies QuestionBank

export default questionBank
Loading

0 comments on commit 1e88968

Please sign in to comment.