Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,151 @@
|
||||
import { FaDiscord, FaTwitter } from "react-icons/fa";
|
||||
|
||||
import {
|
||||
Logo,
|
||||
LogoImageDesktop,
|
||||
LogoImageMobile,
|
||||
} from "@/components/shadcnblocks/logo";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
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: "#" },
|
||||
{ name: "حریم خصوصی", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "منابع",
|
||||
links: [
|
||||
{ name: "راهنما", href: "#" },
|
||||
{ name: "فروش", href: "#" },
|
||||
{ name: "تبلیغات", href: "#" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
interface Footer4Props {
|
||||
logo?: {
|
||||
url: string;
|
||||
src: string;
|
||||
alt: string;
|
||||
title: string;
|
||||
srcMobile: string;
|
||||
};
|
||||
className?: string;
|
||||
}
|
||||
const Footer4 = ({
|
||||
logo = {
|
||||
url: "https://www.ShadcnBlocks",
|
||||
src: "/block-media/shadcnblocks/block/logos/ShadcnBlocks-logo-word.svg",
|
||||
srcMobile:
|
||||
"/block-media/shadcnblocks/block/logos/ShadcnBlocks-logo.svg",
|
||||
alt: "لوگو",
|
||||
title: "ShadcnBlocks",
|
||||
},
|
||||
className,
|
||||
}: Footer4Props) => {
|
||||
return (
|
||||
<section className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<footer>
|
||||
<div className="grid grid-cols-2 gap-8 lg:grid-cols-6">
|
||||
<div className="col-span-2 flex h-full items-center justify-between md:items-start lg:col-span-3 lg:flex-col">
|
||||
<Logo url="https://ShadcnBlocks">
|
||||
<LogoImageDesktop
|
||||
src={logo.src}
|
||||
alt={logo.alt}
|
||||
title={logo.title}
|
||||
className="h-9"
|
||||
/>
|
||||
<LogoImageMobile
|
||||
src={logo.srcMobile}
|
||||
alt={logo.alt}
|
||||
title={logo.title}
|
||||
className="h-8"
|
||||
/>
|
||||
</Logo>
|
||||
<ul className="flex items-center gap-6 text-muted-foreground">
|
||||
<li className="font-medium hover:text-primary">
|
||||
<a href="#">
|
||||
<FaDiscord className="size-6" />
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li className="font-medium hover:text-primary">
|
||||
<a href="#">
|
||||
<FaTwitter className="size-6" />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<Separator className="col-span-2 my-6 lg:hidden" />
|
||||
{sections.map((section, sectionIdx) => (
|
||||
<div key={sectionIdx}>
|
||||
<h3 className="mb-4 font-bold">{section.title}</h3>
|
||||
<ul className="space-y-4 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>
|
||||
<Separator className="my-14 lg:my-20" />
|
||||
<div className="flex flex-col justify-between gap-8 lg:flex-row lg:items-center">
|
||||
<div>
|
||||
<p className="mb-2 text-3xl font-semibold lg:text-xl">
|
||||
در خبرنامه ما عضو شوید
|
||||
</p>
|
||||
<p className="text-muted-foreground">
|
||||
از اخبار، ویژگیها و بهروزرسانیهای اختصاصی باخبر شوید.
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex w-full max-w-sm items-center gap-2">
|
||||
<Input type="email" placeholder="ایمیل" />
|
||||
<Button type="submit">عضویت</Button>
|
||||
</div>
|
||||
</div>
|
||||
<Separator className="my-14 lg:my-20" />
|
||||
<div className="flex flex-col justify-between gap-4 text-sm font-medium text-muted-foreground md:flex-row md:items-center">
|
||||
<ul className="flex gap-4">
|
||||
<li className="underline hover:text-primary">
|
||||
<a href="#"> شرایط و ضوابط</a>
|
||||
</li>
|
||||
<li className="underline hover:text-primary">
|
||||
<a href="#"> حریم خصوصی</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p>© ۲۲۴ ری یو آی. تمامی حقوق محفوظ است.</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Footer4 };
|
||||
Reference in New Issue
Block a user