Skip to content

Commit be5f069

Browse files
ChangoMancarletex
andauthored
Update FAQs for the new seasons (#28)
Co-authored-by: Carlos Sánchez <[email protected]>
1 parent bbcea01 commit be5f069

File tree

1 file changed

+68
-21
lines changed

1 file changed

+68
-21
lines changed

packages/nextjs/app/faqs/page.tsx

Lines changed: 68 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,101 @@ const faqs = [
44
{
55
id: 1,
66
question: "What is Solidity Invaders?",
7-
answer:
8-
"Solidity Invaders is a Capture the Flag (CTF) game that teaches you how to write secure smart contracts in Solidity. The game was originally created by BuidlGuild for Devcon 7 in Bangkok, Thailand. The original website can be viewed at ",
9-
link: "https://ctf-devcon.buidlguidl.com",
7+
answer: (
8+
<>
9+
Solidity Invaders is a Capture the Flag (CTF) game that teaches you how to write secure smart contracts in
10+
Solidity. The game was originally created by BuidlGuild for Devcon 7 in Bangkok, Thailand. The original website
11+
can be viewed at{" "}
12+
<a
13+
className="text-primary link break-all lg:break-normal"
14+
href="https://ctf-devcon.buidlguidl.com"
15+
target="_blank"
16+
>
17+
https://ctf-devcon.buidlguidl.com
18+
</a>
19+
</>
20+
),
1021
},
1122
{
1223
id: 2,
1324
question: "How should I complete the challenges?",
14-
answer:
15-
"Advanced players may use any means necessary to progress through the challenges. We recommend that beginners use this Scaffold ETH extension that contains everything you need to play the game and test your solutions locally:",
16-
link: "https://github.com/buidlguidl/ctf.buidlguidl.com/tree/extension",
25+
answer: (
26+
<>
27+
Advanced players may use any means necessary to progress through the challenges. We recommend that beginners use
28+
this{" "}
29+
<a
30+
className="text-primary link break-all lg:break-normal"
31+
href="https://github.com/buidlguidl/ctf.buidlguidl.com/tree/extension"
32+
target="_blank"
33+
>
34+
Scaffold ETH extension
35+
</a>{" "}
36+
that contains everything you need to play the game and test your solutions locally.
37+
</>
38+
),
1739
},
1840
{
1941
id: 3,
42+
question: "What are the Seasons?",
43+
answer: (
44+
<>
45+
Solidity Invaders is organized into seasons, each featuring a new set of challenges. Season 1 (Bangkok) includes
46+
the 12 challenges from{" "}
47+
<a
48+
className="text-primary link break-all lg:break-normal"
49+
href="https://ctf-devcon.buidlguidl.com/"
50+
target="_blank"
51+
>
52+
Devcon SEA
53+
</a>
54+
. Season 2 (Buenos Aires) includes the 12 challenges played at{" "}
55+
<a
56+
className="text-primary link break-all lg:break-normal"
57+
href="https://ctf-argentina.buidlguidl.com/"
58+
target="_blank"
59+
>
60+
Devconnect ARG
61+
</a>
62+
.
63+
</>
64+
),
65+
},
66+
{
67+
id: 4,
2068
question: "What are the flags?",
2169
answer:
2270
"Upon capturing a flag, you will mint a SVG NFT that represents the flag you captured. There are 12 flags in total, each corresponding to a different challenge.",
2371
},
2472
{
25-
id: 4,
73+
id: 5,
2674
question: "What chain/network is this game on?",
2775
answer:
2876
"The challenges are deployed on Optimism mainnet. You will need to use real ETH on Optimism in order to complete the challenges. But you can always play locally!",
2977
},
3078
{
31-
id: 5,
79+
id: 6,
3280
question: "How are points tracked?",
3381
answer:
3482
"You will also receive points for each flag you capture. Each flag must be minted to the same Ethereum address for the points to be counted properly.",
3583
},
3684
{
37-
id: 6,
85+
id: 7,
3886
question: "How can I track my progress?",
3987
answer:
4088
"Check your progress by visiting `/profile/{YourRegisteredAddress}`. You may also connect your registered Ethereum address to this website and view your progress by clicking on 'My Flags'.",
4189
},
4290
{
43-
id: 7,
91+
id: 8,
4492
question: "Is there a leaderboard?",
45-
answer:
46-
"There isn't a leaderboard for this version of the game. Instead, there is a Stats page which can be found at",
47-
link: "/stats",
93+
answer: (
94+
<>
95+
There isn&apos;t a leaderboard for this version of the game. Instead, there is a Stats page which can be found
96+
at{" "}
97+
<a className="text-primary link break-all lg:break-normal" href="/stats" target="_blank">
98+
/stats
99+
</a>
100+
</>
101+
),
48102
},
49103
];
50104

@@ -64,14 +118,7 @@ export default function FaqsPage() {
64118
{faqs.map(faq => (
65119
<div key={faq.id}>
66120
<dt className="text-base/7 font-bold text-white">{faq.question}</dt>
67-
<dd className="mt-2 text-base/7 text-gray-200">
68-
{faq.answer}{" "}
69-
{faq.link && (
70-
<a className="text-primary link break-all lg:break-normal" href={faq.link} target="_blank">
71-
{faq.link}
72-
</a>
73-
)}
74-
</dd>
121+
<dd className="mt-2 text-base/7 text-gray-200">{faq.answer}</dd>
75122
</div>
76123
))}
77124
</dl>

0 commit comments

Comments
 (0)