/* eslint-disable max-lines */ /* eslint-disable @typescript-eslint/naming-convention */ import { useTranslation } from 'react-i18next'; import { Box, Button, Grid, styled, Typography } from '@mui/joy'; import GitHubIcon from '@mui/icons-material/GitHub'; import RedditIcon from '@mui/icons-material/Reddit'; import TelegramIcon from '@mui/icons-material/Telegram'; import TwitterIcon from '@mui/icons-material/Twitter'; import { LogoIcon } from '@toeverything/components/icons'; import { DiscordIcon, GitHub } from '../Icons'; // import LogoImage from '../logo.png'; // import { AFFiNEImage } from './index'; export const AFFiNEFooter = ({ keepupdate = true, }: { keepupdate?: boolean; }) => { const { t } = useTranslation(); return ( <> {keepupdate ? ( <> {/* */} {t('BuildFor')} {t('KeepUpdated')} ) : null} {t('Join')} AFFiNE is an #OpenSource software, built with  BlockSuite Copyright © 2022 Toeverything ); }; const StyledLink = styled('a')({ fontWeight: '900', color: '#000', textDecoration: 'none', '&:hover': { textDecoration: 'underline', }, });