-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from dailybruin/henry
finishing touches?
- Loading branch information
Showing
5 changed files
with
128 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import React from 'react' | ||
import styled from 'react-emotion' | ||
import { Link } from 'gatsby' | ||
|
||
const Wrapper = styled('div')` | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
background: #6d786a; | ||
font-family: IBM Plex Mono; | ||
color: #fffcf5; | ||
border-bottom: solid 1px #fffcf5; | ||
padding: 10vh auto; | ||
` | ||
|
||
const RightNav = styled('div')` | ||
display: flex; | ||
` | ||
|
||
const NavItem = styled(Link)` | ||
text-decoration: none; | ||
color: #fffcf5; | ||
&:hover { | ||
color: #c2d59c; | ||
text-decoration: underline; | ||
} | ||
font-size: 14px; | ||
margin-right: 30px; | ||
` | ||
|
||
const PageTitle = styled(Link)` | ||
text-decoration: none; | ||
color: #fffcf5; | ||
text-transform: uppercase; | ||
font-size: 30px; | ||
margin: 1vh 20px; | ||
` | ||
|
||
export default class ArticleNav extends React.Component { | ||
render() { | ||
return ( | ||
<> | ||
<Wrapper> | ||
<PageTitle to="/">A Wasted Opportunity</PageTitle> | ||
<RightNav> | ||
<NavItem to="/#ZeroWasteatUCLA">Zero Waste at UCLA</NavItem> | ||
<NavItem to="/#ZeroWasteintheUCSystem"> | ||
Zero Waste in the UC System | ||
</NavItem> | ||
</RightNav> | ||
</Wrapper> | ||
</> | ||
) | ||
} | ||
} |
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
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