Skip to content

Commit

Permalink
Stylin' up the Header
Browse files Browse the repository at this point in the history
  • Loading branch information
mhink committed Jul 20, 2016
1 parent cccd2a3 commit 68a1be0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import { Link } from 'react-router'
import {
appHeader,
appHeaderWrapper,
brandLink
} from "./styles.css"

const Header = ({title}) => (
<header className={appHeader}>
<div className={appHeaderWrapper}>
<Link to="/"><h1>{title}</h1></Link>
<Link to="/" className={brandLink}><h1>{title}</h1></Link>
</div>
</header>
)
Expand Down
11 changes: 11 additions & 0 deletions src/components/Header/styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
.appHeader {
background: white;
composes: z-depth-1 from 'styles/base.css';
margin-bottom: 2rem;
}

.appHeader a.brandLink {
text-decoration: none;
}

.appHeader h1 {
margin: 0;
}

.appHeaderWrapper {
Expand Down

0 comments on commit 68a1be0

Please sign in to comment.