From 47f8fdb9005f1d3c36cde6a15ff1110364a60b0d Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Sat, 29 Oct 2022 22:06:49 +0200 Subject: [PATCH] Footer content --- components/Blog/Layout.tsx | 20 ++++++++++++++++++-- styles/Blog/Blog.module.scss | 28 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/components/Blog/Layout.tsx b/components/Blog/Layout.tsx index 7fddbf2..6d64f10 100644 --- a/components/Blog/Layout.tsx +++ b/components/Blog/Layout.tsx @@ -4,6 +4,8 @@ import Navigation from "./Navigation"; import styles from "../../styles/Blog/Blog.module.scss"; +import socials from "../../data/socials"; + interface ILayoutProps { title?: string; } @@ -14,14 +16,28 @@ const Layout: NextPage = ({ title, children }) => { {title ?? "c0ntroller.de"}
-
+ +
{ children }
; diff --git a/styles/Blog/Blog.module.scss b/styles/Blog/Blog.module.scss index b1294db..c264d50 100644 --- a/styles/Blog/Blog.module.scss +++ b/styles/Blog/Blog.module.scss @@ -35,6 +35,34 @@ padding: 20px; border-bottom-left-radius: 1em; border-bottom-right-radius: 1em; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + align-items: center; + font-size: 1.1em; + + + .spacer { + flex-grow: 1; + } + + .footerContent { + display: flex; + flex-direction: row; + flex-wrap: wrap; + align-items: center; + justify-content: center; + + .divider { + margin: 0 10px; + } + + .socialIcon { + color: inherit; + text-decoration: none; + height: 1em; + } + } } h1 {