Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 381 lines (324 sloc) 8.721 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>NodeConf 2012 - {{name}}</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  article, aside, details, figcaption, figure, footer, header,
  hgroup, menu, nav, section { display: block; }

  html {font-size:100.01%;}
  body {
    margin: 0;
    font-size: 100%;
    color: #059fd2;
    background: #f4ede7 url(../images/bg.png) repeat 0 0;
    font-weight: 400;
  }
  body, input, textarea {
    font-family: "Proxima Nova", "proxima-nova-alt", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
  .main {
/* background: rgba(255,255,255,.7); */
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    min-width: 280px;

    max-width: 640px;

    padding: 0 0px;

    border-top: 6px solid #059fd2;
  }

  header {
    margin-bottom: 10px;
  }

  .btn_cntr {
    width: 268px;
    margin: 24px auto;
    padding: 12px 0;
    border-top: 3px dotted #FFF;
    border-bottom: 3px dotted #FFF;
  }

  .btn {
    display: block;
    width: 180px;
    height: 60px;
    margin: 12px auto;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #FFF;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 60px;
    font-size: 24px;
    letter-spacing: .15em;
  }

  a.btn,
  a.btn:link,
  a.btn:visited {
    color: #FFF;
    text-decoration: none;
    background-color: #059fd2;
  }

  a.btn:hover,
  a.btn:active,
  a.btn:focus {
    color: #FFF;
    text-decoration: none;
    background-color: #05c5ea;
  }

  .sponsors {
    margin-bottom: 4.5em;
    padding: 3em 0;
    text-align: left;
    overflow: hidden;
  }
  .images-sponsors {
    margin: 0 auto;
    max-width: 1200px;
  }
  .sponsors-logo {
    max-width: 40%;
    padding: 4%;
  }

  h1, h2, h3, h4 {
    color: #f94e38;
  }

  h1 {
    font-weight: bold;
    font-size: 4em;
    letter-spacing: .01em;
    line-height: 1.5;
    display: block;
    width: 268px;
    height: 268px;
    margin: 36px auto;
    background: transparent url(../images/nodeconf_logo_small.png) no-repeat 50% 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }
  .info {
    display: block;
    text-transform: uppercase;
    letter-spacing: .25em;
  }

  .info span {
    text-align: center;
    display: block;
    font-weight: 800;
  }

  .location {
    font-size: 32px;
  }
  .speaker {
    font-size: 28px;
  }

  .date {
    font-size: 16px;
    letter-spacing: .15em;
  }

  h2 {
    font-weight: 800;

    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .25em;

    text-align: center;
  }
  section {
    text-align: left;
    margin-bottom: 10px;
  }

  p {
    margin-bottom: 1.5em;
  }
  a,
  a:link,
  a:visited {
    color: #F94E38;
    text-decoration: underline;
  }
  a:hover,
  a:active,
  a:focus {
    color: #E53A24;
    text-decoration: underline;
  }

 /*
.rhomb {
display: inline-block;
width: .25em;
height: .25em;
background: #ECE2D8;
-webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transform-origin: 0 100%; -moz-transform-origin: 0 100%; -ms-transform-origin: 0 100%; -o-transform-origin: 0 100%; transform-origin: 0 100%;
}
*/
  .hint {
    background: #F94E38;
    color: #FFF;
    padding: 1em;
  }

  .hint a,
  .hint a:link,
  .hint a:visited {
    color: #FFF;
    text-decoration: underline;
  }
  .hint a:hover,
  .hint a:active,
  .hint a:focus {
    color: #FFF;
    text-decoration: underline;
  }

  div.images {
    width: 100%;
  }
  div.images img {
    width: 48%;
    padding-left: 1%;
    text-align: center;
  }


  footer {
    background: #059fd2;
    color: #7bd0ec;
    font-size: 14px;
    margin: 0;
    padding: 24px 0;
    text-align: center;
  }

  footer a,
  footer a:link,
  footer a:visited {
    color: #f4ede7;
    text-decoration: none;
  }

  footer a:hover,
  footer a:active,
  footer a:focus {
    color: #f4ede7;
    text-decoration: underline;
  }
  
  

</style>

<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

<script type="text/javascript" src="http://use.typekit.com/ioc3jun.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>


<script type="text/javascript">
  var analyticsFileTypes = [''];
  var analyticsEventTracking = 'enabled';
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-33374925-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
  <div class="main">

      <header>
        <h1>
          NodeConf Theatre 2012
        </h1>
      </header>
      
      <p class="info">
        <span class="location">NodeConf Theatre 2012</span>
        <span class="speaker">{{name}}</span>
      </p>

  </div>

  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  <script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script>
  <style>
  div#video-container {
    text-align:center;
    margin-bottom:20px;
  }
  video#nodevideo {
    border-style:solid;
    border-width:5px;
    border-color:white;
  }
  </style>

  <div id="video-container">
  
    <video id="nodevideo" height="480" poster="{{poster}}" controls>
      <source src="{{m4v}}" />
      <source src="{{ogv}}" />
    </video>
    <div id="footnotediv"></div>
  </div>
  
  <div class="main">
  
    <section class="sponsors">
      <h2>Sponsors</h2>

      <div class="images-sponsors">
        <a href="http://www.yammer.com"><img class="sponsors-logo" src="../images/logo_yammer.png" /></a>
        <a href="http://www.joyent.com"><img class="sponsors-logo" src="../images/logo_joyent.png" /></a>
      </div>
      <div class="images-sponsors">
        <a href="http://www.voxer.com"><img class="sponsors-logo" src="../images/logo_voxer.png" /></a>
        <a href="http://www.nodejitsu.com"><img class="sponsors-logo" src="../images/logo_nodejitsu.png" /></a>
      </div>
      <div class="images-sponsors">
        <a href="http://andyet.net" style="text-decoration:none">
          <img class="sponsors-logo" style="max-height:120px;padding-right:15%;padding-left:15%;padding-top:0" src="../images/andyet-logo.png" />
        </a>
        <a href="http://www.ensighten.com/">
          <img class="sponsors-logo" src="../images/ensighten_logo_large.png" style="margin-bottom:10px"/>
        </a>
      </div>
    
      <div class="images-sponsors">
        <a href="http://www.mozilla.org" style="text-decoration:none">
          <img class="sponsors-logo" src="../images/mozilla.png" style="margin-left:20px" ></img>
        </a>
        <a href="http://www.sendgrid.com">
          <img class="sponsors-logo" src="../images/sendgrid.png" style="margin-left:40px" />
        </a>
      </div>
    </section>
  </div>
  
  <div id="nodisplay-container" style="visibility:hidden;"></div>
  
  <script>
  
  var ads =
    [ 'http://tenconf.s3.amazonaws.com/sponsors/joyent.png'
    , 'http://tenconf.s3.amazonaws.com/sponsors/andyet.png'
    , 'http://tenconf.s3.amazonaws.com/sponsors/yammer.png'
    , 'http://tenconf.s3.amazonaws.com/sponsors/nodejitsu.png'
    ]
  
  var index = Math.floor(Math.random()*ads.length + 1) - 1
  var img = $('<img id="video-bumper" src="'+ads[index]+'"></img>')
  $('#nodisplay-container').append(img)
  img.load(function () {
    img.remove()
  })
  
  // ensure the web page (DOM) has loaded
  document.addEventListener("DOMContentLoaded", function () {

    // Create a popcorn instance by calling Popcorn("#id-of-my-video")
    var pop = Popcorn("#nodevideo");
    var advertHandler = function () {
      pop.pause()
      var t = $('#nodevideo')
        , pos = t.offset()
        ;
      img.appendTo('#video-container')
      img.css('position', 'absolute')
      img.css({left:pos.left + 5, top:pos.top + 5 })
      img.css({height:t.height(), width:t.width() + 1})
      setTimeout(function () {
        img.hide()
        pop.play()
        pop.off('play', advertHandler)
      }, 2000)
    }
    pop.on('play', advertHandler)
   
  }, false);
  
  </script>

  <footer>
  </footer>


</body>
</html>
Something went wrong with that request. Please try again.