mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: bring back legal pages
This commit is contained in:
20
inertia/components/legal/legal_footer.tsx
Normal file
20
inertia/components/legal/legal_footer.tsx
Normal 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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user