Skip to content

Commit 05406f3

Browse files
committed
feat: refine homepage styling and layout
- Updated background gradient and opacity for improved visual aesthetics. - Adjusted mask image parameters for better design consistency. - Modified card layout and descriptions to enhance clarity and user engagement.
1 parent 2d452a3 commit 05406f3

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

apps/fumadocs/src/app/(home)/page.tsx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,30 @@ import Link from "next/link";
44
export default function HomePage() {
55
return (
66
<main className="relative flex flex-1 flex-col items-center justify-center overflow-hidden px-4 py-20">
7-
{/* Background grid */}
87
<div
9-
className="pointer-events-none absolute inset-0 opacity-40"
8+
className="pointer-events-none absolute inset-0"
109
style={{
1110
backgroundImage:
12-
"radial-gradient(circle at 1px 1px, var(--color-fd-border) 1px, transparent 0)",
13-
backgroundSize: "32px 32px",
11+
"radial-gradient(circle at 1px 1px, var(--muted-foreground) 1px, transparent 0)",
12+
backgroundSize: "24px 24px",
13+
opacity: 0.15,
1414
maskImage:
15-
"radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 100%)",
15+
"radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%)",
1616
}}
1717
/>
1818

1919
<div className="relative flex max-w-3xl flex-col items-center gap-6 text-center">
20-
{/* Logo/Title */}
2120
<h1 className="font-bold font-mono text-7xl tracking-tighter sm:text-8xl">
2221
<span className="bg-linear-to-b from-fd-foreground to-fd-muted-foreground bg-clip-text text-transparent">
2322
vercord
2423
</span>
2524
</h1>
2625

27-
{/* One-liner */}
2826
<p className="max-w-lg text-fd-muted-foreground text-xl">
2927
A webhook relay. Vercel sends deployment events, Vercord forwards them
3028
to Discord. That's it.
3129
</p>
3230

33-
{/* CTA */}
3431
<div className="flex items-center gap-3 pt-4">
3532
<Link
3633
className="group inline-flex items-center gap-2 rounded-full bg-fd-foreground px-6 py-3 font-medium text-fd-background transition-all hover:gap-3"
@@ -50,7 +47,6 @@ export default function HomePage() {
5047
</Link>
5148
</div>
5249

53-
{/* What you get */}
5450
<div className="mt-16 grid w-full gap-px overflow-hidden rounded-xl border border-fd-border bg-fd-border sm:grid-cols-3">
5551
<Card
5652
desc="Events hit Discord within seconds of Vercel firing them"
@@ -63,7 +59,6 @@ export default function HomePage() {
6359
<Card desc="Deploy, add 4 env vars, done" title="Simple" />
6460
</div>
6561

66-
{/* Honest note */}
6762
<p className="mt-8 max-w-md text-fd-muted-foreground/60 text-sm">
6863
This isn't a platform or a service. It's ~200 lines of code that sits
6964
between Vercel and Discord. Self-host it, fork it, forget about it.

0 commit comments

Comments
 (0)