diff --git a/src/App.scss b/src/App.scss index b77f987..f671616 100644 --- a/src/App.scss +++ b/src/App.scss @@ -17,5 +17,6 @@ @import "./sass/layout/header"; @import "./sass/layout/grid"; +@import "./sass/layout/footer"; @import "./sass/pages/home"; diff --git a/src/commons/footer-section/footer.jsx b/src/commons/footer-section/footer.jsx index 852ccc9..d59ce06 100644 --- a/src/commons/footer-section/footer.jsx +++ b/src/commons/footer-section/footer.jsx @@ -1,5 +1,56 @@ +import logoLarge from "../images/logo-green-2x.png"; + function Footer() { - return ; + return ( + + ); } export default Footer; diff --git a/src/sass/abstracts/_variables.scss b/src/sass/abstracts/_variables.scss index ddbddc6..5cd5e87 100644 --- a/src/sass/abstracts/_variables.scss +++ b/src/sass/abstracts/_variables.scss @@ -14,12 +14,14 @@ $color-grey-light-2: #eee; $color-grey-dark: #777; $color-grey-dark-2: #999; +$color-grey-dark-3: #333; $color-white: #fff; $color-black: #000; // FONT CONTROL $default-font-size: 1.6rem; +$normal-font-size: 1.4rem; // GRID background $grid-width: 114rem; @@ -30,6 +32,7 @@ $gutter-horizontal: 6rem; $shadow-default: 0 1.5rem 4rem rgba($color-black, 0.15); $shadow-light: 0.5rem 1rem 2rem rgba($color-black, 0.2); +$shadow-link: 0 1rem 2rem rgba($color-black, 0.4); $border-radius-small: 0.2rem; $border-radius-default: 0.3rem; diff --git a/src/sass/layout/_footer.scss b/src/sass/layout/_footer.scss new file mode 100644 index 0000000..d52c79a --- /dev/null +++ b/src/sass/layout/_footer.scss @@ -0,0 +1,60 @@ +.footer { + background-color: $color-grey-dark-3; + padding: 10rem 0; + font-size: $normal-font-size; + + &__logo-box { + text-align: center; + margin-bottom: 8rem; + } + + &__logo { + width: 10rem; + height: auto; + } + + &__navigation { + border-top: 1px solid $color-grey-dark; + padding-top: 2rem; + display: inline-block; + } + + &__list { + list-style-type: none; + } + + &__item { + display: inline-block; + + &:not(:last-child) { + margin-right: 1.5rem; + } + } + + &__link { + &:link, + &:visited { + color: $color-grey-light-1; + background-color: $color-grey-dark-3; + text-decoration: none; + text-transform: uppercase; + display: inline-block; + transition: all 0.2s; + } + + &:hover, + &:active { + color: $color-primary; + box-shadow: $shadow-link; + transform: rotate(5deg) scale(1.3); + } + } + + &__copyright { + border-top: 1px solid $color-grey-dark; + padding-top: 2rem; + float: right; + color: $color-grey-dark; + color: $color-grey-light-1; + } +}