diff --git a/src/components/footer/footer-styles.js b/src/components/footer/footer-styles.js index 369c086..4d3713a 100644 --- a/src/components/footer/footer-styles.js +++ b/src/components/footer/footer-styles.js @@ -4,6 +4,7 @@ export const FooterContainer = styled.div` background-color: #848484; width: 100%; color: #ffffff; + position: relative; ` export const FooterMainContent = styled.div` diff --git a/src/components/homepage/index-styles.js b/src/components/homepage/index-styles.js index 976397d..302e0ac 100644 --- a/src/components/homepage/index-styles.js +++ b/src/components/homepage/index-styles.js @@ -26,11 +26,9 @@ export const HeroTextSection = styled.div` } ` -export const HeroHeadline = styled.div` -` +export const HeroHeadline = styled.div`` -export const HeroDescription = styled.div` -` +export const HeroDescription = styled.div`` export const HeroCTA = styled.div` margin-top: 64px; @@ -45,3 +43,74 @@ export const HeroCTA = styled.div` padding-bottom: 16px; } ` + +export const FutureSection = styled.div` + height: 100vh; + position: relative; + padding-top: 64px; + + + @media (min-width: ${dimensions.maxwidthTablet}px) { + display: flex; + align-items: center; + padding-top: 0px; + + + } +` + +export const FutureText = styled.div`` + +export const FutureImage = styled.div` + background-color: #c4c4c4; + width: 100%; + height: 450px; + margin-top: 80px; + + @media (min-width: ${dimensions.maxwidthTablet}px) { + position: absolute; + right: 0; + width: 42vw; + height: 768px; + } +` + +export const FutureHeader = styled.div` + font-weight: bold; + @media (min-width: ${dimensions.maxwidthTablet}px) { + } +` + +export const FutureSolarIcon = styled.div` + width: 64px; + height: 64px; + border-radius: 8px; + background-color: #a4a4a4; + margin-bottom: 48px; +` + +export const FutureDescription = styled.div` + margin-top: 32px; + font-size: 18px; + @media (max-width: ${dimensions.maxwidthTablet}px) { + font-size: 16px; + } +` +export const FutureCTA = styled.div` + margin-top: 64px; + + a { + padding-right: 60px; + padding-left: 60px; + padding-top: 16px; + padding-bottom: 16px; + border: solid #646464 1px; + font-size: 16px; + font-weight: bold; + text-decoration: none; + text-transform: uppercase; + color: #646464; + } +` + +export const HomePageContainer = styled.div`` diff --git a/src/components/homepage/index.js b/src/components/homepage/index.js index 6e23a6d..f4f774a 100644 --- a/src/components/homepage/index.js +++ b/src/components/homepage/index.js @@ -1,29 +1,61 @@ import React from "react" -import { H1, P } from "../../style/type-styles" +import { H1, P, H2 } from "../../style/type-styles" import { HeroContainer, HeroTextSection, HeroHeadline, HeroDescription, HeroCTA, + FutureSection, + FutureText, + FutureSolarIcon, + FutureHeader, + FutureDescription, + FutureCTA, + FutureImage, + HomePageContainer, } from "./index-styles" export default function HomePage({ data }) { return ( - - - - {data.hero_headline} - - - {data.hero_subtext} - - - - {data.hero_cta_text} - - - - + + + + + {data.hero_headline} + + + {data.hero_subtext} + + + + {data.hero_cta_text} + + + + + + + + + + {data.section_title} + + + {data.section_description} + + + + {data.button_text} + + + + + ) } diff --git a/src/components/layout.js b/src/components/layout.js index 35d4c32..30575e5 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -6,9 +6,7 @@ import dimensions from "../style/dimensions" import { layoutPaddingDesktop, layoutPaddingMobile } from "../style/variables" import Footer from "../components/footer/footer" -const LayoutContainer = styled.div` - -` +const LayoutContainer = styled.div`` const LayoutBody = styled.div` @media (min-width: ${dimensions.maxwidthTablet}px) { padding: 0 ${layoutPaddingDesktop} ${layoutPaddingDesktop};s @@ -23,10 +21,9 @@ const Layout = ({ children }) => { return ( {children} - ) } -export default Layout \ No newline at end of file +export default Layout
{data.hero_subtext}
{data.section_description}