Skip to content

Commit

Permalink
feat: added terms of service link in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed Jun 25, 2020
1 parent a503776 commit 4a4c526
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/FeatherIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ const ICONS = {
github: (
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22" />
),
pen: (
<>
<path d="M12 19l7-7 3 3-7 7-3-3z" />
<path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z" />
<path d="M2 2l7.586 7.586" />
<circle cx="11" cy="11" r="2" />
</>
),
search: (
<>
<circle cx="11" cy="11" r="8" />
Expand Down
4 changes: 4 additions & 0 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ const Footer = ({ className }) => {
</div>

<div className={styles.right}>
<Link to="/terms">
<FeatherIcon className={styles.linkIcon} name="pen" size="1rem" />
Terms of service
</Link>
{fileRelativePath && (
<ExternalLink
href={`${githubBaseUrl}/blob/master/${fileRelativePath}`}
Expand Down

0 comments on commit 4a4c526

Please sign in to comment.