From 026b3443efc3b4df11e8cee77bc0b86a81914a57 Mon Sep 17 00:00:00 2001 From: Jake Dexheimer Date: Mon, 24 Jul 2017 09:01:58 -0500 Subject: [PATCH] Clean up margin styles --- components/Footer.js | 13 ++++--------- components/Header.js | 7 +++---- components/Page.js | 2 +- server.js | 3 +-- 4 files changed, 9 insertions(+), 16 deletions(-) diff --git a/components/Footer.js b/components/Footer.js index 6de8486..a44a6b8 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -3,22 +3,17 @@ import Link from 'next/link' import { PALETTE } from '../lib/constants' const Footer = (props) => ( -
-
+
+
about send feedback source
-
a project by @dawn_labs ¬
+
a project by @dawn_labs ¬
diff --git a/components/Page.js b/components/Page.js index 2269cf8..c076ada 100644 --- a/components/Page.js +++ b/components/Page.js @@ -4,7 +4,7 @@ import Header from './Header' import Footer from './Footer' export default ({ children, enableHeroText }) => ( -
+
diff --git a/server.js b/server.js index 134f1d9..427c62a 100644 --- a/server.js +++ b/server.js @@ -1,4 +1,3 @@ - const express = require('express') const morgan = require('morgan') const bodyParser = require('body-parser') @@ -22,7 +21,7 @@ app.prepare() server.use(morgan('tiny')) // if root, render webpage from next - server.get('*', (req, res) => + server.get('*', (req, res) => app.render(req, res, '/', req.query)) // otherwise, try and get gist