Skip to content

Commit

Permalink
White logo
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeux committed Mar 25, 2015
1 parent c61fbf4 commit a7452c4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions website/core/HeaderLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var HeaderLinks = React.createClass({
links: [
{section: 'docs', href: '/react-native/docs/getting-started.html#content', text: 'docs'},
{section: 'support', href: '/react-native/support.html', text: 'support'},
{section: 'react', href: 'http://facebook.github.io/react', text: 'react'},
{section: 'github', href: 'http://github.com/facebook/react-native', text: 'github'},
],

Expand Down
2 changes: 1 addition & 1 deletion website/core/Site.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var Site = React.createClass({
<div className="nav-main">
<div className="wrap">
<a className="nav-home" href="/react-native/">
<img src="/react-native/img/logo.png" />
<img src="/react-native/img/header_logo.png" />
React Native
</a>
<HeaderLinks section={this.props.section} />
Expand Down
11 changes: 7 additions & 4 deletions website/src/react-native/css/react-native.css
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,13 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
}

.nav-home img {
vertical-align: -7px;
margin-right: 7px;
width: 30px;
height: 30px;
vertical-align: -9px;
margin-right: 8px;
margin-left: 1px;
width: 34px;
}
.nav-main a.nav-home {
color: white;
}

.nav-main ul {
Expand Down
Binary file added website/src/react-native/img/header_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a7452c4

Please sign in to comment.