aboutsummaryrefslogtreecommitdiff
path: root/website/templates
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-09-25 23:08:51 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-10-26 00:09:15 +0200
commitac8c72bcdbef1d139f60fc4297da6ec83153b3ba (patch)
treecf2ef327d97130cc13e597a738560f9c10c8addf /website/templates
parent70e7bc2f952394042133b7975d0e79477ac245f1 (diff)
downloadlombok-ac8c72bcdbef1d139f60fc4297da6ec83153b3ba.tar.gz
lombok-ac8c72bcdbef1d139f60fc4297da6ec83153b3ba.tar.bz2
lombok-ac8c72bcdbef1d139f60fc4297da6ec83153b3ba.zip
The main page now clicks through to the video.
Diffstat (limited to 'website/templates')
-rw-r--r--website/templates/main.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/website/templates/main.html b/website/templates/main.html
index a0ead2cc..0591db4f 100644
--- a/website/templates/main.html
+++ b/website/templates/main.html
@@ -1,16 +1,16 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold load=["/js/supporters.js"]>
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Project Lombok" />
<p>
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.<br />
- Never write another getter or equals method again. Early access to future java features such as <code>val</code>, and much more.<br />
- Watch the 4 minute demo below to learn more!
+ Never write another getter or equals method again. Early access to future java features such as <code>val</code>, and much more.
</p>
</div>
<div class="video text-center">
- <video width="800" height="480" poster="/img/poster.png" controls="controls" preload="none">
+ <div id="clickForVideo"><span class="clickToTap">Click</span> to watch a 4 minute demo to learn more.</div>
+ <video id="demoVideo" hidden="hidden" width="800" height="480" poster="/img/poster.png" controls="controls" preload="none">
<source src="/videos/lombok.ogv" type="video/ogg" />
<source src="/videos/lombok.mp4" type="video/mp4" />
<source src="/videos/lombok-iPhone.m4v" type="video/mp4" />
@@ -36,9 +36,11 @@
</video>
<div class="row">
<div class="text-center">
- <a href="http://jnb.ociweb.com/jnb/jnbJan2010.html">I can't see video. Show me a text and images based explanation and tutorial instead!</a>
+ <a href="http://jnb.ociweb.com/jnb/jnbJan2010.html">Show me a text and images based explanation and tutorial instead!</a>
</div>
</div>
+ <div class="row supporterBar">
+ </div>
</div>
</div>
</@main.scaffold>