Skip to content

Commit 2da381f

Browse files
clean up the top part and replace the steak emoji (#200)
Co-authored-by: tokodev <pablo@asdloop.com>
1 parent 7a5c216 commit 2da381f

File tree

3 files changed

+2
-165
lines changed

3 files changed

+2
-165
lines changed

packages/backend/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ app.post("/api/frame", (req, res) => {
400400
link: "https://speedrunethereum.com/challenge/simple-nft-example",
401401
},
402402
1: {
403-
label: "🥩 Staking App",
403+
label: "🔏 Staking App",
404404
link: "https://speedrunethereum.com/challenge/decentralized-staking",
405405
},
406406
2: {

packages/react-app/src/data/challenges.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const challengeInfo = {
1212
"decentralized-staking": {
1313
id: 1,
1414
branchName: "challenge-1-decentralized-staking",
15-
label: "🚩 Challenge 1: 🥩 Decentralized Staking App ",
15+
label: "🚩 Challenge 1: 🔏 Decentralized Staking App ",
1616
disabled: false,
1717
description:
1818
"🦸 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.",

packages/react-app/src/views/HomeView.jsx

-163
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,6 @@ import useCustomColorModes from "../hooks/useCustomColorModes";
66
import HeroLogo from "../components/icons/HeroLogo";
77
import HeroDiamond from "../components/icons/HeroDiamond";
88

9-
const BulletNumber = ({ children, bgColor, primaryFontColor }) => (
10-
<Box
11-
display="flex"
12-
justifyContent="center"
13-
alignItems="center"
14-
color={bgColor}
15-
bgColor={primaryFontColor}
16-
borderRadius="50%"
17-
w="20px"
18-
h="20px"
19-
mb="5px"
20-
fontSize="14px"
21-
>
22-
{children}
23-
</Box>
24-
);
25-
269
export default function HomeView({ connectedBuilder, userProvider }) {
2710
const { primaryFontColor, bgColor } = useCustomColorModes();
2811
const cardBgColor = useColorModeValue("sre.cardBackground", "sreDark.cardBackground");
@@ -74,152 +57,6 @@ export default function HomeView({ connectedBuilder, userProvider }) {
7457
<HeroLogo maxW="600px" height="auto" />
7558
</Center>
7659

77-
<BulletNumber primaryFontColor={primaryFontColor} bgColor={bgColor}>
78-
1
79-
</BulletNumber>
80-
<Text
81-
color={primaryFontColor}
82-
mb="5"
83-
fontSize={{
84-
base: "lg",
85-
lg: "md",
86-
}}
87-
textAlign="center"
88-
>
89-
Watch this{" "}
90-
<a
91-
href="https://www.youtube.com/watch?v=MlJPjJQZtC8"
92-
target="_blank"
93-
rel="noopener noreferrer"
94-
style={{ textDecoration: "underline" }}
95-
>
96-
quick video
97-
</a>{" "}
98-
as an Intro to Ethereum Development.
99-
</Text>
100-
101-
<BulletNumber primaryFontColor={primaryFontColor} bgColor={bgColor}>
102-
2
103-
</BulletNumber>
104-
<Text
105-
color={primaryFontColor}
106-
mb="2"
107-
fontSize={{
108-
base: "lg",
109-
lg: "md",
110-
}}
111-
textAlign="center"
112-
>
113-
Then use{" "}
114-
<a
115-
style={{ textDecoration: "underline" }}
116-
href="https://github.com/scaffold-eth/scaffold-eth-2"
117-
rel="noopener noreferrer"
118-
target="_blank"
119-
>
120-
<span role="img" aria-label="teacher icon">
121-
🏗
122-
</span>{" "}
123-
Scaffold-ETH 2
124-
</a>{" "}
125-
to copy/paste each Solidity concept and tinker:
126-
</Text>
127-
128-
<Text
129-
color={primaryFontColor}
130-
mb="5"
131-
fontSize={{
132-
base: "lg",
133-
lg: "md",
134-
}}
135-
textAlign="center"
136-
>
137-
<div>
138-
<a
139-
href="https://docs.soliditylang.org/en/v0.6.6/units-and-global-variables.html"
140-
target="_blank"
141-
rel="noopener noreferrer"
142-
>
143-
global units
144-
</a>
145-
,{" "}
146-
<a target="_blank" href="https://solidity-by-example.org/primitives/" rel="noopener noreferrer">
147-
primitives
148-
</a>
149-
,{" "}
150-
<a target="_blank" href="https://solidity-by-example.org/mapping/" rel="noopener noreferrer">
151-
mappings
152-
</a>
153-
,{" "}
154-
<a href="https://solidity-by-example.org/structs/" target="_blank" rel="noopener noreferrer">
155-
structs
156-
</a>
157-
,{" "}
158-
<a href="https://solidity-by-example.org/function-modifier/" target="_blank" rel="noopener noreferrer">
159-
modifiers
160-
</a>
161-
,{" "}
162-
<a href="https://solidity-by-example.org/events/" target="_blank" rel="noopener noreferrer">
163-
events
164-
</a>
165-
,
166-
</div>{" "}
167-
<a href="https://solidity-by-example.org/inheritance/" target="_blank" rel="noopener noreferrer">
168-
inheritance
169-
</a>
170-
,{" "}
171-
<a href="https://solidity-by-example.org/sending-ether/" target="_blank" rel="noopener noreferrer">
172-
sending eth
173-
</a>
174-
, and{" "}
175-
<a href="https://solidity-by-example.org/payable/" target="_blank" rel="noopener noreferrer">
176-
payable
177-
</a>
178-
/
179-
<a href="https://solidity-by-example.org/fallback/" target="_blank" rel="noopener noreferrer">
180-
fallback
181-
</a>{" "}
182-
functions.
183-
</Text>
184-
185-
<BulletNumber primaryFontColor={primaryFontColor} bgColor={bgColor}>
186-
3
187-
</BulletNumber>
188-
<Text
189-
color={primaryFontColor}
190-
mb="5"
191-
fontSize={{
192-
base: "lg",
193-
lg: "md",
194-
}}
195-
textAlign="center"
196-
>
197-
Watch this{" "}
198-
<a
199-
href="https://www.youtube.com/playlist?list=PLJz1HruEnenAf80uOfDwBPqaliJkjKg69"
200-
target="_blank"
201-
rel="noopener noreferrer"
202-
style={{ textDecoration: "underline" }}
203-
>
204-
getting started playlist
205-
</a>{" "}
206-
to become a power user and eth scripter.
207-
</Text>
208-
209-
<BulletNumber primaryFontColor={primaryFontColor} bgColor={bgColor}>
210-
4
211-
</BulletNumber>
212-
<Text
213-
color={primaryFontColor}
214-
mb="0"
215-
fontSize={{
216-
base: "lg",
217-
lg: "md",
218-
}}
219-
textAlign="center"
220-
>
221-
When you are ready to test your knowledge, Speed Run Ethereum:
222-
</Text>
22360
</Container>
22461
<Box
22562
bgImg="/assets/header_platform.svg"

0 commit comments

Comments
 (0)