mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 16:06:12 +02:00
refact: rename Column components to be generic
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user