White logo

This commit is contained in:
Christopher Chedeau 2015-03-25 13:32:42 -07:00
parent c61fbf483f
commit a7452c4a5f
4 changed files with 9 additions and 5 deletions

View File

@ -15,6 +15,7 @@ var HeaderLinks = React.createClass({
links: [ links: [
{section: 'docs', href: '/react-native/docs/getting-started.html#content', text: 'docs'}, {section: 'docs', href: '/react-native/docs/getting-started.html#content', text: 'docs'},
{section: 'support', href: '/react-native/support.html', text: 'support'}, {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'}, {section: 'github', href: 'http://github.com/facebook/react-native', text: 'github'},
], ],

View File

@ -39,7 +39,7 @@ var Site = React.createClass({
<div className="nav-main"> <div className="nav-main">
<div className="wrap"> <div className="wrap">
<a className="nav-home" href="/react-native/"> <a className="nav-home" href="/react-native/">
<img src="/react-native/img/logo.png" /> <img src="/react-native/img/header_logo.png" />
React Native React Native
</a> </a>
<HeaderLinks section={this.props.section} /> <HeaderLinks section={this.props.section} />

View File

@ -285,10 +285,13 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
} }
.nav-home img { .nav-home img {
vertical-align: -7px; vertical-align: -9px;
margin-right: 7px; margin-right: 8px;
width: 30px; margin-left: 1px;
height: 30px; width: 34px;
}
.nav-main a.nav-home {
color: white;
} }
.nav-main ul { .nav-main ul {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB