Skip to content

Commit

Permalink
Merge pull request #223 from zpao/website-improvements
Browse files Browse the repository at this point in the history
Website improvements
  • Loading branch information
sophiebits committed Mar 26, 2015
2 parents 5e7df58 + 35fa5aa commit b4da77a
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/core/HeaderLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var React = require('React');

var HeaderLinks = React.createClass({
linksInternal: [
{section: 'docs', href: '/react-native/docs/getting-started.html#content', text: 'Docs'},
{section: 'docs', href: '/react-native/docs/getting-started.html', text: 'Docs'},
{section: 'support', href: '/react-native/support.html', text: 'Support'},
],
linksExternal: [
Expand Down
8 changes: 7 additions & 1 deletion website/src/react-native/css/react-native.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ h4 small {
font-size: 14px;
}

img {
max-width: 100%;
height: auto;
}

ul, ol {
margin: 0 0 10px 25px;
padding: 0;
Expand Down Expand Up @@ -129,6 +134,7 @@ html * {
padding: 5px 10px;
margin-left: 20px;
background-color: rgba(5, 165, 209, 0.05);
overflow: auto;
}

.prism + .prism {
Expand Down Expand Up @@ -229,7 +235,7 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
color: #fafafa;
position: fixed;
top: 0;
height: 50px;
min-height: 50px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
width: 100%;
z-index: 100;
Expand Down
Binary file modified website/src/react-native/img/TutorialFinal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/src/react-native/img/TutorialMock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/src/react-native/img/TutorialSingleFetched.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/src/react-native/img/TutorialStyledMock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/src/react-native/img/chrome_breakpoint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/src/react-native/img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 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.
Binary file modified website/src/react-native/img/opengraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions website/src/react-native/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var index = React.createClass({
</div>

<section className="content wrap">
<div style={{margin: '40px auto', width: 800}}>
<div style={{margin: '40px auto', maxWidth: 800}}>

<p>
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and
Expand All @@ -39,7 +39,7 @@ var index = React.createClass({
<a href="docs/getting-started.html#content" className="button">Get started with React Native</a>
</div>

<div style={{margin: '40px auto', width: 800}}>
<div style={{margin: '40px auto', maxWidth: 800}}>

<h2>Native iOS Components</h2>
<p>
Expand Down

0 comments on commit b4da77a

Please sign in to comment.