From a70bbb6a177100fa0114a22326c70bb63031dadc Mon Sep 17 00:00:00 2001 From: kitajchuk Date: Thu, 1 Apr 2021 10:25:31 -0700 Subject: [PATCH] Footer --- components/footer.js | 37 ++++++++++++++++++++++++++++++++- styles/_footer.scss | 49 ++++++++++++++++++++++++++++++++++++++++++++ styles/global.scss | 5 +++++ 3 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 styles/_footer.scss diff --git a/components/footer.js b/components/footer.js index 1eae557..ba00133 100644 --- a/components/footer.js +++ b/components/footer.js @@ -1,5 +1,40 @@ +import Link from 'next/link'; +import { Button } from './jambonz-ui'; +import { homeObj } from '../lib/vars'; + +function FooterItem({ obj }) { + return ( +
  • + + + {obj.label} + + +
  • + ); +} + export default function Footer({ siteData }) { return ( - + ); } \ No newline at end of file diff --git a/styles/_footer.scss b/styles/_footer.scss new file mode 100644 index 0000000..363f742 --- /dev/null +++ b/styles/_footer.scss @@ -0,0 +1,49 @@ +.foot { + padding: 96px 0; + + &__navs { + display: flex; + justify-content: center; + flex-wrap: wrap; + } + + &__links { + margin: 0 64px; + + li { + margin-bottom: 16px; + } + + @media (max-width: $width-mobile) { + margin: 0; + width: 100%; + } + } + + &__links:first-child { + text-align: right; + + @media (max-width: $width-mobile) { + text-align: center; + } + } + + &__links:last-child { + text-align: left; + + @media (max-width: $width-mobile) { + text-align: center; + margin-top: 32px; + } + } + + &__link { + color: $white; + text-decoration: none; + } + + &__support { + text-align: center; + padding-top: 96px; + } +} \ No newline at end of file diff --git a/styles/global.scss b/styles/global.scss index 41d8d4d..953dd08 100644 --- a/styles/global.scss +++ b/styles/global.scss @@ -38,6 +38,11 @@ *******************************************************************************/ @import 'navi.scss'; +/****************************************************************************** + * Footer +*******************************************************************************/ +@import 'footer.scss'; + /****************************************************************************** * Kit of Parts *******************************************************************************/