covidpass-greenpass-su-ipho.../pages/imprint.tsx

52 lines
2.1 KiB
TypeScript
Raw Normal View History

2021-07-02 20:55:26 +02:00
import {useTranslation} from 'next-i18next';
import {serverSideTranslations} from 'next-i18next/serverSideTranslations';
import Page from '../components/Page'
import Card from '../components/Card'
function Imprint(): JSX.Element {
2021-07-02 20:55:26 +02:00
const { t } = useTranslation(['common', 'index', 'imprint']);
return (
<Page content={
<Card step="§" heading={t('common:faq')} content={
2021-07-27 03:09:51 +02:00
<div className="space-y-3">
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('imprint:heading')}</p>
<p>
2021-07-02 20:55:26 +02:00
Marvin Sextro<br />
Wilhelm-Busch-Str. 8A<br />
30167 Hannover<br />
</p>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('imprint:contact')}</p>
<p>
2021-07-02 20:55:26 +02:00
<a href="mailto:marvin.sextro@gmail.com" className="underline">marvin.sextro@gmail.com</a>
</p>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('imprint:euDisputeResolution')}</p>
<p>{t('imprint:euDisputeResolutionParagraph')}</p>
<p className="font-bold">{t('imprint:consumerDisputeResolution')}</p>
<p>{t('imprint:consumerDisputeResolutionParagraph')}</p>
<p className="font-bold">{t('imprint:liabilityForContents')}</p>
<p>{t('imprint:liabilityForContentsParagraph')}</p>
<p className="font-bold">{t('imprint:liabilityForLinks')}</p>
<p>{t('imprint:liabilityForLinksParagraph')}</p>
<p className="font-bold">{t('imprint:credits')}</p>
<p>
2021-07-02 20:55:26 +02:00
{t('imprint:creditsSource')}
<br />
{t('imprint:creditsTranslation')}
</p>
</div>
}/>
}/>
)
}
2021-07-03 11:59:59 +02:00
export async function getStaticProps({ locale }) {
2021-07-02 20:55:26 +02:00
return {
props: {
...(await serverSideTranslations(locale, ['index', 'imprint', 'common']))
}
}
}
export default Imprint;