hero-section.tsx114 lines, 3.7 KB
| 1 | import { cn } from "@/lib/utils"; |
| 2 | import { |
| 3 | ArrowRight, |
| 4 | FileSearch, |
| 5 | Globe, |
| 6 | Hourglass, |
| 7 | PiggyBank, |
| 8 | Scale, |
| 9 | ShieldCheck, |
| 10 | Sparkles, |
| 11 | Zap, |
| 12 | } from "lucide-react"; |
| 13 | import Link from "next/link"; |
| 14 | import { Button, buttonVariants } from "./ui/button"; |
| 15 | import { Card, CardContent } from "./ui/card"; |
| 16 | |
| 17 | const features = [ |
| 18 | { |
| 19 | title: "AI-powered Analysis", |
| 20 | description: |
| 21 | "Leverage advanced AI to analyze contracts quickly and accurately.", |
| 22 | icon: FileSearch, |
| 23 | }, |
| 24 | { |
| 25 | title: "Risk Identification", |
| 26 | description: "Spot potential risks and opportunities in your contracts.", |
| 27 | icon: ShieldCheck, |
| 28 | }, |
| 29 | { |
| 30 | title: "Streamlined Negotiation", |
| 31 | description: "Accelerate the negotiation process with AI-driven insights.", |
| 32 | icon: Hourglass, |
| 33 | }, |
| 34 | { |
| 35 | title: "Cost Reduction", |
| 36 | description: "Significantly reduce legal costs through automation.", |
| 37 | icon: PiggyBank, |
| 38 | }, |
| 39 | { |
| 40 | title: "Improved Compliance", |
| 41 | description: "Ensure your contracts meet all regulatory requirements.", |
| 42 | icon: Scale, |
| 43 | }, |
| 44 | { |
| 45 | title: "Faster Turnaround", |
| 46 | description: "Complete contract reviews in minutes instead of hours.", |
| 47 | icon: Zap, |
| 48 | }, |
| 49 | ]; |
| 50 | |
| 51 | export function HeroSection() { |
| 52 | return ( |
| 53 | <section className="w-full py-12 md:py-24 lg:py-32 bg-gradient-to-b from-background to-background/80"> |
| 54 | <div className="container px-4 md:px-6 flex flex-col items-center max-w-6xl mx-auto"> |
| 55 | <Link |
| 56 | href={"/dashboard"} |
| 57 | className={cn( |
| 58 | buttonVariants({ variant: "outline", size: "sm" }), |
| 59 | "px-4 py-2 mb-4 rounded-full hidden md:flex" |
| 60 | )} |
| 61 | > |
| 62 | <span className="mr-3 hidden md:block"> |
| 63 | <Sparkles className="size-3.5" /> |
| 64 | </span> |
| 65 | Introducing Simple Metrics for your team |
| 66 | </Link> |
| 67 | <div className="text-center mb-12 w-full"> |
| 68 | <h1 className="text-4xl font-extrabold tracking-tight sm:text-5xl xl:text-6xl/none bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary mb-4"> |
| 69 | Revoltionzie Your Contracts |
| 70 | </h1> |
| 71 | <p className="text-xl text-muted-foreground mb-8 max-w-3xl mx-auto"> |
| 72 | Harness the power of AI to analyze, understand, and optimize your |
| 73 | contracts in no time. |
| 74 | </p> |
| 75 | <div className="flex flex-col sm:flex-row gap-4 justify-center mb-12"> |
| 76 | <Button |
| 77 | className="inline-flex items-center justify-center text-lg" |
| 78 | size={"lg"} |
| 79 | > |
| 80 | Get Started |
| 81 | <ArrowRight className="ml-2 size-5" /> |
| 82 | </Button> |
| 83 | <Button |
| 84 | className="inline-flex items-center justify-center text-lg" |
| 85 | size={"lg"} |
| 86 | variant={"outline"} |
| 87 | > |
| 88 | Learn More |
| 89 | <Globe className="ml-2 size-5" /> |
| 90 | </Button> |
| 91 | </div> |
| 92 | |
| 93 | <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 w-full mb-12"> |
| 94 | {features.map((feature) => ( |
| 95 | <Card key={feature.title} className="h-full"> |
| 96 | <CardContent className="p-6 flex flex-col items-center text-center"> |
| 97 | <div className="size-12 rounded-full bg-primary/10 flex items-center justify-center mb-4"> |
| 98 | <feature.icon className="text-primary" /> |
| 99 | </div> |
| 100 | <h3 className="text-lg font-semibold mb-2"> |
| 101 | {feature.title} |
| 102 | </h3> |
| 103 | <p className="text-sm text-muted-foreground"> |
| 104 | {feature.description} |
| 105 | </p> |
| 106 | </CardContent> |
| 107 | </Card> |
| 108 | ))} |
| 109 | </div> |
| 110 | </div> |
| 111 | </div> |
| 112 | </section> |
| 113 | ); |
| 114 | } |