covidpass-greenpass-su-ipho.../components/Page.js

32 lines
1.0 KiB
JavaScript
Raw Normal View History

2021-06-25 12:18:25 +02:00
import Head from 'next/head'
import Logo from './Logo'
import Link from 'next/link'
2021-06-25 12:18:25 +02:00
export default Page
function Page({ content }) {
2021-06-25 12:18:25 +02:00
return (
<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>
<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>
)
}