Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
import {
|
||||
FaDiscord,
|
||||
FaLinkedin,
|
||||
FaRedditAlien,
|
||||
FaTelegramPlane,
|
||||
FaTwitter,
|
||||
} from "react-icons/fa";
|
||||
|
||||
import { Logo, LogoImage, LogoText } from "@/components/shadcnblocks/logo";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Label } from "@/components/ui/label";
|
||||
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 Footer3Props {
|
||||
logo?: {
|
||||
url: string;
|
||||
src: string;
|
||||
alt: string;
|
||||
title: string;
|
||||
};
|
||||
className?: string;
|
||||
}
|
||||
const Footer3 = ({
|
||||
logo = {
|
||||
url: "https://www.ShadcnBlocks",
|
||||
src: "/block-media/shadcnblocks/block/logos/ShadcnBlockscom-icon.svg",
|
||||
alt: "لوگو",
|
||||
title: "ShadcnBlocks",
|
||||
},
|
||||
className,
|
||||
}: Footer3Props) => {
|
||||
return (
|
||||
<section className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<footer>
|
||||
<Logo url="https://ShadcnBlocks">
|
||||
<LogoImage
|
||||
src={logo.src}
|
||||
alt={logo.alt}
|
||||
title={logo.title}
|
||||
className="h-10"
|
||||
/>
|
||||
<LogoText className="text-xl">{logo.title}</LogoText>
|
||||
</Logo>
|
||||
<div className="mt-14 grid gap-8 md:grid-cols-2 lg:grid-cols-5 xl:grid-cols-4">
|
||||
{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 className="lg:col-span-2 xl:col-span-1">
|
||||
<ul className="mb-10 flex items-center gap-2 text-muted-foreground">
|
||||
<li className="font-medium">
|
||||
<a href="#">
|
||||
<span className="flex size-12 items-center justify-center rounded-full bg-muted transition-colors hover:text-primary">
|
||||
<FaDiscord className="size-6" />
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li className="font-medium">
|
||||
<a href="#">
|
||||
<span className="flex size-12 items-center justify-center rounded-full bg-muted transition-colors hover:text-primary">
|
||||
<FaRedditAlien className="size-6" />
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li className="font-medium">
|
||||
<a href="#">
|
||||
<span className="flex size-12 items-center justify-center rounded-full bg-muted transition-colors hover:text-primary">
|
||||
<FaTwitter className="size-6" />
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li className="font-medium">
|
||||
<a href="#">
|
||||
<span className="flex size-12 items-center justify-center rounded-full bg-muted transition-colors hover:text-primary">
|
||||
<FaTelegramPlane className="size-6" />
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li className="font-medium">
|
||||
<a href="#">
|
||||
<span className="flex size-12 items-center justify-center rounded-full bg-muted transition-colors hover:text-primary">
|
||||
<FaLinkedin className="size-6" />
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div className="grid w-full max-w-sm items-center gap-1.5">
|
||||
<Label htmlFor="email">در خبرنامه ما عضو شوید</Label>
|
||||
<div className="flex w-full max-w-sm items-center gap-2">
|
||||
<Input type="email" placeholder="ایمیل" />
|
||||
<Button type="submit">عضویت</Button>
|
||||
</div>
|
||||
<p className="mt-1 text-xs text-muted-foreground">
|
||||
با ارسال،{" "}
|
||||
<a href="#" className="text-primary hover:underline">
|
||||
حریم خصوصی
|
||||
</a>{" "}
|
||||
ما را میپذیرید.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mt-24 flex flex-col flex-wrap justify-between gap-4 border-t pt-8 text-sm font-medium text-muted-foreground md:flex-row md:items-center">
|
||||
<p>© ۲۲۴ ری یو آی. تمامی حقوق محفوظ است.</p>
|
||||
<ul className="flex gap-4">
|
||||
<li className="whitespace-nowrap underline hover:text-primary">
|
||||
<a href="#">شرایط و ضوابط</a>
|
||||
</li>
|
||||
<li className="whitespace-nowrap underline hover:text-primary">
|
||||
<a href="#">حریم خصوصی</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Footer3 };
|
||||
Reference in New Issue
Block a user