Use routed links
This commit is contained in:
parent
935e6f8227
commit
d37d6f8f55
|
@ -3,6 +3,7 @@ import React, {FormEvent, useEffect, useRef, useState} from "react";
|
||||||
import {BrowserQRCodeReader} from "@zxing/browser";
|
import {BrowserQRCodeReader} from "@zxing/browser";
|
||||||
import {Result} from "@zxing/library";
|
import {Result} from "@zxing/library";
|
||||||
import {useTranslation} from 'next-i18next';
|
import {useTranslation} from 'next-i18next';
|
||||||
|
import Link from 'next/link';
|
||||||
|
|
||||||
import Card from "./Card";
|
import Card from "./Card";
|
||||||
import Alert from "./Alert";
|
import Alert from "./Alert";
|
||||||
|
@ -203,18 +204,22 @@ function Form(): JSX.Element {
|
||||||
<Card step="3" heading={t('index:addToWallet')} content={
|
<Card step="3" heading={t('index:addToWallet')} content={
|
||||||
<div className="space-y-5">
|
<div className="space-y-5">
|
||||||
<p>
|
<p>
|
||||||
{t('index:dataPrivacyDescription')}
|
{t('index:dataPrivacyDescription')}
|
||||||
<a href="/privacy">
|
<Link href="/privacy">
|
||||||
{t('index:privacyPolicy')}
|
<a>
|
||||||
</a>.
|
{t('index:privacyPolicy')}
|
||||||
|
</a>
|
||||||
|
</Link>.
|
||||||
</p>
|
</p>
|
||||||
<label htmlFor="privacy" className="flex flex-row space-x-4 items-center">
|
<label htmlFor="privacy" className="flex flex-row space-x-4 items-center">
|
||||||
<input type="checkbox" id="privacy" value="privacy" required className="h-4 w-4"/>
|
<input type="checkbox" id="privacy" value="privacy" required className="h-4 w-4"/>
|
||||||
<p>
|
<p>
|
||||||
{t('index:iAcceptThe')}
|
{t('index:iAcceptThe')}
|
||||||
<a href="/privacy" className="underline">
|
<Link href="/privacy">
|
||||||
{t('index:privacyPolicy')}
|
<a className="underline">
|
||||||
</a>
|
{t('index:privacyPolicy')}
|
||||||
|
</a>
|
||||||
|
</Link>.
|
||||||
</p>
|
</p>
|
||||||
</label>
|
</label>
|
||||||
<div className="flex flex-row items-center justify-start">
|
<div className="flex flex-row items-center justify-start">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
iosHint: Bitte verwende unter iOS den Safari Browser.
|
iosHint: Bitte verwende unter iOS den Safari Browser.
|
||||||
errorClose: Schließen
|
errorClose: Schließen
|
||||||
selectCertificate: Zertifikate auswählen
|
selectCertificate: Zertifikat auswählen
|
||||||
selectCertificateDescription: |
|
selectCertificateDescription: |
|
||||||
Scanne den QR-Code auf Deinem Zertifikat oder wähle einen Screenshot oder eine PDF-Datei mit dem QR-Code.
|
Scanne den QR-Code auf Deinem Zertifikat oder wähle einen Screenshot oder eine PDF-Datei mit dem QR-Code.
|
||||||
Bitte beachte, dass die Auswahl einer Datei direkt von der Kamera nicht unterstützt wird.
|
Bitte beachte, dass die Auswahl einer Datei direkt von der Kamera nicht unterstützt wird.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
title: CovidPass
|
title: CovidPass
|
||||||
subtitle: Add your EU Digital Covid Vaccination Certificates to your favorite wallet apps.
|
subtitle: Add your EU Digital Covid Vaccination Certificates to your favorite wallet apps.
|
||||||
privacyPolicy: Privacy Policy
|
privacyPolicy: Privacy Policy
|
||||||
donate: Donate
|
donate: Sponsor
|
||||||
gitHub: GitHub
|
gitHub: GitHub
|
||||||
imprint: Imprint
|
imprint: Imprint
|
Loading…
Reference in New Issue