From ab90f6f87bc8a23bfefcea7b5cb756bba48f9d10 Mon Sep 17 00:00:00 2001 From: samgildea Date: Wed, 24 Mar 2021 23:15:58 -0400 Subject: [PATCH] #13 updating footer lofi style --- src/components/footer.js | 73 +++++++++++++++++++++++++++------------- 1 file changed, 50 insertions(+), 23 deletions(-) diff --git a/src/components/footer.js b/src/components/footer.js index c8d7956..1889353 100644 --- a/src/components/footer.js +++ b/src/components/footer.js @@ -4,8 +4,9 @@ import dimensions from "../style/dimensions" import { StaticQuery, graphql } from "gatsby" const FooterContainer = styled.div` - background-color: #c4c4c4; + background-color: #848484; width: 100%; + color: #ffffff; ` const FooterMainContent = styled.div` @@ -30,7 +31,12 @@ const SocialIcons = styled.div` ` const SocialPlaceholder = styled.div` - margin-right: 12px; + width: 24px; + height: 24px; + background-color: #A4A4A4; + border-radius: 8px; + margin-right: 16px; + ` const EmailText = styled.div` text-decoration: underline; @@ -43,6 +49,7 @@ const LinkSection = styled.div` display: flex; margin-left: 9vw; padding-top: 50px; + @media (max-width: ${dimensions.maxwidthTablet}px) { margin-left: 0px; } @@ -51,11 +58,12 @@ const LinkSection = styled.div` padding-bottom: 47px; font-size: 18px; font-weight: bold; + } a { text-decoration: none; - color: black; + color: #ffffff; } ul { @@ -83,11 +91,11 @@ const EmailSection = styled.div` @media (max-width: ${dimensions.maxwidthTablet}px) { input { - width: 80%; - height: 36px; - margin-top: 10px; - border: solid #626262 1px; - } + width: 80%; + height: 36px; + margin-top: 10px; + border: solid #626262 1px; + } } input::placeholder { @@ -129,6 +137,20 @@ const BottomLinks = styled.div` } ` +const AddressSection = styled.div` + width: 177px; + padding-top: 16px; +` +const ScoutSection = styled.div` + +margin-top: 32px; +color: #ffffff; + +@media (max-width: ${dimensions.maxwidthTablet}px) { + padding-bottom: 48px; +} +` + const EmailFormHeader = styled.div`` export default function footer({ data }) { @@ -154,18 +176,10 @@ export default function footer({ data }) { Powerhouse - - {data.prismicFooter.data.social_media.map(social => { - return ( - - - - - - ) - })} - - {data.prismicFooter.data.email} + + 123 Lorem Ipsum Dolor Tempor Incididunt YZ, 12345 123-456-7890 + + {/* {data.prismicFooter.data.email} */} @@ -200,7 +214,6 @@ export default function footer({ data }) {
- Sign Up For Our Newsletter
+ + {data.prismicFooter.data.social_media.map(social => { + return ( + + + {/* */} + + + ) + })} + + + Made with love by Scout
+
- + {/* - + */} )} />