mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
Hero content and variable i18n example.
This commit is contained in:
parent
63c812a569
commit
49629b0c18
15 changed files with 554 additions and 253 deletions
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% if page.title %}{% t page.title %} — {% endif %}Dash</title>
|
||||
<meta name="description" content="{{ page.description }}">
|
||||
<meta name="description" content="{% t page.description %}">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
|
||||
|
@ -34,34 +34,6 @@
|
|||
|
||||
<body>
|
||||
|
||||
<!-- Hero -->
|
||||
<div id="hero">
|
||||
<div id="background-video">
|
||||
<video loop autoplay width="100%" height="auto" poster="assets/img/Home-BG.jpg" class="background-video">
|
||||
<!-- <source src="assets/videos/Home-BG.m4v" type="video/mp4">
|
||||
<source src="assets/videos/Home-BG.webm" type="video/webm">
|
||||
<source src="assets/videos/Home-BG" type="video/ogg"> -->
|
||||
</video>
|
||||
</div>
|
||||
<div id="top" class="content">
|
||||
<a href="#"><img src="/assets/img/logo-white.png" alt="Dash" class="logo"></a>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
|
||||
<div class="button_container" id="toggle">
|
||||
<span class="top"></span>
|
||||
<span class="middle"></span>
|
||||
<span class="bottom"></span>
|
||||
</div>
|
||||
<span class="clear"></span>
|
||||
</div>
|
||||
<h1 class="content">{% t pages.home.hero-h1 %}</h1>
|
||||
<p class="content">{% t pages.home.hero-text %}</p>
|
||||
<div class="content">
|
||||
<a href="#" class="btn-blue">{% t nav.get-dash %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ content }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue