diff --git a/package.json b/package.json index 61aa43f..1cccfd5 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "stop": "forever stop server/index.js", "node": "node server/index.js", "webpack": "webpack --mode=development", - "webpack-production": "webpack --mode=production" + "webpack-production": "webpack --mode=production", + "update": "git pull && npm run webpack-production && npm restart" }, "author": "Kayne Ruse", "license": "", diff --git a/public/styles/shared.css b/public/styles/shared.css index ad1e915..c5b624c 100644 --- a/public/styles/shared.css +++ b/public/styles/shared.css @@ -18,16 +18,20 @@ body { } .banner { - max-width: 320px; - height: auto; margin-left: auto; margin-right: auto; margin-top: .5em; margin-bottom: 2em; + text-align: center; +} + +.banner img { + max-width: 320px; + height: auto; } @media screen and (max-width: 480px) { - .banner { + .banner img { max-width: 80%; } } diff --git a/src/components/app.jsx b/src/components/app.jsx index f8423cb..6a7dabf 100644 --- a/src/components/app.jsx +++ b/src/components/app.jsx @@ -54,7 +54,7 @@ export default class App extends React.Component { render() { return (
- + { GA.init() && } diff --git a/src/components/panels/common_links.jsx b/src/components/panels/common_links.jsx index 148baf3..162d9c1 100644 --- a/src/components/panels/common_links.jsx +++ b/src/components/panels/common_links.jsx @@ -28,7 +28,6 @@ class CommonLinks extends React.Component { if (this.props.loggedIn) { return (
-

Return Home

Your Kingdom

Your Equipment

Game Ladder

@@ -45,7 +44,6 @@ class CommonLinks extends React.Component { } else { //if not logged in return (
-

Return Home

Sign Up

Login

Recover Password