-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add page footer with link to GitHub repo (#53)
* Add page footer with link to GitHub repo * Add changelog entry
- Loading branch information
1 parent
9673c69
commit fc2085f
Showing
5 changed files
with
63 additions
and
5 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,31 @@ | ||
import React, { Fragment } from 'react' | ||
import FontAwesomeIcon from '@fortawesome/react-fontawesome' | ||
import faGithub from '@fortawesome/fontawesome-free-brands/faGithub' | ||
|
||
const Footer = () => ( | ||
<Fragment> | ||
<div className="footer p-3 bg-light d-flex justify-content-center text-muted"> | ||
<a href="https://github.com/illinois/queue" className="text-muted"> | ||
<FontAwesomeIcon icon={faGithub} className="mr-2" /> | ||
GitHub | ||
</a> | ||
</div> | ||
<style global jsx>{` | ||
.footer { | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
.footer a { | ||
transition: 300ms all; | ||
} | ||
.footer a:hover, | ||
.footer a:focus { | ||
text-decoration: none; | ||
color: black !important; | ||
} | ||
`}</style> | ||
</Fragment> | ||
) | ||
|
||
export default Footer |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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