1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-01 15:55:36 +01:00
site/_src/_includes/hero-video.html
Matthias Kretschmann 71a557263e refactor the whole video js, ref #14
- make sure video only gets downloaded when needed
2016-02-10 01:11:09 +01:00

30 lines
927 B
HTML

<header class="hero hero-video">
{% include menu-main.html %}
<div class="hero__content hero-video__content row">
<hgroup>
<svg class="logo logo--full" aria-labelledby="title">
<title>Logo</title>
<use xlink:href="/assets/img/sprite.svg#logo"></use>
</svg>
<h1 class="section-title">{{ page.tagline }}</h1>
</hgroup>
<a href="#features" class="btn btn-link btn-sm">Learn More <svg class="icon">
<use xlink:href="/assets/img/sprite.svg#icon-caret"></use>
</svg></a>
</div>
<div class="hero-video__background">
<video class="hero-video__video" preload="none" loop>
<source src="/assets/videos/{{ page.hero_video_name }}.mp4" type="video/mp4">
<source src="/assets/videos/{{ page.hero_video_name }}.webm" type="video/webm">
</video>
</div>
</header>