import { Settings, ArrowUpCircle } from 'lucide-react'; import type { TFunction } from 'i18next'; import type { ReleaseInfo } from '../../../../types/sharedTypes'; const DISCORD_INVITE_URL = 'https://discord.gg/buxwujPNRE'; function DiscordIcon({ className }: { className?: string }) { return ( ); } type SidebarFooterProps = { updateAvailable: boolean; releaseInfo: ReleaseInfo | null; latestVersion: string | null; onShowVersionModal: () => void; onShowSettings: () => void; t: TFunction; }; export default function SidebarFooter({ updateAvailable, releaseInfo, latestVersion, onShowVersionModal, onShowSettings, t, }: SidebarFooterProps) { return (
{/* Update banner */} {updateAvailable && ( <>
{/* Desktop update */}
{/* Mobile update */}
)} {/* Discord + Settings */}
{/* Desktop Discord */}
{t('actions.joinCommunity')}
{/* Desktop settings */}
{/* Mobile Discord */}
{t('actions.joinCommunity')}
{/* Mobile settings */}
); }