52 lines
2.1 KiB
TypeScript
52 lines
2.1 KiB
TypeScript
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 {
|
|
const { t } = useTranslation(['common', 'index', 'imprint']);
|
|
|
|
return (
|
|
<Page content={
|
|
<Card step="§" heading={t('common:faq')} content={
|
|
<div className="space-y-3">
|
|
<p className="font-bold">{t('imprint:heading')}</p>
|
|
<p>
|
|
Marvin Sextro<br />
|
|
Wilhelm-Busch-Str. 8A<br />
|
|
30167 Hannover<br />
|
|
</p>
|
|
<p className="font-bold">{t('imprint:contact')}</p>
|
|
<p>
|
|
<a href="mailto:marvin.sextro@gmail.com" className="underline">marvin.sextro@gmail.com</a>
|
|
</p>
|
|
<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>
|
|
{t('imprint:creditsSource')}
|
|
<br />
|
|
{t('imprint:creditsTranslation')}
|
|
</p>
|
|
</div>
|
|
}/>
|
|
}/>
|
|
)
|
|
}
|
|
|
|
export async function getStaticProps({ locale }) {
|
|
return {
|
|
props: {
|
|
...(await serverSideTranslations(locale, ['index', 'imprint', 'common']))
|
|
}
|
|
}
|
|
}
|
|
|
|
export default Imprint; |