diff --git a/components/Card.js b/components/Card.js index 43983bd..59d9b2f 100644 --- a/components/Card.js +++ b/components/Card.js @@ -1,21 +1,20 @@ export default Card -function Card({heading, content, step}) { +function Card({ heading, content, step }) { return ( -
- { step ? -
+
+ {step && +

{step}

-
+
{heading}
-
: -

} -
+
} +
{content}
diff --git a/components/Form.js b/components/Form.js index b8a1177..c639edd 100644 --- a/components/Form.js +++ b/components/Form.js @@ -127,28 +127,24 @@ function Form() { return (
-
addToWallet(e)}> + addToWallet(e)}>

Please select the (scanned) certificate PDF page, which you received from your doctor, pharmacy, vaccination centre or online.

- }/> + } /> - @@ -158,8 +154,11 @@ function Form() { +
+ +
- }/> + } />

@@ -167,16 +166,16 @@ function Form() { In order for you to make an informed decision, please read the Privacy Policy.

- -
+
@@ -184,11 +183,10 @@ function Form() {
- }/> + } /> - +
) } - \ No newline at end of file diff --git a/components/Logo.js b/components/Logo.js index 9b96818..b534a07 100644 --- a/components/Logo.js +++ b/components/Logo.js @@ -1,14 +1,17 @@ import Icon from '../public/favicon.svg' +import Link from 'next/link' export default Logo function Logo() { return ( -
- -

- CovidPass -

-
+ + + +

+ CovidPass +

+
+ ) } \ No newline at end of file diff --git a/components/Page.js b/components/Page.js index 8710f19..eb15c86 100644 --- a/components/Page.js +++ b/components/Page.js @@ -1,15 +1,32 @@ import Head from 'next/head' +import Logo from './Logo' +import Link from 'next/link' export default Page -function Page({content}) { +function Page({ content }) { return ( -
+
CovidPass - {content} +
+
+ + + {content} + + +
+
) } \ No newline at end of file diff --git a/pages/_document.js b/pages/_document.js new file mode 100644 index 0000000..944dd0f --- /dev/null +++ b/pages/_document.js @@ -0,0 +1,18 @@ +import Document, { Html, Head, Main, NextScript } from 'next/document' + +class CustomDocument extends Document { + + render() { + return ( + + + +
+ + + + ) + } +} + +export default CustomDocument \ No newline at end of file diff --git a/pages/imprint.js b/pages/imprint.js index 5f56c75..d17f7f9 100644 --- a/pages/imprint.js +++ b/pages/imprint.js @@ -4,7 +4,7 @@ import Card from '../components/Card' export default function Imprint() { return(

Information according to § 5 TMG

diff --git a/pages/index.js b/pages/index.js index a8071c3..5c37529 100644 --- a/pages/index.js +++ b/pages/index.js @@ -32,27 +32,14 @@ export default function Home() { }} /> -

- +
+ + Add your EU Digital Covid Vaccination Certificates to your favorite wallet app. On iOS, please use the Safari Browser. +

+ } /> - - Add your EU Digital Covid Vaccination Certificates to your favorite wallet app. On iOS, please use the Safari Browser. -

- } /> - -
- - -
+
} /> diff --git a/pages/privacy.js b/pages/privacy.js index 22fdf4b..d201ec8 100644 --- a/pages/privacy.js +++ b/pages/privacy.js @@ -4,7 +4,7 @@ import Card from '../components/Card' export default function Privacy() { return(

Our privacy policy is based on the terms used by the European legislator for the adoption of the General Data Protection Regulation (GDPR). diff --git a/tailwind.config.js b/tailwind.config.js index c165829..23ee1c9 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,7 +1,7 @@ module.exports = { mode: 'jit', purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'], - darkMode: false, + darkMode: 'media', theme: { extend: {}, },