forked from payjoin/payjoin.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
41 lines (40 loc) · 1.32 KB
/
Copy pathindex.tsx
File metadata and controls
41 lines (40 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Button component that accounts for the differences between the two buttons using props
// Using the given tailwind classes below
export function Button({ children, variant }) {
return (
<button
className={`text-2xl text-white px-12 py-4 rounded-lg cursor-pointer transition-all w-80 ${
variant === "primary"
? "bg-primary hover:bg-pink-500 border-none"
: "border-solid bg-secondary border-white hover:border-pink-200 hover:text-pink-200"
} `}
>
{children}
</button>
);
}
export default function HeaderContent() {
return (
<div className="min-h-screen flex items-center justify-center flex-col gap-8 max-sm:m-20">
<img
src="/svg/monad.svg"
alt="Monad Logo"
className="w-32 text-primary"
/>
<h1 className="text-7xl">Payjoin</h1>
<div className="flex flex-col">
<h2 className="text-4xl">
Scale Bitcoin, save fees, and preserve privacy all at once.
</h2>
</div>
<div className="flex gap-4 flex-col sm:flex-row">
<a href="./docs/how-payjoin-saves">
<Button variant="primary">Learn More</Button>
</a>
<a target="_blank" href="https://payjoindevkit.org/">
<Button variant="secondary">Developer Kit</Button>
</a>
</div>
</div>
);
}