add index file ready for gh-pages

This commit is contained in:
Gaëtan Renaudeau 2015-08-20 21:02:11 +02:00
parent 71227c28db
commit de65debc9c
5 changed files with 33 additions and 3 deletions

View File

@ -7,11 +7,13 @@
body {
margin: 0;
background: #000;
color: #fff;
color: #fff;
}
</style>
</head>
<body>
<a href="https://github.com/ProjectSeptemberInc/gl-react/tree/master/Examples/AdvancedEffects"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/52760788cde945287fbb584134c4cbc2bc36f904/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f77686974655f6666666666662e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"></a>
<div id="container"></div>
<script src="bundle.js"></script>
</body>
</html>

View File

@ -1,3 +1,3 @@
const React = require("react");
const AdvancedEffects = require("./src");
React.render(<AdvancedEffects width={400} height={700} />, document.body);
React.render(<AdvancedEffects width={400} height={700} />, document.getElementById("container"));

View File

@ -13,6 +13,8 @@
</style>
</head>
<body>
<a href="https://github.com/ProjectSeptemberInc/gl-react/tree/master/Examples/SpringCursor"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/52760788cde945287fbb584134c4cbc2bc36f904/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f77686974655f6666666666662e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"></a>
<div id="container"></div>
<script src="bundle.js"></script>
</body>
</html>

View File

@ -64,4 +64,4 @@ class Demo extends React.Component {
}
}
React.render(<Demo />, document.body);
React.render(<Demo />, document.getElementById("container"));

26
Examples/index.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>gl-react Examples</title>
<style>
body {
background: #222;
color: #fff;
margin: 60px;
}
a {
color: #0F9;
font-size: 1.4em;
text-decoration: none;
}
</style>
</head>
<body>
<h1>gl-react Examples</h1>
<ul>
<li><a href="AdvancedEffects">AdvancedEffects</a></li>
<li><a href="SpringCursor">SpringCursor</a></li>
</ul>
</body>
</html>