-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import React, { PureComponent } from 'react' | ||
import styled from 'styled-components' | ||
import Icons from './icons' | ||
|
||
export default class Footer extends PureComponent { | ||
render() { | ||
return ( | ||
<Container> | ||
<Button><Icons.About fill={'white'} /></Button> | ||
<Button><Icons.Jobs fill={'white'} /></Button> | ||
<Button><Icons.Github fill={'white'} /></Button> | ||
<Colophon>Made with passion in Brooklyn, NY</Colophon> | ||
</Container> | ||
) | ||
} | ||
} | ||
|
||
Footer.propTypes = { | ||
} | ||
|
||
const Container = styled.footer` | ||
display: grid; | ||
grid-gap: 16px; | ||
grid-template-columns: repeat(3, 24px) 1fr; | ||
grid-auto-flow: column; | ||
align-items: center; | ||
` | ||
|
||
const Button = styled.a` | ||
background-color: var(--grey); | ||
border-radius: 50%; | ||
height: 24px; | ||
display: grid; | ||
` | ||
|
||
const Colophon = styled.span` | ||
justify-self: end; | ||
font-size: 12px; | ||
font-weight: 200; | ||
font-style: italic; | ||
font-family: 'IBM Plex Mono', 'Courier New', Serif; | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react' | ||
import { storiesOf } from '@storybook/react' | ||
import Footer from '../../components/interface/Footer' | ||
|
||
storiesOf('Footer') | ||
.add('the footer', () => { | ||
return ( | ||
<Footer /> | ||
) | ||
}) |