Skip to content

Commit 7e7f118

Browse files
committed
refactor: update the playground copy
1 parent 8d823aa commit 7e7f118

File tree

3 files changed

+37
-24
lines changed

3 files changed

+37
-24
lines changed

src/app/globals.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
p {
5+
p,
6+
li {
67
color: #74747d;
78
}

src/app/page.tsx

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,42 @@ export default function Home() {
77

88
<div className="flex flex-col gap-2">
99
<p>
10-
Request Checkout payment widget is a tool that allows websites to
11-
easily accept cryptocurrency payments.
10+
Request Checkout is a pre-built component that abstracts all the
11+
complexities of blockchain transactions using Request Network, making
12+
it simple for businesses to handle crypto-to-crypto payments without
13+
deep technical knowledge. It is open-source and free to integrate,
14+
designed for:
1215
</p>
13-
<p>
14-
it's a pre-built component that handles all the complexities of
15-
blockchain transactions using Request Network, making it simple for
16-
businesses to offer crypto payment options without needing deep
17-
technical knowledge.
18-
</p>
19-
<p>
20-
The playground on this page lets you experiment with the widget
21-
firsthand. You can enter different values for the widget's properties,
22-
such as seller information, product details, and supported currencies.
23-
As you adjust these settings, you'll see how the widget responds in
24-
real-time. This interactive experience helps you understand how the
25-
widget works and how it might look and function on your own website.
26-
</p>
27-
<p>
28-
try out different configurations to see how versatile and
29-
user-friendly the Request Checkout payment widget can be for your
30-
customers!
31-
</p>
32-
<section className="flex flex-col">
16+
<ul className="list-disc list-inside">
17+
<li>
18+
E-commerce websites that want to accept crypto and receive crypto
19+
</li>
20+
<li>
21+
Businesses that want their payment tools to be customizable and
22+
fully controllable, and you can build on top of it
23+
</li>
24+
<li>
25+
Payments made within the widget are compatible with all other apps
26+
on the Request Network, so you can use the payment details inside
27+
other tools
28+
</li>
29+
</ul>
30+
31+
<section className="flex flex-col gap-2">
3332
<h2 className="font-bold text-2xl my-4">Playground</h2>
33+
<p>
34+
he playground on this page lets you experiment with the widget
35+
firsthand. You can enter different values for the widget's
36+
properties, such as seller information, product details, and
37+
supported currencies. As you adjust these settings, you'll see how
38+
the widget responds in real time. This interactive experience helps
39+
you understand how the widget works and how it might look and
40+
function on your own website.
41+
</p>
42+
<p>
43+
Try different configurations to see how versatile and user-friendly
44+
the Request Checkout payment widget can be for your customers!
45+
</p>
3446
<Playground />
3547
</section>
3648
</div>

src/components/Playground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const YourComponent = () => {
8787
};
8888

8989
return (
90-
<div className="flex flex-col gap-4">
90+
<div className="flex flex-col gap-4 mt-4">
9191
<section className="flex flex-col items-center md:items-start md:justify-between md:flex-row">
9292
<div className="flex flex-col gap-4 w-1/2">
9393
{/* Seller Info */}

0 commit comments

Comments
 (0)