Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website improvements #223

Merged
merged 5 commits into from
Mar 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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