From f535468f563f5badc6f4559b5dcb29592a4c4015 Mon Sep 17 00:00:00 2001 From: CylonicRaider Date: Wed, 7 Dec 2016 22:30:40 +0100 Subject: [PATCH 1/9] Add donation link to static pages --- client/site/common/Footer.js | 8 +++++++- client/site/common/MainPage.js | 5 ++++- client/site/home.js | 2 +- client/site/site.less | 19 ++++++++++++++++++- 4 files changed, 30 insertions(+), 4 deletions(-) diff --git a/client/site/common/Footer.js b/client/site/common/Footer.js index 77df33a1..cef14e2f 100644 --- a/client/site/common/Footer.js +++ b/client/site/common/Footer.js @@ -3,7 +3,7 @@ import React from 'react' import heimURL from '../../lib/heimURL' -export default function Footer() { +export default function Footer(props) { return ( ) } + +Footer.propTypes = { + noDonation: React.PropTypes.bool, +} diff --git a/client/site/common/MainPage.js b/client/site/common/MainPage.js index 53b6278b..54d9af13 100644 --- a/client/site/common/MainPage.js +++ b/client/site/common/MainPage.js @@ -12,7 +12,8 @@ export default function MainPage(props) {
{props.children}
-