'use client'; import type { HTMLAttributes } from 'react'; import Image from 'next/image'; import Link from 'next/link'; import { FaXTwitter } from 'react-icons/fa6'; import { LiaDiscord } from 'react-icons/lia'; import { LuGithub } from 'react-icons/lu'; import LogoImage from '@documenso/assets/logo.png'; import { cn } from '@documenso/ui/lib/utils'; import { ThemeSwitcher } from '@documenso/ui/primitives/theme-switcher'; export type FooterProps = HTMLAttributes; const SOCIAL_LINKS = [ { href: 'https://twitter.com/documenso', icon: }, { href: 'https://github.com/documenso/documenso', icon: }, { href: 'https://documen.so/discord', icon: }, ]; const FOOTER_LINKS = [ { href: '/pricing', text: 'Pricing' }, { href: '/singleplayer', text: 'Singleplayer' }, { href: '/blog', text: 'Blog' }, { href: '/design-system', text: 'Design' }, { href: '/open', text: 'Open Startup' }, { href: 'https://shop.documenso.com', text: 'Shop', target: '_blank' }, { href: 'https://status.documenso.com', text: 'Status', target: '_blank' }, { href: 'mailto:support@documenso.com', text: 'Support', target: '_blank' }, { href: '/oss-friends', text: 'OSS Friends' }, { href: '/careers', text: 'Careers' }, { href: '/privacy', text: 'Privacy' }, ]; export const Footer = ({ className, ...props }: FooterProps) => { return (
Documenso Logo
{SOCIAL_LINKS.map((link, index) => ( {link.icon} ))}
{FOOTER_LINKS.map((link, index) => ( {link.text} ))}

© {new Date().getFullYear()} Documenso, Inc. All rights reserved.

); };