import React from "react"; import { FaFacebook, FaInstagram, FaLinkedin, FaTwitter } from "react-icons/fa"; import { cn } from "@/lib/utils"; interface Footer7Props { logo?: { url: string; src: string; alt: string; title: string; }; className?: string; sections?: Array<{ title: string; links: Array<{ name: string; href: string }>; }>; description?: string; socialLinks?: Array<{ icon: React.ReactElement; href: string; label: string; }>; copyright?: string; legalLinks?: Array<{ name: string; href: string; }>; } const defaultSections = [ { 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: "#" }, { name: "مطالعات موردی", href: "#" }, { name: "حریم خصوصی", href: "#" }, ], }, ]; const defaultSocialLinks = [ { icon: , href: "#", label: "اینستاگرام" }, { icon: , href: "#", label: "فیسبوک" }, { icon: , href: "#", label: "توییتر" }, { icon: , href: "#", label: "لینکدین" }, ]; const defaultLegalLinks = [ { name: "شرایط و ضوابط", href: "#" }, { name: "حریم خصوصی", href: "#" }, ]; const Footer7 = ({ logo = { url: "https://www.ShadcnBlocks", src: "/block-media/shadcnblocks/block/logos/ShadcnBlockscom-icon.svg", alt: "لوگوی تیمهاوز", title: "TeamHaus", }, sections = defaultSections, description = "فضای کاری یکپارچه برای پروژهها، گفتوگوها و تحویل بهموقع.", socialLinks = defaultSocialLinks, copyright = "© ۱۴۰۴ TeamHaus. تمامی حقوق محفوظ است.", legalLinks = defaultLegalLinks, className, }: Footer7Props) => { return ( {/* Logo */} {logo.title} {description} {socialLinks.map((social, idx) => ( {social.icon} ))} {sections.map((section, sectionIdx) => ( {section.title} {section.links.map((link, linkIdx) => ( {link.name} ))} ))} {copyright} {legalLinks.map((link, idx) => ( {link.name} ))} ); }; export { Footer7 };
{description}
{copyright}