first project version mrDecor
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
interface Cta10Props {
|
||||
heading: string;
|
||||
description: string;
|
||||
buttons?: {
|
||||
primary?: {
|
||||
text: string;
|
||||
url: string;
|
||||
};
|
||||
secondary?: {
|
||||
text: string;
|
||||
url: string;
|
||||
};
|
||||
};
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Cta10 = ({
|
||||
heading = "Call to Action",
|
||||
description = "Build faster with our collection of pre-built blocks. Speed up your development and ship features in record time.",
|
||||
buttons = {
|
||||
primary: {
|
||||
text: "Buy Now",
|
||||
url: "https://www.shadcnblocks.com",
|
||||
},
|
||||
},
|
||||
className,
|
||||
}: Cta10Props) => {
|
||||
return (
|
||||
<section className={cn("pt-32 pb-40 md:pb-48 lg:pb-56", className)}>
|
||||
<div className="container mx-auto px-4 md:px-6">
|
||||
<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">
|
||||
<h2 className="text-heading-2 mb-3 font-semibold md:mb-4 lg:mb-6">
|
||||
{heading}
|
||||
</h2>
|
||||
<p className="text-body max-w-xl leading-relaxed text-muted-foreground">
|
||||
{description}
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex shrink-0 flex-col gap-2 sm:flex-row">
|
||||
{buttons.secondary && (
|
||||
<Button variant="secondary" asChild size="lg">
|
||||
<a href={buttons.secondary.url}>{buttons.secondary.text}</a>
|
||||
</Button>
|
||||
)}
|
||||
{buttons.primary && (
|
||||
<Button asChild variant="primary" size="lg">
|
||||
<a href={buttons.primary.url}>{buttons.primary.text}</a>
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Cta10 };
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { useContent } from "@/components/layout/content-provider";
|
||||
|
||||
interface Cta14Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Cta14 = ({ className }: Cta14Props) => {
|
||||
const content = useContent();
|
||||
const cta = content.pages.product.abeshdeHamkar.cta14;
|
||||
|
||||
return (
|
||||
<section className={cn("py-32", className)} dir="rtl">
|
||||
<div className="container mx-auto max-w-6xl px-6">
|
||||
<div className="flex min-h-[280px] items-center justify-center rounded-2xl border border-border bg-card shadow-sm">
|
||||
<div className="flex flex-col gap-8 p-4 text-center">
|
||||
<p className="text-body font-medium leading-[var(--line-height-body)] text-foreground">
|
||||
{cta.text}
|
||||
</p>
|
||||
<div className="flex justify-center">
|
||||
<Button asChild size="lg" variant="primary">
|
||||
<Link href="/contact">{cta.button}</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Cta14 };
|
||||
@@ -0,0 +1,119 @@
|
||||
"use client";
|
||||
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { useContent } from "@/components/layout/content-provider";
|
||||
import Link from "next/link";
|
||||
|
||||
interface Cta17GoldStoreProps {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const CirclesPattern = () => (
|
||||
<svg
|
||||
className="absolute inset-0 size-full"
|
||||
viewBox="0 0 1984 1984"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
preserveAspectRatio="xMidYMid slice"
|
||||
>
|
||||
<rect
|
||||
x="0.5"
|
||||
y="0.5"
|
||||
width="1983"
|
||||
height="1983"
|
||||
rx="991.5"
|
||||
className="fill-muted/30 stroke-border"
|
||||
/>
|
||||
<rect
|
||||
x="100.5"
|
||||
y="100.5"
|
||||
width="1783"
|
||||
height="1783"
|
||||
rx="891.5"
|
||||
className="fill-muted/30 stroke-border"
|
||||
/>
|
||||
<rect
|
||||
x="200.5"
|
||||
y="200.5"
|
||||
width="1583"
|
||||
height="1583"
|
||||
rx="791.5"
|
||||
className="fill-muted/30 stroke-border"
|
||||
/>
|
||||
<rect
|
||||
x="300.5"
|
||||
y="300.5"
|
||||
width="1383"
|
||||
height="1383"
|
||||
rx="691.5"
|
||||
className="fill-muted/30 stroke-border"
|
||||
/>
|
||||
<rect
|
||||
x="400.25"
|
||||
y="400.25"
|
||||
width="1183.5"
|
||||
height="1183.5"
|
||||
rx="591.75"
|
||||
strokeWidth="0.5"
|
||||
className="fill-muted/30 stroke-border"
|
||||
/>
|
||||
<rect
|
||||
x="500.25"
|
||||
y="500.25"
|
||||
width="983.5"
|
||||
height="983.5"
|
||||
rx="491.75"
|
||||
strokeWidth="0.5"
|
||||
className="fill-muted/30 stroke-border"
|
||||
/>
|
||||
<rect
|
||||
x="600.25"
|
||||
y="600.25"
|
||||
width="783.5"
|
||||
height="783.5"
|
||||
rx="391.75"
|
||||
strokeWidth="0.5"
|
||||
className="fill-muted/50 stroke-border"
|
||||
/>
|
||||
<rect
|
||||
x="700.25"
|
||||
y="700.25"
|
||||
width="583.5"
|
||||
height="583.5"
|
||||
rx="291.75"
|
||||
strokeWidth="0.5"
|
||||
className="fill-muted/30 stroke-border"
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
|
||||
const Cta17GoldStore = ({ className }: Cta17GoldStoreProps) => {
|
||||
const content = useContent();
|
||||
const cta = content.pages.product.forushgahSazTala.cta17;
|
||||
return (
|
||||
<section className={cn("pt-8 md:pt-12 lg:pt-16 pb-24 md:pb-32 lg:pb-40", className)}>
|
||||
<div className="relative flex items-center justify-center overflow-hidden border py-20 text-center md:p-20">
|
||||
<CirclesPattern />
|
||||
<div className="container relative mx-auto max-w-7xl px-6">
|
||||
<div className="mx-auto max-w-3xl" dir="rtl">
|
||||
<h2 className="text-heading-2 mb-4 font-semibold leading-snug text-balance">
|
||||
{cta.heading}
|
||||
</h2>
|
||||
<p className="text-body leading-relaxed text-muted-foreground">
|
||||
{cta.description}
|
||||
</p>
|
||||
<div className="mt-11 flex flex-col justify-center gap-2 sm:flex-row">
|
||||
<Button size="lg" variant="primary" asChild>
|
||||
<Link href="/contact">{cta.button}</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Cta17GoldStore };
|
||||
@@ -0,0 +1,49 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { ArrowRight } from "lucide-react";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface Cta6Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Cta6 = ({ className }: Cta6Props) => {
|
||||
return (
|
||||
<section className={cn("section-blur-separator relative overflow-hidden py-20 md:py-24 lg:py-28", className)} dir="rtl">
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className="pointer-events-none absolute left-1/2 top-1/2 -z-10 -translate-x-1/2 -translate-y-1/2"
|
||||
>
|
||||
<div className="h-44 w-[24rem] rounded-full bg-primary/10 blur-3xl md:h-52 md:w-[34rem] md:bg-primary/12" />
|
||||
</div>
|
||||
<div className="container mx-auto px-4 md:px-6">
|
||||
<div className="mx-auto max-w-6xl p-6 shadow-sm md:rounded-3xl md:p-10 lg:p-12">
|
||||
<div className="mx-auto max-w-4xl text-center">
|
||||
<p className="mb-3 text-caption font-medium text-primary">ویترین متفاوت، فروش متفاوت</p>
|
||||
<h2 className="text-heading-2 font-semibold text-foreground">
|
||||
برای انتخاب استند و دکور مناسب فروشگاهتان مشاوره بگیرید
|
||||
</h2>
|
||||
<p className="mx-auto mt-4 max-w-2xl text-body text-muted-foreground">
|
||||
کارشناسان مستر دکور با بررسی فضای فروشگاه، نوع محصولات و سبک برند شما، بهترین ترکیب استند و ملزومات ویترین را
|
||||
پیشنهاد می دهند تا مشتری در نگاه اول کیفیت شما را حس کند.
|
||||
</p>
|
||||
|
||||
<div className="mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row sm:gap-4">
|
||||
<Button asChild size="lg" variant="primary" className="w-full sm:w-auto">
|
||||
<Link href="/consultation">
|
||||
دریافت مشاوره و استعلام قیمت
|
||||
<ArrowRight className="ms-2 size-4" />
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Cta6 };
|
||||
@@ -0,0 +1,40 @@
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Mail, SendHorizonal } from 'lucide-react'
|
||||
|
||||
export default function CallToAction3() {
|
||||
return (
|
||||
<section className="py-16 md:py-24 lg:py-32">
|
||||
<div className="mx-auto max-w-5xl px-6">
|
||||
<div className="text-center">
|
||||
<h2 className="text-heading-2 text-balance font-semibold">Start Building</h2>
|
||||
<p className="mt-4">Libero sapiente aliquam quibusdam aspernatur.</p>
|
||||
|
||||
<form
|
||||
action=""
|
||||
className="mx-auto mt-10 max-w-sm lg:mt-12">
|
||||
<div className="bg-background has-[input:focus]:ring-muted relative grid grid-cols-[1fr_auto] items-center rounded-[calc(var(--radius)+0.75rem)] border border-border pr-3 shadow-sm has-[input:focus]:ring-2">
|
||||
<Mail className="text-caption pointer-events-none absolute inset-y-0 left-5 my-auto size-5" />
|
||||
|
||||
<input
|
||||
placeholder="Your mail address"
|
||||
className="h-14 w-full bg-transparent pl-12 focus:outline-none"
|
||||
type="email"
|
||||
/>
|
||||
|
||||
<div className="md:pr-1.5 lg:pr-0">
|
||||
<Button variant="primary" aria-label="submit">
|
||||
<span className="hidden md:block">Get Started</span>
|
||||
<SendHorizonal
|
||||
className="relative mx-auto size-5 md:hidden"
|
||||
strokeWidth={2}
|
||||
/>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import { Button } from '@/components/ui/button'
|
||||
import Link from 'next/link'
|
||||
|
||||
export default function CallToAction() {
|
||||
return (
|
||||
<section className="py-16">
|
||||
<div className="mx-auto max-w-5xl rounded-3xl border px-6 py-12 md:py-20 lg:py-32">
|
||||
<div className="text-center">
|
||||
<h2 className="text-heading-2 text-balance font-semibold">Start Building</h2>
|
||||
<p className="mt-4">Libero sapiente aliquam quibusdam aspernatur.</p>
|
||||
|
||||
<div className="mt-12 flex flex-wrap justify-center gap-4">
|
||||
<Button asChild size="lg" variant="primary">
|
||||
<Link href="/">
|
||||
<span>Get Started</span>
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild size="lg" variant="secondary">
|
||||
<Link href="/consultation">
|
||||
<span>درخواست مشاوره</span>
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
'use client'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import Link from 'next/link'
|
||||
import { useContent } from '@/components/layout/content-provider'
|
||||
|
||||
export default function CtaHome() {
|
||||
const content = useContent()
|
||||
const { ctaHome } = content.pages.home
|
||||
|
||||
return (
|
||||
<section id="mozakerat" className="py-12 md:py-16 lg:py-20 border-t border-border/50">
|
||||
<div className="mx-auto max-w-5xl rounded-3xl border border-border bg-card px-6 py-10 md:py-16 lg:py-20 dark:border-primary/20 dark:bg-card/50 hover:border-primary/30 dark:hover:border-primary/30 transition-colors">
|
||||
<div className="text-center">
|
||||
<h2 className="text-heading-2 text-balance font-semibold">{ctaHome.heading}</h2>
|
||||
<p className="text-body mt-4 leading-relaxed text-muted-foreground">{ctaHome.description}</p>
|
||||
|
||||
<div className="mt-12 flex flex-wrap justify-center gap-4">
|
||||
<Button asChild size="lg" variant="primary">
|
||||
<Link href="/consultation">
|
||||
<span>{ctaHome.primaryButton}</span>
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild size="lg" variant="secondary">
|
||||
<Link href="/consultation">
|
||||
<span>{ctaHome.secondaryButton}</span>
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import Link from "next/link";
|
||||
|
||||
interface CtaProductFinalProps {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export default function CtaProductFinal({ className }: CtaProductFinalProps) {
|
||||
return (
|
||||
<section className={cn("py-16 md:py-24 lg:py-32", className)}>
|
||||
<div className="container mx-auto max-w-4xl px-6">
|
||||
<div className="flex flex-col items-center text-center space-y-8 p-8 rounded-2xl bg-card border border-border shadow-sm">
|
||||
<p className="text-body leading-relaxed text-muted-foreground">
|
||||
اگر حجم معاملات شما بالاست و به دنبال کاهش تماسهای غیرضروری و مدیریت دقیق حسابها هستید،
|
||||
برای دریافت معرفی کامل سامانه با ما در تماس باشید.
|
||||
</p>
|
||||
<Button asChild size="lg" variant="primary">
|
||||
<Link href="/consultation">
|
||||
درخواست جلسه تخصصی
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
|
||||
interface CtaProductProps {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const CtaProduct = ({ className }: CtaProductProps) => {
|
||||
return (
|
||||
<section className={cn("py-32", className)}>
|
||||
<div className="container mx-auto">
|
||||
<div>
|
||||
<p className="text-center text-sm">Transform your business today.</p>
|
||||
<div className="mt-4 flex items-center justify-between gap-4">
|
||||
<Separator className="shrink" />
|
||||
<Button size="lg" variant="primary">Get Started</Button>
|
||||
<Separator className="shrink" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { CtaProduct };
|
||||
Reference in New Issue
Block a user