27 lines
607 B
TypeScript
27 lines
607 B
TypeScript
|
import clsx from 'clsx';
|
||
|
import { Trans, useTranslation } from 'next-i18next';
|
||
|
|
||
|
type Props = {
|
||
|
className?: string;
|
||
|
};
|
||
|
|
||
|
const Footer: React.FC<Props> = ({ className }) => {
|
||
|
const { t } = useTranslation();
|
||
|
|
||
|
return (
|
||
|
<footer className={clsx('text-xs', className)}>
|
||
|
<p>{t('common.footer.license')}</p>
|
||
|
<p>
|
||
|
<Trans t={t} i18nKey="common.footer.credit">
|
||
|
A passion project by
|
||
|
<a href="https://www.amruthpillai.com/" target="_blank" rel="noreferrer">
|
||
|
Amruth Pillai
|
||
|
</a>
|
||
|
</Trans>
|
||
|
</p>
|
||
|
</footer>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default Footer;
|