From a5a802d1d39f240a4d8830cf7870361f8e055ed3 Mon Sep 17 00:00:00 2001 From: neri Date: Tue, 28 Jan 2020 22:30:52 +0100 Subject: [PATCH] leaner home-page, separate donation and about page, better nav styles --- src/components/footer.module.css | 5 +- src/components/nav.js | 27 ++++++---- src/components/nav.module.css | 28 +++++++++- src/markdown-pages/about.mdx | 72 +++++++++++++++++++++++++ src/markdown-pages/home.mdx | 76 +++++++------------------- src/markdown-pages/support.mdx | 37 +++++++++++++ src/markdown-pages/treff.mdx | 4 +- src/markdown-pages/verein.mdx | 88 ++++++++++--------------------- static/header.jpg | Bin 0 -> 21264 bytes static/logo_ctdo.svg | 3 ++ 10 files changed, 207 insertions(+), 133 deletions(-) create mode 100644 src/markdown-pages/about.mdx create mode 100644 src/markdown-pages/support.mdx create mode 100644 static/header.jpg create mode 100644 static/logo_ctdo.svg diff --git a/src/components/footer.module.css b/src/components/footer.module.css index 1cd98d7..dba7581 100644 --- a/src/components/footer.module.css +++ b/src/components/footer.module.css @@ -3,7 +3,7 @@ right: 0; bottom: 0; left: 0; - padding: 1rem 0; + padding: 0.5rem 0; background-color: #14284c; } @@ -11,11 +11,12 @@ margin: 0 auto; max-width: 1000px; display: flex; + flex-flow: row wrap; justify-content: flex-end; } a.footerItem { - margin: 0 1rem; + padding: 0.5rem 1rem; color: white; text-decoration: none; } diff --git a/src/components/nav.js b/src/components/nav.js index 50e1597..a44969c 100644 --- a/src/components/nav.js +++ b/src/components/nav.js @@ -3,11 +3,13 @@ import navStyles from "./nav.module.css" import { Link } from "gatsby" let pages = [ - ["home", ""], - ["zeiten & location", "treff"], - ["events", "events"], - ["kontakt", "kontakt"], - ["verein", "verein"], + ["home", "/", navStyles.desktopOnly], + ["zeiten & location", "treff", ""], + ["events", "events", ""], + ["über uns", "über-uns", ""], + ["kontakt", "kontakt", ""], + ["verein", "verein", ""], + ["supporte uns", "support", ""], ] export default ({ path }) => { @@ -19,16 +21,21 @@ export default ({ path }) => { return ( <>
-
- Chaostreff Dortmund -
+ +
+ + + Chaostreff Dortmund + +
+