'use client' import Link from 'next/link' import Image from 'next/image' import { GithubIcon, TwitterIcon } from '@ciphera-net/ui' import SwissFlagIcon from './SwissFlagIcon' interface FooterProps { LinkComponent?: any appName?: string isAuthenticated?: boolean } const footerLinks = { products: [ { name: 'Drop', href: 'https://drop.ciphera.net', external: true }, { name: 'Pulse', href: 'https://pulse.ciphera.net', external: true }, { name: 'Ciphera Auth', href: 'https://ciphera.net/products#auth', external: true }, { name: 'Ciphera Captcha', href: 'https://ciphera.net/products#captcha', external: true }, { name: 'Ciphera Relay', href: 'https://ciphera.net/products#relay', external: true }, ], company: [ { name: 'Features', href: '/features', external: false }, { name: 'About', href: '/about', external: false }, { name: 'Pricing', href: '/pricing', external: false }, { name: 'Contact', href: 'https://ciphera.net/contact', external: true }, ], resources: [ { name: 'Changelog', href: '/changelog', external: false }, { name: 'Installation', href: '/installation', external: false }, { name: 'Integrations', href: '/integrations', external: false }, { name: 'Documentation', href: 'https://docs.ciphera.net', external: true }, { name: 'Status', href: 'https://status.ciphera.net', external: true }, { name: 'GitHub', href: 'https://github.com/ciphera-net', external: true }, ], legal: [ { name: 'Privacy Policy', href: 'https://ciphera.net/#privacy', external: true }, { name: 'Terms of Service', href: 'https://ciphera.net/#terms', external: true }, ], } export function Footer({ LinkComponent = Link, appName = 'Pulse', isAuthenticated = false }: FooterProps) { const Component = LinkComponent const year = new Date().getFullYear() // * Simple footer for authenticated users if (isAuthenticated) { return ( ) } // * Comprehensive footer for unauthenticated users return ( ) }