Commit 424043e9 authored by Mike Cardwell's avatar Mike Cardwell

Donation page

parent 3072985f
...@@ -47,14 +47,16 @@ const style = { ...@@ -47,14 +47,16 @@ const style = {
root: css({ root: css({
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
padding: '1em 1em 1em 0', flexWrap: 'wrap',
xborder:'1px solid blue', justifyContent: 'space-between',
padding: '0.5em 1em 0.5em 0',
}), }),
link: css({ link: css({
color: 'white', color: 'white',
textShadow: '1px 1px 1px black', textShadow: '1px 1px 1px black',
marginLeft: '2em', marginLeft: '2em',
fontWeight: 'bold', fontWeight: 'bold',
padding: '0.5em 0',
}), }),
}, },
}, },
...@@ -65,7 +67,7 @@ const style = { ...@@ -65,7 +67,7 @@ const style = {
flexDirection: 'column', flexDirection: 'column',
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
padding: '0 1em', padding: '0 1em',
}), }),
title: css({ title: css({
backgroundColor: '#f0eeee', backgroundColor: '#f0eeee',
...@@ -119,6 +121,9 @@ export default class Wrapper extends Component { ...@@ -119,6 +121,9 @@ export default class Wrapper extends Component {
<Link href="/privacy"> <Link href="/privacy">
<a className={ style.header.nav.link } href="/privacy">Privacy</a> <a className={ style.header.nav.link } href="/privacy">Privacy</a>
</Link> </Link>
<Link href="/donate">
<a className={ style.header.nav.link } href="/donate">Give&#160;Back</a>
</Link>
<a className={ style.header.nav.link } href="https://grepular.com">Contact</a> <a className={ style.header.nav.link } href="https://grepular.com">Contact</a>
</nav> </nav>
</header> </header>
......
import React, { Component } from 'react';
import Wrapper from '../lib/components/Wrapper';
import Link from 'next/link';
export default class DonatePage extends Component {
render() {
return (
<Wrapper title="Donations / Contributions">
<div>
<p>
If you found this site useful and wish to give something back or contribute to the hosting and development time, I have <Link href="bitcoin:1PQLtWnjUi1itHLG6QCQeHM3Nxua8pRsq1">Bitcoin</Link>, <Link href="zcash:zcAN9ij9YZ7Cc9HMqCfcjpusELTTKQWutgjSRH9Dxx5E4DLTKTxRye5FgFs7vDPn1edSoBNFvLPTxn7byjgwQaMVJeJ64kQ">Z-Cash</Link> and <Link href="https://www.paypal.me/grepular">Paypal</Link>.
</p>
<p>
If you wish to contribute some of your time and you're a developer, all of the code has been <Link href="https://gitlab.com/mikecardwell/ept3">released</Link> under GPL-3.0 and I'm happy to accept contributions.
</p>
</div>
</Wrapper>
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment