-
-
Notifications
You must be signed in to change notification settings - Fork 77
/
page.tsx
53 lines (51 loc) · 2.05 KB
/
page.tsx
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
52
53
import Link from "next/link";
import Balancer from "react-wrap-balancer";
import { siteConfig } from "@/app/site-config";
import { buttonVariants } from "@/components/ui/button";
import { Icons } from "@/components/icons";
export default function IndexPage() {
return (
<section className="container flex flex-col justify-center overflow-hidden items-center min-h-[calc(100vh-4.0625rem)] gap-6 pb-8 pt-6 md:py-10">
<div className="max-w-5xl space-y-8">
<h1
className="font-cal animate-fade-up bg-gradient-to-br from-indigo-700 via-accent-foreground to-fuchsia-500 bg-clip-text text-center text-5xl/[3rem] font-bold text-transparent opacity-0 drop-shadow-sm md:text-7xl/[5rem]"
style={{ animationDelay: "0.20s", animationFillMode: "forwards" }}
>
<Balancer>
Framework agnostic validation for{" "}
<span className="underline decoration-destructive decoration-wavy decoration-from-font underline-offset-4">
type-safe
</span>{" "}
environment variables.
</Balancer>
</h1>
<p
className="animate-fade-up text-center dark:text-muted-foreground/80 text-muted-foreground opacity-0 md:text-xl"
style={{ animationDelay: "0.30s", animationFillMode: "forwards" }}
>
<Balancer>{siteConfig.description}</Balancer>
</p>
<div
className="flex justify-center gap-4 animate-fade-up opacity-0"
style={{ animationDelay: "0.40s", animationFillMode: "forwards" }}
>
<Link
href={siteConfig.links.docs}
className={buttonVariants({ size: "lg" })}
>
Documentation
</Link>
<Link
target="_blank"
rel="noreferrer"
href={siteConfig.links.github}
className={buttonVariants({ variant: "outline", size: "lg" })}
>
<Icons.gitHub className="mr-1 h-4 w-4" />
<span>GitHub</span>
</Link>
</div>
</div>
</section>
);
}