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

48 lines
1.9 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={
2021-07-02 20:55:26 +02:00
<Card step="§" heading={t('common:imprint')} 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>Marvin Sextro</p>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('imprint:contact')}</p>
<p>
<a href="mailto:covidpass@marvinsextro.de" className="underline">covidpass@marvinsextro.de</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;