/** * Footer Section * Footer text, copyright, and social links settings */ import { Label } from '@/components/ui/label'; import { Input } from '@/components/ui/input'; import { Textarea } from '@/components/ui/textarea'; import { Switch } from '@/components/ui/switch'; import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from '@/components/ui/collapsible'; import { ChevronDown, Footprints, Facebook, Twitter, Instagram, Linkedin, Youtube, } from 'lucide-react'; import { useState } from 'react'; import type { EmailFooter, EmailSocialLinks } from '../types'; interface FooterSectionProps { footer: EmailFooter; onUpdate: (updates: Partial) => void; } export function FooterSection({ footer, onUpdate }: FooterSectionProps) { const [isOpen, setIsOpen] = useState(false); const handleSocialLinkUpdate = (updates: Partial) => { onUpdate({ socialLinks: { ...footer.socialLinks, ...updates, }, }); }; return (
Footer
{/* Footer Text */}