refact: extra footer into its own component

This commit is contained in:
Jean-Philippe Sirois
2019-07-27 17:32:39 -04:00
parent 57863ee926
commit e9f1bec654
4 changed files with 25 additions and 12 deletions
+17
View File
@@ -0,0 +1,17 @@
import React from "react"
import * as SC from "./styles"
import Container from "../Container"
const Footer = () => {
return (
<SC.FooterWrapper>
<Container>
© {new Date().getFullYear()}, Built with
{` `}
<a href="https://www.gatsbyjs.org">Gatsby</a>
</Container>
</SC.FooterWrapper>
)
}
export default Footer
+4
View File
@@ -0,0 +1,4 @@
import { Link } from "gatsby"
import styled from "styled-components"
export const FooterWrapper = styled.footer``