Skip to content

Commit

Permalink
Fixes #6: Added mark and link to github repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nargonath committed Jul 8, 2017
1 parent f29a446 commit 76e943f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/components/Footer/Footer.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ export const A = styled.a`
`;

export const Br = styled.br`${media.laptop`display: none`};`;

export const GithubLink = styled.a`
width: 30px;
height: auto;
margin: auto 0;
`;
1 change: 1 addition & 0 deletions src/components/Footer/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/components/Footer/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';

import { StyledFooter, P, A, Br } from './Footer.style';
import githubLogo from './github.svg';
import { StyledFooter, P, A, Br, GithubLink } from './Footer.style';

function Footer() {
return (
Expand All @@ -16,6 +17,9 @@ function Footer() {
</A>{' '}
(design)
</P>
<GithubLink href="https://github.com/Nargonath/getshitdone" target="_blank">
<img src={githubLogo} alt="github getshitdone" />
</GithubLink>
</StyledFooter>
);
}
Expand Down

0 comments on commit 76e943f

Please sign in to comment.