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