Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface Cta10Props {
|
||||
heading?: string;
|
||||
description?: string;
|
||||
buttons?: {
|
||||
primary?: {
|
||||
text: string;
|
||||
url: string;
|
||||
};
|
||||
secondary?: {
|
||||
text: string;
|
||||
url: string;
|
||||
};
|
||||
};
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Cta10 = ({
|
||||
heading = "همین امروز شروع کنید",
|
||||
description = "با استفاده از ابزارها و قابلیتهای آماده، زمان توسعه را کاهش دهید، کیفیت محصول را افزایش دهید و سریعتر به بازار برسید.",
|
||||
buttons = {
|
||||
primary: {
|
||||
text: "شروع همکاری",
|
||||
url: "https://www.ShadcnBlocks",
|
||||
},
|
||||
},
|
||||
className,
|
||||
}: Cta10Props) => {
|
||||
return (
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<div className="flex w-full flex-col gap-16 overflow-hidden rounded-lg bg-accent p-8 md:rounded-xl lg:flex-row lg:items-center lg:p-12">
|
||||
<div className="flex-1 text-start">
|
||||
<h3 className="mb-3 text-xl font-semibold md:mb-4 md:text-xl lg:mb-6">
|
||||
{heading}
|
||||
</h3>
|
||||
<p className="max-w-xl text-muted-foreground lg:text-lg">
|
||||
{description}
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex shrink-0 flex-col gap-2 sm:flex-row">
|
||||
{buttons.primary && (
|
||||
<Button asChild variant="default" size="lg">
|
||||
<a href={buttons.primary.url}>{buttons.primary.text}</a>
|
||||
</Button>
|
||||
)}
|
||||
{buttons.secondary && (
|
||||
<Button variant="outline" asChild>
|
||||
<a href={buttons.secondary.url}>{buttons.secondary.text}</a>
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Cta10 };
|
||||
Reference in New Issue
Block a user