import { Tooltip, TooltipArrow, TooltipContent, TooltipTrigger, } from '@janhq/uikit' import { useAtomValue } from 'jotai' import { FaGithub, FaDiscord } from 'react-icons/fa' import DownloadingState from '@/containers/Layout/BottomBar/DownloadingState' import CommandListDownloadedModel from '@/containers/Layout/TopBar/CommandListDownloadedModel' import ProgressBar from '@/containers/ProgressBar' import { appDownloadProgress } from '@/containers/Providers/Jotai' import SystemMonitor from './SystemMonitor' const menuLinks = [ { name: 'Discord', icon: , link: 'https://discord.gg/FTk2MvZwJH', }, { name: 'Github', icon: , link: 'https://github.com/janhq/jan', }, ] const BottomBar = () => { const progress = useAtomValue(appDownloadProgress) return (
{progress && progress > 0 ? ( ) : null}
{/* VERSION is defined by webpack, please see next.config.js */} Jan v{VERSION ?? ''}
{menuLinks .filter((link) => !!link) .map((link, i) => (
{link.icon} {link.name}
))}
) } export default BottomBar