feat: implement the first version of landing page

This commit is contained in:
Henry Li
2026-01-23 13:24:03 +08:00
parent b69c13a3e5
commit 0908127bd7
25 changed files with 2576 additions and 241 deletions

View File

@@ -0,0 +1,29 @@
import { cn } from "@/lib/utils";
export function Section({
className,
title,
subtitle,
children,
}: {
className?: string;
title: React.ReactNode;
subtitle?: React.ReactNode;
children: React.ReactNode;
}) {
return (
<section className={cn("mx-auto flex flex-col py-16", className)}>
<header className="flex flex-col items-center justify-between">
<div className="mb-4 bg-linear-to-r from-white via-gray-200 to-gray-400 bg-clip-text text-center text-5xl font-bold text-transparent">
{title}
</div>
{subtitle && (
<div className="text-muted-foreground text-center text-xl">
{subtitle}
</div>
)}
</header>
<main className="mt-4">{children}</main>
</section>
);
}