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

175 lines
8.4 KiB
TypeScript
Raw Permalink 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 Privacy(): JSX.Element {
2021-07-02 20:55:26 +02:00
const { t } = useTranslation(['common', 'index', 'privacy']);
return (
<Page content={
2021-07-02 20:55:26 +02:00
<Card step="i" heading={t('common:privacyPolicy')} content={
2021-07-27 03:09:51 +02:00
<div className="space-y-3">
2021-07-02 20:55:26 +02:00
<p>{t('privacy:gdprNotice')}</p>
2021-07-27 03:09:51 +02:00
<p className="font-bold text-lg">{t('privacy:generalInfo')}</p>
<div className="pl-6">
<ul className="list-disc">
2021-07-02 20:55:26 +02:00
<li>{t('privacy:generalInfoProcess')}</li>
<li>{t('privacy:generalInfoStoring')}</li>
<li>{t('privacy:generalInfoThirdParties')}</li>
<li>{t('privacy:generalInfoHttps')}</li>
<li>{t('privacy:generalInfoLocation')}</li>
<li>
{t('privacy:generalInfoGitHub')}
&nbsp;
<a href="https://github.com/marvinsxtr/covidpass" className="underline">
GitHub
</a>.
</li>
<li>
{t('privacy:generalInfoLockScreen')}
&nbsp;
<a href="https://support.apple.com/guide/iphone/control-access-information-lock-screen-iph9a2a69136/ios" className="underline">
{t('privacy:settings')}
</a>.
</li>
<li>
{t('privacy:generalInfoProvider')}
<a href="https://www.hetzner.com/de/rechtliches/datenschutz/" className="underline">
{t('privacy:privacyPolicy')}
</a>
2021-07-24 21:55:34 +02:00
&nbsp;
2021-07-02 20:55:26 +02:00
{t('privacy:andThe')}
&nbsp;
<a href="https://docs.hetzner.com/general/general-terms-and-conditions/data-privacy-faq/privacy.tsx" className="underline">
{t('privacy:dataPrivacyFaq')}
</a>.
</li>
</ul>
</div>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('privacy:contact')}</p>
<p>
Marvin Sextro
<br/>
2021-07-02 20:55:26 +02:00
{t('privacy:email')}:
&nbsp;
<a href="mailto:covidpass@marvinsextro.de" className="underline">covidpass@marvinsextro.de</a>
2021-07-02 20:55:26 +02:00
<br/>
{t('privacy:website')}:
&nbsp;
<a href="https://marvinsextro.de" className="underline">https://marvinsextro.de</a>
</p>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('privacy:process')}</p>
<p>{t('privacy:processFirst')}:</p>
2021-07-27 03:09:51 +02:00
<div className="pl-6">
<ul className="list-disc">
2021-07-02 20:55:26 +02:00
<li>{t('privacy:processRecognizing')}</li>
<li>{t('privacy:processDecoding')}</li>
<li>{t('privacy:processAssembling')}</li>
<li>{t('privacy:processGenerating')}</li>
<li>{t('privacy:processSending')}</li>
</ul>
</div>
2021-07-02 20:55:26 +02:00
<p>{t('privacy:processSecond')}:</p>
2021-07-27 03:09:51 +02:00
<div className="pl-6">
<ul className="list-disc">
2021-07-02 20:55:26 +02:00
<li>{t('privacy:processReceiving')}</li>
<li>{t('privacy:processSigning')}</li>
<li>{t('privacy:processSendingBack')}</li>
</ul>
</div>
2021-07-02 20:55:26 +02:00
<p>{t('privacy:processThird')}:</p>
2021-07-27 03:09:51 +02:00
<div className="px-5">
<ul className="list-disc">
2021-07-02 20:55:26 +02:00
<li>{t('privacy:processCompleting')}</li>
<li>{t('privacy:processSaving')}</li>
</ul>
</div>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('privacy:locallyProcessedData')}</p>
<p>
2021-07-02 20:55:26 +02:00
{t('privacy:the')}
&nbsp;
<a href="https://github.com/ehn-dcc-development/ehn-dcc-schema" className="underline">
{t('privacy:schema')}
</a>
&nbsp;
{t('privacy:specification')}
</p>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('privacy:serverProvider')}</p>
<p>{t('privacy:serverProviderIs')}</p>
<p>
2021-07-02 20:55:26 +02:00
<a href="https://www.hetzner.com/" className="underline">
Hetzner Online GmbH
</a>
<br />
Industriestr. 25<br />
91710 Gunzenhausen<br />
</p>
2021-07-02 20:55:26 +02:00
<p>{t('privacy:logFiles')}:</p>
2021-07-27 03:09:51 +02:00
<div className="pl-6">
<ul className="list-disc">
2021-07-02 20:55:26 +02:00
<li>{t('privacy:logFilesBrowser')}</li>
<li>{t('privacy:logFilesOs')}</li>
<li>{t('privacy:logFilesReferrer')}</li>
<li>{t('privacy:logFilesTime')}</li>
<li>{t('privacy:logFilesIpAddress')}</li>
</ul>
</div>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('privacy:rights')}</p>
<p>{t('privacy:rightsGranted')}:</p>
2021-07-27 03:09:51 +02:00
<div className="pl-6">
<ul className="list-disc">
2021-07-02 20:55:26 +02:00
<li>{t('privacy:rightsAccess')}</li>
<li>{t('privacy:rightsErasure')}</li>
<li>{t('privacy:rightsRectification')}</li>
<li>{t('privacy:rightsPortability')}</li>
</ul>
</div>
2021-07-02 20:55:26 +02:00
<p className="font-bold">{t('privacy:thirdParties')}</p>
2021-07-27 03:09:51 +02:00
<div className="pl-6">
<ul className="list-disc">
<li>
2021-07-02 20:55:26 +02:00
GitHub:
&nbsp;
<a href="https://docs.github.com/en/github/site-policy/github-privacy-statement" className="underline">
{t('common:privacyPolicy')}
</a>
</li>
<li>
Ko-fi:
2021-07-02 20:55:26 +02:00
&nbsp;
<a href="https://more.ko-fi.com/privacy" className="underline">
2021-07-02 20:55:26 +02:00
{t('common:privacyPolicy')}
</a>
</li>
<li>
2021-07-02 20:55:26 +02:00
Gmail/Google:
&nbsp;
<a href="https://policies.google.com/privacy?hl=en-US" className="underline">
{t('common:privacyPolicy')}
</a>
</li>
<li>
2021-07-02 20:55:26 +02:00
{t('privacy:appleSync')}:
&nbsp;
<a href="https://www.apple.com/legal/privacy/en-ww/privacy.tsx" className="underline">
{t('common:privacyPolicy')}
</a>
</li>
</ul>
</div>
</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', 'privacy', 'common'])),
},
};
}
export default Privacy;