import * as React from 'react' import { cva, type VariantProps } from 'class-variance-authority' import { cn } from '@/lib/utils' const footerVariants = cva( 'border-t border-border bg-background font-sans', { variants: { variant: { minimal: 'py-8', full: 'py-12', }, }, defaultVariants: { variant: 'minimal', }, }, ) interface FooterLinkGroup { title: string links: { label: string; href: string }[] } interface FooterProps extends React.ComponentProps<'footer'>, VariantProps { logo?: React.ReactNode copyright?: React.ReactNode linkGroups?: FooterLinkGroup[] actions?: React.ReactNode } function Footer({ className, variant, logo, copyright, linkGroups, actions, children, ...props }: FooterProps) { if (variant === 'full' && linkGroups) { return ( ) } return ( ) } export { Footer, footerVariants }