import { StatusBadge } from '@/components/foundation/StatusBadge'; import { accountCreateUrl } from '@/lib/account-urls'; import { localizedModePath, type Locale } from '@/lib/localization/config'; import type { ShellMessages } from '@/lib/localization/messages'; import type { ThemePreference } from '@/lib/theme/config'; import Image from 'next/image'; import styles from './SiteFooter.module.css'; function signInUrl(locale: Locale, mode: ThemePreference): string { return localizedModePath('sign-in', locale, mode); } interface SiteFooterProps { locale: Locale; mode: ThemePreference; messages: ShellMessages; } function HashLink({ locale, mode, hash, children, }: { locale: Locale; mode: ThemePreference; hash: string; children: string; }) { return {children}; } function PendingRouteLink({ locale, mode, routeId, label, pending, }: { locale: Locale; mode: ThemePreference; routeId: 'sign-in' | 'forgot-password' | 'privacy' | 'terms' | 'accessibility'; label: string; pending: string; }) { return ( {label} {pending} ); } function PendingItem({ label, pending }: { label: string; pending: string }) { return ( {label} {pending} ); } export function SiteFooter({ locale, mode, messages }: SiteFooterProps) { const footer = messages.footer; const year = new Date().getUTCFullYear(); return ( ); }