22 JsonLd ,
33 StructuredDataGenerator ,
44} from "@ux-patterns/seo/structured-data" ;
5- import { Badge } from "@ux-patterns/ui/components/shadcn/badge" ;
5+
66import { Button } from "@ux-patterns/ui/components/shadcn/button" ;
77import {
88 Card ,
@@ -15,14 +15,14 @@ import {
1515 BookOpen ,
1616 Code ,
1717 Globe ,
18- Palette ,
1918 Shield ,
2019 Smartphone ,
2120 Zap ,
2221} from "lucide-react" ;
2322import type { Metadata } from "next" ;
2423import Link from "next/link" ;
2524import { NewsletterForm } from "@/components/newsletter" ;
25+ import Hero from "@/components/sections/hero" ;
2626import { siteConfig } from "@/lib/site.config" ;
2727
2828export const metadata : Metadata = {
@@ -74,56 +74,12 @@ export default function HomePage() {
7474 ) ) }
7575 < main className = "flex flex-1 flex-col" >
7676 { /* Hero Section */ }
77- < section className = "container mx-auto px-4 py-16 md:py-24 text-center" >
78- < div className = "max-w-4xl mx-auto" >
79- < Badge variant = "secondary" className = "mb-6" >
80- Copy & Paste Ready
81- </ Badge >
82- < h1 className = "text-4xl md:text-6xl font-bold mb-6 bg-gradient-to-r from-neutral-900 to-neutral-600 dark:from-neutral-100 dark:to-neutral-400 bg-clip-text text-transparent" >
83- UP Kit
84- </ h1 >
85- < p className = "text-xl md:text-2xl text-muted-foreground mb-8 max-w-3xl mx-auto" >
86- Ship better UX than most design teams. Without the meetings.
87- Production-ready components with all the UX decisions already
88- made. Every pattern, animation, and interaction battle-tested.
89- Copy the excellence, skip the committees.
90- </ p >
91- < div className = "flex flex-col sm:flex-row gap-4 justify-center mb-12" >
92- < Button asChild size = "lg" >
93- < Link href = "/docs" >
94- Get Started < ArrowRight className = "h-4 w-4" />
95- </ Link >
96- </ Button >
97- < Button variant = "outline" size = "lg" asChild >
98- < Link href = "/docs/components/button" > View Components</ Link >
99- </ Button >
100- < Button variant = "ghost" size = "lg" asChild >
101- < Link href = "https://uxpatterns.dev" >
102- Learn the Patterns < ArrowRight className = "h-4 w-4" />
103- </ Link >
104- </ Button >
105- </ div >
106- < div className = "flex flex-wrap justify-center gap-6 text-sm text-muted-foreground" >
107- < div className = "flex items-center gap-2" >
108- < Code className = "h-4 w-4" />
109- < span > React + TypeScript</ span >
110- </ div >
111- < div className = "flex items-center gap-2" >
112- < Palette className = "h-4 w-4" />
113- < span > Tailwind CSS</ span >
114- </ div >
115- < div className = "flex items-center gap-2" >
116- < Shield className = "h-4 w-4" />
117- < span > WCAG 2.2 Compliant</ span >
118- </ div >
119- </ div >
120- </ div >
121- </ section >
77+ < Hero />
12278
12379 { /* Features Section */ }
12480 < section className = "container mx-auto px-4 py-16" >
12581 < div className = "text-center mb-12" >
126- < h2 className = "text-3xl md:text-4xl font-bold mb-4" >
82+ < h2 className = "text-3xl md:text-4xl font-bold mb-4 leading-[1.2] tracking-tighter " >
12783 Everything you need to build great UX
12884 </ h2 >
12985 < p className = "text-xl text-muted-foreground max-w-2xl mx-auto" >
0 commit comments