mirror of
https://github.com/covidpass-org/covidpass.git
synced 2025-02-16 11:41:19 +01:00
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 {Result} from "@zxing/library";
|
||||
import {useTranslation} from 'next-i18next';
|
||||
import Link from 'next/link';
|
||||
|
||||
import Card from "./Card";
|
||||
import Alert from "./Alert";
|
||||
@ -203,18 +204,22 @@ function Form(): JSX.Element {
|
||||
<Card step="3" heading={t('index:addToWallet')} content={
|
||||
<div className="space-y-5">
|
||||
<p>
|
||||
{t('index:dataPrivacyDescription')}
|
||||
<a href="/privacy">
|
||||
{t('index:privacyPolicy')}
|
||||
</a>.
|
||||
{t('index:dataPrivacyDescription')}
|
||||
<Link href="/privacy">
|
||||
<a>
|
||||
{t('index:privacyPolicy')}
|
||||
</a>
|
||||
</Link>.
|
||||
</p>
|
||||
<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"/>
|
||||
<p>
|
||||
{t('index:iAcceptThe')}
|
||||
<a href="/privacy" className="underline">
|
||||
{t('index:privacyPolicy')}
|
||||
</a>
|
||||
<Link href="/privacy">
|
||||
<a className="underline">
|
||||
{t('index:privacyPolicy')}
|
||||
</a>
|
||||
</Link>.
|
||||
</p>
|
||||
</label>
|
||||
<div className="flex flex-row items-center justify-start">
|
||||
|
@ -1,6 +1,6 @@
|
||||
iosHint: Bitte verwende unter iOS den Safari Browser.
|
||||
errorClose: Schließen
|
||||
selectCertificate: Zertifikate auswählen
|
||||
selectCertificate: Zertifikat auswählen
|
||||
selectCertificateDescription: |
|
||||
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.
|
||||
|
@ -1,6 +1,6 @@
|
||||
title: CovidPass
|
||||
subtitle: Add your EU Digital Covid Vaccination Certificates to your favorite wallet apps.
|
||||
privacyPolicy: Privacy Policy
|
||||
donate: Donate
|
||||
donate: Sponsor
|
||||
gitHub: GitHub
|
||||
imprint: Imprint
|
Loading…
x
Reference in New Issue
Block a user