react-native/website
Martin Konicek b8e8b723d4 Website: Fix aspect ratio of icons in the showcase on homepage
Summary:
I ran the website locally and noticed the icons in the showcase on the homepage look squashed:

![screenshot 2017-03-07 22 28 23](https://cloud.githubusercontent.com/assets/346214/23681227/18fbec6e-0386-11e7-9658-93907cbb3337.png)

Made the icons consistent with /showcase.html:

d54c7f8282/website/styles/_showcase.scss (L74)
Closes https://github.com/facebook/react-native/pull/12773

Differential Revision: D4669767

Pulled By: hramos

fbshipit-source-id: be5a758dd912083fc02c8e0b56c30c8617dcf3df
2017-03-07 15:45:16 -08:00
..
core Refresh website 2017-03-01 11:00:49 -08:00
jsdocs Replace @provides with @providesModule 2017-02-02 08:58:33 -08:00
layout Improve doc generation with flow types 2017-03-01 18:46:32 -08:00
server Move BackAndroid -> BackHandler, add Apple TV support for back nav 2017-03-06 21:51:40 -08:00
src/react-native Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
styles Website: Fix aspect ratio of icons in the showcase on homepage 2017-03-07 15:45:16 -08:00
.gitignore Generate Atom feed for the React Native blog. 2016-10-28 13:28:37 -07:00
README.md Fix instructions so react-native packages are installed first 2016-06-01 17:58:22 -07:00
package.json Refresh website 2017-03-01 11:00:49 -08:00
publish-gh-pages.js Deploy showcase, support when building gh-pages on master. 2016-09-20 15:58:48 -07:00
setup.sh Docs for website setup 2015-12-28 12:47:09 -08:00
showcase.json Updating the info about Myntra 2017-03-06 12:03:30 -08:00

README.md

Install prerequisites

Before running the website, make sure you've run the following:

git clone https://github.com/facebook/react-native.git
cd react-native
npm install

Run the website server

The first time, get all the website dependencies loaded via

cd website
npm install

Then, run the server via

npm start
open http://localhost:8079/react-native/index.html

Anytime you change the contents, just refresh the page and it's going to be updated.

Publish the website

cd website
npm run publish-website