132 lines
3.9 KiB
TypeScript
132 lines
3.9 KiB
TypeScript
import { Instagram, Linkedin, Twitter } from "lucide-react";
|
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const sections = [
|
|
{
|
|
title: "محصول",
|
|
links: [
|
|
{ name: "فرمهای جذب سرنخ", href: "#" },
|
|
{ name: "قیمتگذاری", href: "#" },
|
|
{ name: "فرودگاهها", href: "#" },
|
|
{ name: "امتیازدهی سرنخ", href: "#" },
|
|
],
|
|
},
|
|
{
|
|
title: "شرکت",
|
|
links: [
|
|
{ name: "تماس با فروش", href: "#" },
|
|
{ name: "سوالات متداول", href: "#" },
|
|
{ name: "راهنمای جذب مشتری", href: "#" },
|
|
{ name: "مطالعات موردی", href: "#" },
|
|
],
|
|
},
|
|
{
|
|
title: "حقوقی",
|
|
links: [
|
|
{ name: "شرایط و ضوابط", href: "#" },
|
|
{ name: "حریم خصوصی", href: "#" },
|
|
],
|
|
},
|
|
];
|
|
|
|
interface Footer11Props {
|
|
logo?: {
|
|
url: string;
|
|
src: string;
|
|
alt: string;
|
|
title: string;
|
|
};
|
|
className?: string;
|
|
}
|
|
const Footer11 = ({
|
|
logo = {
|
|
url: "https://www.ShadcnBlocks",
|
|
src: "/block-media/shadcnblocks/block/logos/ShadcnBlockscom-icon.svg",
|
|
alt: "لوگوی LeadMagnet",
|
|
title: "LeadMagnet",
|
|
},
|
|
className,
|
|
}: Footer11Props) => {
|
|
return (
|
|
<section className={cn("py-16 md:py-24 lg:py-32", className)}>
|
|
<div className="container">
|
|
<div className="flex flex-col items-start justify-between gap-8 py-4 md:flex-row lg:py-8">
|
|
{/* Logo */}
|
|
<div className="w-full md:w-auto">
|
|
<a href={logo.url} className="flex items-center gap-2">
|
|
<img
|
|
src={logo.src}
|
|
alt={logo.alt}
|
|
title={logo.title}
|
|
className="h-8"
|
|
/>
|
|
<h2 className="text-lg font-semibold">{logo.title}</h2>
|
|
</a>
|
|
</div>
|
|
|
|
{/* Menu */}
|
|
<div className="w-full md:w-auto">
|
|
<div className="grid grid-cols-2 gap-8 sm:grid-cols-4 md:flex md:gap-12 lg:gap-16">
|
|
{sections.map((section, sectionIdx) => (
|
|
<div key={sectionIdx} className="min-w-[120px]">
|
|
<h3 className="text-muted-foreground-subtle text-sm font-semibold">
|
|
{section.title}
|
|
</h3>
|
|
<ul className="mt-4 space-y-3 text-sm">
|
|
{section.links.map((link, linkIdx) => (
|
|
<li key={linkIdx} className="hover:text-primary">
|
|
<a href={link.href}>{link.name}</a>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</div>
|
|
))}
|
|
|
|
<div>
|
|
<h3 className="text-muted-foreground-subtle text-sm font-semibold">
|
|
شبکههای اجتماعی
|
|
</h3>
|
|
|
|
<div className="text-muted-foreground-subtle mt-4 flex gap-4">
|
|
<a
|
|
href="https://instagram.com"
|
|
aria-label="اینستاگرام"
|
|
className="hover:text-primary"
|
|
>
|
|
<Instagram size={20} />
|
|
</a>
|
|
<a
|
|
href="https://twitter.com"
|
|
aria-label="توییتر"
|
|
className="hover:text-primary"
|
|
>
|
|
<Twitter size={20} />
|
|
</a>
|
|
<a
|
|
href="https://Linkedin.com"
|
|
aria-label="لینکدین"
|
|
className="hover:text-primary"
|
|
>
|
|
<Linkedin size={20} />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div className="mt-12 md:mt-16">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/ShadcnBlocks-giant-text.png"
|
|
className="w-full"
|
|
alt="لوگوی LeadMagnet"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Footer11 };
|