diff --git a/gatsby-browser.js b/gatsby-browser.js new file mode 100644 index 0000000..8b843ac --- /dev/null +++ b/gatsby-browser.js @@ -0,0 +1 @@ +import "./src/styles/global.css" diff --git a/src/components/footer.js b/src/components/footer.js new file mode 100644 index 0000000..d910802 --- /dev/null +++ b/src/components/footer.js @@ -0,0 +1,16 @@ +import React from "react" +import footerStyles from "./footer.module.css" +import { Link } from "gatsby" + +export default () => ( +
+
+ + Impressum + + + Datenschutzerklärung + +
+
+) diff --git a/src/components/footer.module.css b/src/components/footer.module.css new file mode 100644 index 0000000..d2d532f --- /dev/null +++ b/src/components/footer.module.css @@ -0,0 +1,21 @@ +.footer { + position: absolute; + right: 0; + bottom: 0; + left: 0; + padding: 1rem 0; + background-color: #14284c; +} + +.footerContent { + margin: 0 auto; + max-width: 1000px; + display: flex; + justify-content: flex-end; +} + +.footerItem { + padding: 0 1rem; + color: white; + text-decoration: none; +} diff --git a/src/components/layout.js b/src/components/layout.js new file mode 100644 index 0000000..776a734 --- /dev/null +++ b/src/components/layout.js @@ -0,0 +1,12 @@ +import React from "react" +import Nav from "../components/nav" +import Footer from "../components/footer" +import layoutStyles from "./layout.module.css" + +export default ({ children }) => ( + <> +