);
};
diff --git a/packages/nextjs/data-challenges/challenges.ts b/packages/nextjs/data-challenges/challenges.ts
index 9c5803a6..d58b9376 100644
--- a/packages/nextjs/data-challenges/challenges.ts
+++ b/packages/nextjs/data-challenges/challenges.ts
@@ -6,7 +6,7 @@ const allChallenges = [
"🎫 Create a simple NFT to learn basics of scaffold-Stark. You'll use 👷♀️ HardHat to compile and deploy smart contracts. Then, you'll use a template React app full of important Ethereum components and hooks. Finally, you'll deploy an NFT to a public network to share with friends! 🚀",
imageUrl: "/simpleNFT.png",
end: true,
- id: "challenge0",
+ id: "simple-nft-example",
},
{
challenge: "Challenge #1",
@@ -14,7 +14,7 @@ const allChallenges = [
description:
"🦸 A superpower of Ethereum is allowing you, the builder, to create a simple set of rules that an adversarial group of players can use to work together. In this challenge, you create a decentralized application where users can coordinate a group funding effort. The users only have to trust the code.",
imageUrl: "/stakingToken.png",
- id: "challenge-0-simple-nft",
+ id: "decentralized-staking",
},
{
challenge: "Challenge #2",
@@ -23,7 +23,7 @@ const allChallenges = [
"🤖 Smart contracts are kind of like always on vending machines that anyone can access. Let's make a decentralized, digital currency (an ERC20 token). Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about the approve pattern for ERC20s and how contract to contract interactions work.",
imageUrl: "/tokenVendor.png",
border: false,
- id: "challenge-0-simple-nft",
+ id: "token-vendor",
},
{
challenge: "Challenge #3",
@@ -31,7 +31,7 @@ const allChallenges = [
description:
"🎰 Randomness is tricky on a public deterministic blockchain. The block hash is the result proof-of-work (for now) and some builders use this as a weak form of randomness. In this challenge you will take advantage of a Dice Game contract by predicting the randomness in order to only roll winning dice!",
imageUrl: "/diceGame.png",
- id: "challenge-0-simple-nft",
+ id: "dice-game",
},
{
challenge: "Challenge #4",
@@ -39,7 +39,7 @@ const allChallenges = [
description:
"💵 Build an exchange that swaps ETH to tokens and tokens to ETH. 💰 This is possible because the smart contract holds reserves of both assets and has a price function based on the ratio of the reserves. Liquidity providers are issued a token that represents their share of the reserves and fees...",
imageUrl: "/dex.png",
- id: "challenge-0-simple-nft",
+ id: "build-a-dex",
},
{
challenge: "Challenge #5",
@@ -47,7 +47,7 @@ const allChallenges = [
description:
"🛣️ The Ethereum blockchain has great decentralization & security properties but these properties come at a price: transaction throughput is low, and transactions can be expensive. This makes many traditional web applications infeasible on a blockchain... or does it? State channels look to solve these problems by allowing participants to securely transact off-chain while keeping interaction with Ethereum Mainnet at a minimum.",
imageUrl: "/state.png",
- id: "challenge-0-simple-nft",
+ id: "state-channel-application",
},
{
challenge: "Challenge #6",
@@ -55,7 +55,7 @@ const allChallenges = [
description:
"🛣️ The Ethereum blockchain has great decentralization & security properties but these properties come at a price: transaction throughput is low, and transactions can be expensive. This makes many traditional web applications infeasible on a blockchain... or does it? State channels look to solve these problems by allowing participants to securely transact off-chain while keeping interaction with Ethereum Mainnet at a minimum.",
imageUrl: "/multiSig.png",
- id: "challenge-0-simple-nft",
+ id: "multisig-wallet-challenge",
},
{
challenge: "Challenge #7",
@@ -64,7 +64,7 @@ const allChallenges = [
"🧙 Tinker around with cutting edge smart contracts that render SVGs in Solidity. 🧫 We quickly discovered that the render function needs to be public... 🤔 This allows NFTs that own other NFTs to render their stash. Just wait until you see an Optimistic Loogie and a Fancy Loogie swimming around in the same Loogie Tank!",
imageUrl: "/dynamicSvgNFT.png",
border: false,
- id: "challenge-0-simple-nft",
+ id: "svg-nft",
},
];
diff --git a/packages/nextjs/tailwind.config.ts b/packages/nextjs/tailwind.config.ts
index 2de3551f..dc946253 100644
--- a/packages/nextjs/tailwind.config.ts
+++ b/packages/nextjs/tailwind.config.ts
@@ -60,7 +60,7 @@ module.exports = {
primary: "#0C0C4F",
"primary-content": "#212638",
secondary: "#0C0C4F",
- "secondary-content": "#E7F0FE",
+ "secondary-content": "#abc6f1",
accent: "#93BBFB",
"accent-content": "#212638",
neutral: "#212638",
@@ -68,6 +68,7 @@ module.exports = {
"base-100": "#E7F0FE",
"base-200": "#f4f8ff",
"base-300": "#0C0C4F",
+ "base-400": "#E7F0FE",
"base-content": "#212638",
info: "#93BBFB",
success: "#34EEB6",
@@ -98,8 +99,9 @@ module.exports = {
neutral: "#F9FBFF",
"neutral-content": "#385183",
"base-100": "#1b2841",
- "base-200": "#1c2d49",
+ "base-200": "#29385d",
"base-300": "#E7F0FE",
+ "base-400": "#364a70",
"base-content": "#F9FBFF",
info: "#385183",
success: "#34EEB6",