feat: bring back legal pages

This commit is contained in:
Sonny
2024-05-20 01:07:11 +02:00
committed by Sonny
parent e6803c174c
commit 3ff7619e94
16 changed files with 190 additions and 46 deletions

View File

@@ -0,0 +1,20 @@
import { useTranslation } from 'react-i18next';
import ExternalLink from '~/components/common/external_link';
export default function LegalFooter() {
const { t } = useTranslation('legal');
return (
<>
<h2>{t('contact.title')}</h2>
<p>
{t('contact.description')}{' '}
<ExternalLink href="mailto:sonnyasdev@gmail.com" target="_blank">
sonnyasdev[at]gmail[dot]com
</ExternalLink>
</p>
<p>{t('footer.changes')}</p>
<p css={{ marginBottom: '2em' }}>{t('footer.thanks')}</p>
</>
);
}