import { FaDiscord, FaGithub, FaXTwitter } from "react-icons/fa6"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; interface SocialLink { icon: React.ReactNode; url: string; label: string; } interface Community1Props { logo?: string; heading?: string; headingHighlight?: string; socialLinks?: SocialLink[]; className?: string; } const Community1 = ({ logo = "/block-media/shadcnblocks/block/block-1.svg", heading = "در جامعه ما عضو شوید", headingHighlight = "شبکهای از متخصصان، طراحان و توسعهدهندگان پیشرو", socialLinks = [ { icon: , url: "https://x.com/ShadcnBlocks", label: "در X همراه ما باشید", }, { icon: , url: "https://github.com/ShadcnBlocks", label: "پروژههای ما را در گیتهاب دنبال کنید", }, { icon: , url: "#", label: "به جمع ما در دیسکورد بپیوندید", }, ], className, }: Community1Props) => { return ( {heading} {headingHighlight} {socialLinks.map((link, index) => ( {link.icon} ))} ); }; export { Community1 };