refact: rename Column components to be generic

This commit is contained in:
Jean-Philippe Sirois
2019-11-11 17:18:09 -08:00
parent ba88927304
commit 711da3c517
25 changed files with 553 additions and 555 deletions
-19
View File
@@ -1,19 +0,0 @@
import React, { FC } from "react"
import packageJson from "../../../package.json"
import { Container } from "../Container"
import * as SC from "./styles"
export const Footer: FC = () => {
return (
<SC.FooterWrapper>
<Container>
<p>
© {new Date().getFullYear()}, Built with
{` `}
<a href="https://www.gatsbyjs.org">Gatsby</a> - Source on{" "}
<a href={packageJson.repository.url}>GitHub</a>
</p>
</Container>
</SC.FooterWrapper>
)
}
-18
View File
@@ -1,18 +0,0 @@
import styled from "styled-components"
export const FooterWrapper = styled.footer`
& a {
display: inline;
color: #0090d8;
font-weight: 700;
border-bottom: 2px solid;
text-decoration: none;
transition: color 0.3s;
&:hover,
&:focus {
color: #5dbbea;
transition: none;
}
}
`