|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 | + <title>Multi-Instance | React Drive-In</title> |
| 7 | + <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css" /> |
| 8 | + <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" /> |
| 9 | + <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Raleway:400,300,600" /> |
| 10 | + <link rel="stylesheet" type="text/css" href="/react-drive-in-multi.css" /> |
| 11 | + <link rel="stylesheet" type="text/css" href="/custom.css" /> |
| 12 | + </head> |
| 13 | + <body> |
| 14 | + |
| 15 | + <div class="section hero"> |
| 16 | + <div class="container"> |
| 17 | + <div class="row"> |
| 18 | + <div class="one-half column"> |
| 19 | + <h4 class="hero-heading">Using multiple instances of Drive-In is easy!</h4> |
| 20 | + <p>I was able to adapt it to this Skeleton demo in no time.</p> |
| 21 | + <a class="button button-primary" href="http://getskeleton.com">Try Skeleton</a> |
| 22 | + </div> |
| 23 | + <div class="one-half column phones"> |
| 24 | + <img class="phone" src="https://raw.githubusercontent.com/dhg/Skeleton/gh-pages/examples/landing/images/iphone.png?raw=true"> |
| 25 | + <img class="phone" src="https://raw.githubusercontent.com/dhg/Skeleton/gh-pages/examples/landing/images/iphone.png?raw=true"> |
| 26 | + </div> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | + </div> |
| 30 | + |
| 31 | + <div class="section values"> |
| 32 | + <div id="video1"></div> |
| 33 | + <div class="container"> |
| 34 | + <div class="row"> |
| 35 | + <div class="one-third column value"> |
| 36 | + <h2 class="value-multiplier">90%</h2> |
| 37 | + <h5 class="value-heading">Ride Bikes</h5> |
| 38 | + <p class="value-description">Right! I wish...</p> |
| 39 | + </div> |
| 40 | + <div class="one-third column value"> |
| 41 | + <h2 class="value-multiplier">10%</h2> |
| 42 | + <h5 class="value-heading">Watch Game of Thrones</h5> |
| 43 | + <p class="value-description">R + L = J. No doubt about it.</p> |
| 44 | + </div> |
| 45 | + <div class="one-third column value"> |
| 46 | + <h2 class="value-multiplier">99%</h2> |
| 47 | + <h5 class="value-heading">Have No Idea What That Last Stat Means</h5> |
| 48 | + <p class="value-description">Good for them, they aren't wasting their time.</p> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + </div> |
| 52 | + </div> |
| 53 | + |
| 54 | + <div class="section get-help"> |
| 55 | + <div class="container"> |
| 56 | + <h3 class="section-heading">Don't forget to use the -multi css file!</h3> |
| 57 | + <p class="section-description">The difference between filling up your background or keeping Drive-In contained is just a few small styles.</p> |
| 58 | + <a class="button button-primary" href="https://github.com/ronik-design/react-drive-in/blob/master/dist/react-drive-in-multi.css">View Multi CSS</a> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + |
| 62 | + <div class="section categories"> |
| 63 | + <div id="video2"></div> |
| 64 | + <div class="container"> |
| 65 | + <h3 class="section-heading">Use Drive-In. It's Wicked Awesome</h3> |
| 66 | + <p class="section-description">And I'm not even from Boston.</p> |
| 67 | + <div class="row"> |
| 68 | + <div class="one-half column category"> |
| 69 | + <img class="u-max-full-width" src="https://raw.githubusercontent.com/dhg/Skeleton/gh-pages/examples/landing/images/placeholder.png?raw=true"> |
| 70 | + </div> |
| 71 | + <div class="one-half column category"> |
| 72 | + <img class="u-max-full-width" src="https://raw.githubusercontent.com/dhg/Skeleton/gh-pages/examples/landing/images/placeholder.png?raw=true"> |
| 73 | + </div> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + |
| 78 | + <script src="//cdnjs.cloudflare.com/ajax/libs/react/0.13.2/react-with-addons.min.js"></script> |
| 79 | + <script src="//cdnjs.cloudflare.com/ajax/libs/react/0.13.2/JSXTransformer.js"></script> |
| 80 | + <script src="/react-drive-in.js"></script> |
| 81 | + |
| 82 | + <script type="text/jsx"> |
| 83 | + var video1 = [ |
| 84 | + 'https://github.com/ronik-design/react-drive-in/blob/master/example/pelo.mp4?raw=true', |
| 85 | + 'https://github.com/ronik-design/react-drive-in/blob/master/example/pelo.ogv?raw=true', |
| 86 | + 'https://github.com/ronik-design/react-drive-in/blob/master/example/pelo.jpg?raw=true' |
| 87 | + ]; |
| 88 | + |
| 89 | + var video2 = [ |
| 90 | + 'https://github.com/ronik-design/react-drive-in/blob/master/example/kaledo.mp4?raw=true', |
| 91 | + 'https://github.com/ronik-design/react-drive-in/blob/master/example/kaledo.ogv?raw=true', |
| 92 | + 'https://github.com/ronik-design/react-drive-in/blob/master/example/kaledo.jpg?raw=true' |
| 93 | + ]; |
| 94 | + |
| 95 | + React.render( |
| 96 | + <ReactDriveIn show={video1} />, |
| 97 | + document.getElementById('video1') |
| 98 | + ); |
| 99 | + |
| 100 | + React.render( |
| 101 | + <ReactDriveIn show={video2} />, |
| 102 | + document.getElementById('video2') |
| 103 | + ); |
| 104 | + |
| 105 | + </script> |
| 106 | + </body> |
| 107 | +</html> |
0 commit comments