Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,131 @@
|
||||
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: "لوگو",
|
||||
title: "ShadcnBlocks",
|
||||
},
|
||||
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="لوگوی ری یو آی"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Footer11 };
|
||||
Reference in New Issue
Block a user