2021-06-25 12:18:25 +02:00
|
|
|
import Head from 'next/head'
|
2021-06-28 18:17:16 +02:00
|
|
|
import Logo from './Logo'
|
|
|
|
import Link from 'next/link'
|
2021-06-25 12:18:25 +02:00
|
|
|
|
|
|
|
export default Page
|
|
|
|
|
2021-06-28 18:17:16 +02:00
|
|
|
function Page({ content }) {
|
2021-06-25 12:18:25 +02:00
|
|
|
return (
|
2021-06-28 18:17:16 +02:00
|
|
|
<div className="md:w-2/3 xl:w-2/5 md:mx-auto flex flex-col min-h-screen justify-center px-5 py-12">
|
2021-06-25 12:18:25 +02:00
|
|
|
<Head>
|
|
|
|
<title>CovidPass</title>
|
|
|
|
<link rel="icon" href="/favicon.png" />
|
|
|
|
</Head>
|
2021-06-28 18:17:16 +02:00
|
|
|
<div>
|
|
|
|
<main className="flex flex-col space-y-5">
|
|
|
|
<Logo />
|
|
|
|
|
|
|
|
{content}
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
<nav className="nav flex space-x-4 m-6 flex-row-reverse space-x-reverse text-md font-bold">
|
|
|
|
<Link href="/privacy"><a className="hover:underline" >Privacy Policy</a></Link>
|
|
|
|
<Link href="/imprint"><a className="hover:underline" >Imprint</a></Link>
|
|
|
|
<a href="https://www.paypal.com/paypalme/msextro" className="hover:underline" >Donate</a>
|
|
|
|
<a href="https://github.com/marvinsxtr/covidpass" className="hover:underline" >GitHub</a>
|
|
|
|
</nav>
|
|
|
|
</footer>
|
|
|
|
</main>
|
|
|
|
</div>
|
2021-06-25 12:18:25 +02:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|