Skip to content

Commit c973133

Browse files
committed
Add callout
1 parent 1d61ba8 commit c973133

1 file changed

Lines changed: 34 additions & 11 deletions

File tree

app/page.tsx

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,40 @@ export default function Home() {
77
<h1 className="text-2xl sm:text-3xl text-center sm:text-left">
88
Faucet Interview 🥳
99
</h1>
10-
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
11-
<li className="mb-2">
12-
User needs to be able to enter an address to receive funds at.
13-
</li>
14-
<li className="mb-2">User needs to receive funds from the faucet</li>
15-
<li className="mb-2">
16-
User should not have to pay for gas to receive funds from the
17-
faucet!
18-
</li>
19-
<li>We already set ALCHEMY_API_KEY in environment variables.</li>
20-
</ol>
10+
11+
<div>
12+
<h2 className="text-md sm:text-xl text-center sm:text-left mb-4">
13+
Requirements:
14+
</h2>
15+
16+
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
17+
<li className="mb-2">
18+
User needs to be able to enter an address to receive funds at.
19+
</li>
20+
<li className="mb-2">
21+
User needs to receive funds from the faucet.
22+
</li>
23+
<li className="mb-2">
24+
User should not pay for gas to receive funds from faucet - no need
25+
for smart contract!
26+
</li>
27+
</ol>
28+
</div>
29+
30+
{/* Callout */}
31+
<div className="bg-[#f2f2f2] dark:bg-[#1a1a1a] border border-solid border-black/[.08] dark:border-white/[.145] rounded-lg p-4 sm:p-6 text-sm sm:text-base w-full">
32+
<p className="text-center sm:text-left">
33+
🙋{" "}
34+
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
35+
ALCHEMY_API_KEY
36+
</code>{" "}
37+
already set in{" "}
38+
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
39+
.env
40+
</code>{" "}
41+
file.
42+
</p>
43+
</div>
2144

2245
<div className="w-full border-b border-black/[.08] dark:border-white/[.145]" />
2346

0 commit comments

Comments
 (0)