import { Facebook, Instagram, Linkedin, Twitter } from 'lucide-react'; import React from 'react'; interface Footer7Props { logo?: { url: string; src: string; alt: string; title: 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: 'Product', links: [ { name: 'Overview', href: '#' }, { name: 'Pricing', href: '#' }, { name: 'Marketplace', href: '#' }, { name: 'Features', href: '#' }, ], }, { title: 'Company', links: [ { name: 'About', href: '#' }, { name: 'Team', href: '#' }, { name: 'Blog', href: '#' }, { name: 'Careers', href: '#' }, ], }, { title: 'Resources', links: [ { name: 'Help', href: '#' }, { name: 'Sales', href: '#' }, { name: 'Advertise', href: '#' }, { name: 'Privacy', href: '#' }, ], }, ]; const defaultSocialLinks = [ { icon: , href: '#', label: 'Instagram' }, { icon: , href: '#', label: 'Facebook' }, { icon: , href: '#', label: 'Twitter' }, { icon: , href: '#', label: 'LinkedIn' }, ]; const defaultLegalLinks = [ { name: 'Terms and Conditions', href: '#' }, { name: 'Privacy Policy', href: '#' }, ]; const Footer = ({ logo = { url: '#', src: 'https://deifkwefumgah.cloudfront.net/shadcnblocks/block/logos/shadcnblockscom-icon.svg', alt: 'logo', title: 'Shadcnblocks.com', }, sections = defaultSections, description = 'A collection of components for your startup business or side project.', socialLinks = defaultSocialLinks, copyright = '© 2024 All rights reserved.', legalLinks = defaultLegalLinks, }: Footer7Props) => { return (
{/* Logo */}

{description}

{sections.map((section, sectionIdx) => (

{section.title}

    {section.links.map((link, linkIdx) => (
  • {link.name}
  • ))}
))}

{copyright}

); }; export { Footer };