import { useTranslation } from '@shared/i18n/react' import { Link } from 'react-router' import { GITHUB_REPO } from '@features/download/api' import { LanguageSwitch } from '../i18n/LanguageSwitch' export function Footer() { const { t } = useTranslation('common') const product = [ { to: '/showcase', label: t('nav.showcase') }, { to: '/configs', label: t('nav.myConfigs') }, { to: '/themes', label: t('nav.themes') }, ] const project: { label: string; to?: string; href?: string }[] = [ { href: `https://github.com/${GITHUB_REPO}`, label: t('footer.github') }, // In-site: the download page is where both download paths (ours + GitHub) live. { to: '/download', label: t('footer.download') }, ] return ( ) }