forked from Astrea-Payouts/astrea
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.tsx
More file actions
51 lines (49 loc) · 2.08 KB
/
Copy pathpage.tsx
File metadata and controls
51 lines (49 loc) · 2.08 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
42
43
44
45
46
47
48
49
50
51
import { PrismBackground } from "@/components/prism-background";
import { WalletConnectButton } from "@/components/wallet-connect-button";
export default function Home() {
return (
<main className="relative isolate flex min-h-screen flex-1 flex-col overflow-hidden bg-black">
{/* Canvas spans the full hero (no flat black slab on the left) —
the shape itself is pushed right via `offset` so it still reads
as concentrated on the right side. */}
<div className="pointer-events-none absolute inset-0 z-0">
<PrismBackground
suspendWhenOffscreen
offset={{ x: 260 }}
className="h-full w-full"
/>
</div>
{/* Fully transparent by ~60% width, i.e. exactly where the Prism
lane starts — the glow must stay undimmed to read like the docs
demo; only the text column underneath needs the contrast. */}
<div className="pointer-events-none absolute inset-0 z-[1] bg-[linear-gradient(115deg,rgba(0,0,0,0.95)_0%,rgba(0,0,0,0.8)_25%,rgba(0,0,0,0.4)_45%,rgba(0,0,0,0)_60%)]" />
<div className="relative z-10 flex flex-1 items-center px-6 py-24 md:px-12">
<div className="max-w-xl">
<p className="mb-5 text-xs font-semibold tracking-[0.14em] text-white/55 uppercase">
Built on Stellar
</p>
<h1 className="mb-6 font-serif text-5xl leading-[1.02] font-bold text-white md:text-6xl">
Astrea
</h1>
<p className="mb-9 max-w-md text-lg leading-relaxed text-white/70">
Escrow-backed prize payouts for hackathons, bounties, and community
challenges — funds locked on-chain before the event starts.
</p>
<div className="flex flex-wrap items-center gap-5">
<WalletConnectButton className="bg-white text-black hover:bg-white/90" />
<p className="text-sm text-white/55">
MVP in active development. See the{" "}
<a
className="text-white/85 underline underline-offset-4 hover:text-white"
href="https://github.com/Astrea-Payouts/astrea/blob/main/docs/build-plan.md"
>
build plan
</a>{" "}
for what's next.
</p>
</div>
</div>
</div>
</main>
);
}