Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,146 @@
|
||||
import { FaFacebook, FaInstagram, FaLinkedin, FaTwitter } from "react-icons/fa";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const sections = [
|
||||
{
|
||||
title: "محصول",
|
||||
links: [
|
||||
{ name: "نمای کلی", href: "#" },
|
||||
{ name: "قیمتگذاری", href: "#" },
|
||||
{ name: "بازار", href: "#" },
|
||||
{ name: "ویژگیها", href: "#" },
|
||||
{ name: "یکپارچهسازیها", href: "#" },
|
||||
{ name: "بازاریابی", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "شرکت",
|
||||
links: [
|
||||
{ name: "درباره ما", href: "#" },
|
||||
{ name: "تیم", href: "#" },
|
||||
{ name: "وبلاگ", href: "#" },
|
||||
{ name: "فرصتهای شغلی", href: "#" },
|
||||
{ name: "تماس", href: "#" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
interface Footer8Props {
|
||||
logo?: {
|
||||
url: string;
|
||||
src: string;
|
||||
alt: string;
|
||||
title: string;
|
||||
};
|
||||
className?: string;
|
||||
}
|
||||
const Footer8 = ({
|
||||
logo = {
|
||||
url: "https://www.ShadcnBlocks",
|
||||
src: "/block-media/shadcnblocks/block/logos/ShadcnBlockscom-icon.svg",
|
||||
alt: "لوگو",
|
||||
title: "ShadcnBlocks",
|
||||
},
|
||||
className,
|
||||
}: Footer8Props) => {
|
||||
return (
|
||||
<section className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<footer>
|
||||
<div className="grid grid-cols-4 justify-between gap-10 lg:grid-cols-6 lg:text-start">
|
||||
<div className="col-span-4 flex w-full flex-col gap-6 lg:col-span-2">
|
||||
{/* Logo */}
|
||||
<div className="flex items-center gap-2 lg:justify-start">
|
||||
<a href="https://ShadcnBlocks">
|
||||
<img
|
||||
src={logo.src}
|
||||
alt={logo.alt}
|
||||
title={logo.title}
|
||||
className="h-8"
|
||||
/>
|
||||
</a>
|
||||
<h2 className="text-xl font-semibold">{logo.title}</h2>
|
||||
</div>
|
||||
<p className="text-muted-foreground">
|
||||
بیش از ۱۰۰ قالب استاندارد وب واکنشگرا برای کسبوکار نوپا یا پروژه جانبی
|
||||
شما.
|
||||
</p>
|
||||
<ul className="flex items-center gap-6">
|
||||
<li className="font-medium duration-200 hover:scale-110 hover:text-muted-foreground">
|
||||
<a href="#">
|
||||
<FaInstagram className="size-6" />
|
||||
</a>
|
||||
</li>
|
||||
<li className="font-medium duration-200 hover:scale-110 hover:text-muted-foreground">
|
||||
<a href="#">
|
||||
<FaFacebook className="size-6" />
|
||||
</a>
|
||||
</li>
|
||||
<li className="font-medium duration-200 hover:scale-110 hover:text-muted-foreground">
|
||||
<a href="#">
|
||||
<FaTwitter className="size-6" />
|
||||
</a>
|
||||
</li>
|
||||
<li className="font-medium duration-200 hover:scale-110 hover:text-muted-foreground">
|
||||
<a href="#">
|
||||
<FaLinkedin className="size-6" />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{sections.map((section, sectionIdx) => (
|
||||
<div key={sectionIdx} className="col-span-2 md:col-span-1">
|
||||
<h3 className="mb-5 font-medium">{section.title}</h3>
|
||||
<ul className="space-y-4 text-sm text-muted-foreground">
|
||||
{section.links.map((link, linkIdx) => (
|
||||
<li
|
||||
key={linkIdx}
|
||||
className="font-medium hover:text-primary"
|
||||
>
|
||||
<a href={link.href}>{link.name}</a>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
<div className="col-span-4 md:col-span-2">
|
||||
<h3 className="mb-5 font-medium">خبرنامه</h3>
|
||||
<div className="grid gap-1.5">
|
||||
<div className="flex w-full items-center gap-2">
|
||||
<Input type="email" placeholder="ایمیل" />
|
||||
<Button type="submit">عضویت</Button>
|
||||
</div>
|
||||
</div>
|
||||
<p className="mt-1 text-xs font-medium text-muted-foreground">
|
||||
با ارسال،{" "}
|
||||
<a href="#" className="text-primary hover:underline">
|
||||
حریم خصوصی
|
||||
</a>{" "}
|
||||
ما را میپذیرید.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mt-20 flex flex-col justify-between gap-4 border-t pt-8 text-sm font-medium text-muted-foreground lg:flex-row lg:items-center lg:text-start">
|
||||
<p>
|
||||
<span className="me-1 font-bold text-primary">
|
||||
ری یو آی
|
||||
</span>
|
||||
© تمامی حقوق محفوظ است.
|
||||
</p>
|
||||
<p>
|
||||
ساختهشده با ❤️ توسط{" "}
|
||||
<a href="https://x.com/ausrobdev" className="text-primary">
|
||||
@ausrobdev
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Footer8 };
|
||||
Reference in New Issue
Block a user