66 lines
2.3 KiB
TypeScript
66 lines
2.3 KiB
TypeScript
import { Sparkles } from "lucide-react";
|
|
import Link from "next/link";
|
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
import { Badge } from "@/components/ui/badge";
|
|
import { Button } from "@/components/ui/button";
|
|
|
|
interface Hero197Props {
|
|
className?: string;
|
|
badge?: string;
|
|
title?: string;
|
|
description?: string;
|
|
showButtons?: boolean;
|
|
}
|
|
|
|
const Hero197 = ({
|
|
className,
|
|
badge = "Launching Soon",
|
|
title = "Accelerate your development workflow",
|
|
description = "Our intelligent platform helps teams automate routine tasks, streamline collaboration, and deliver higher quality code faster.",
|
|
showButtons = true,
|
|
}: Hero197Props) => {
|
|
return (
|
|
<section className={cn("relative overflow-hidden py-32", className)}>
|
|
<div className="container mx-auto px-4 md:px-6">
|
|
{/* Background pattern with dots */}
|
|
<div className="absolute inset-0 -z-10 h-full w-full bg-[radial-gradient(var(--primary)_1px,transparent_1px)] [background-size:20px_20px] opacity-25"></div>
|
|
|
|
<div className="relative z-10 flex flex-col gap-6 md:flex-row md:items-center md:justify-center">
|
|
<div className="max-w-2xl w-full flex flex-col items-center text-center">
|
|
<Badge
|
|
variant="outline"
|
|
className="mb-6 bg-background px-4 py-1.5 text-sm"
|
|
>
|
|
{badge} <Sparkles className="ml-1 size-3.5" />
|
|
</Badge>
|
|
|
|
<h1 className="text-heading-1 pt-4 font-bold leading-tight bg-linear-to-r from-foreground to-foreground/70 bg-clip-text text-transparent">
|
|
{title}
|
|
</h1>
|
|
|
|
<p className="text-body mt-6 max-w-xl leading-relaxed text-muted-foreground">
|
|
{description}
|
|
</p>
|
|
|
|
{showButtons && (
|
|
<div className="mt-8 flex flex-col gap-6 sm:flex-row sm:items-center justify-center">
|
|
<Button size="lg" variant="primary" className="w-full sm:w-auto">
|
|
شروع مشاوره
|
|
</Button>
|
|
<Button size="lg" variant="secondary" className="w-full sm:w-auto" asChild>
|
|
<Link href="/consultation">درخواست مشاوره</Link>
|
|
</Button>
|
|
</div>
|
|
)}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Hero197 };
|
|
|