123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- {% extends "main.html" %}
-
- {% block tabs %}
- {{ super() }}
-
- <style>
- .md-main {
- display: none;
- }
-
- .md-nav {
- display: none;
- }
-
- .md-header {
- box-shadow: none !important;
- }
-
- :root {
- --md-secondary-fg-color: #8ef;
- }
-
- .md-button {
- --md-primary-bg-color: #4051b5;
- --md-primary-fg-color: var(--md-secondary-fg-color);
- --md-accent-fg-color: var(--md-secondary-fg-color);
- --md-accent-bg-color: var(--md-primary-fg-color--light);
- margin-top: 8px;
- margin-bottom: 8px;
- }
-
- #splash {
- display: flex;
- align-items: center;
- flex-grow: 1;
- background-color: var(--md-primary-fg-color);
- color: var(--md-primary-bg-color);
- padding-left: 16px;
- padding-right: 16px;
- }
-
- .splash-container {
- display: flex;
- align-items: stretch;
- flex-direction: column;
- }
-
- .splash-text {
- font-size: 16pt;
- padding: 0 14px 0 14px; /* align to header */
- text-align: center;
- }
-
- .splash-image {
- text-align: center;
- margin-top: 32px;
- margin-bottom: 32px;
- }
-
- .splash-text em {
- font-style: normal;
- color: var(--md-secondary-fg-color);
- }
-
- .splash-text h2 {
- margin: 0.5em 0 0.5em 0;
- }
-
- .splash-image > video {
- width: 80%;
- border-radius: 32px;
- border: 4px solid var(--md-primary-fg-color--light);
- }
-
- @media screen and (min-width: 1220px) {
- .splash-container {
- align-items: center;
- flex-direction: row;
- }
-
- .splash-text {
- flex: 14;
- text-align: left;
- }
-
- .splash-image {
- flex: 9;
- text-align: right;
- margin-top: 0;
- margin-bottom: 0;
- }
-
- .splash-image > video {
- width: 100%;
- }
- }
-
- @keyframes appear {
- from { transform: translateY(10%); opacity: 0.01; }
- to { transform: translateX(0); opacity: 1; }
- }
-
- .appear {
- animation: appear 0.5s ease-out 0.2s;
- animation-fill-mode: both;
- }
-
- .text-center {
- text-align: center;
- }
- </style>
-
- <section id="splash" data-md-color-primary="indigo">
- <div class="splash-container md-grid">
- <div class="splash-text md-typeset appear text-center">
- <h2><em>Create Augmented Reality experiences for the web.</em></h2>
- <p>No need to download apps. No need of AR hardware. Free and open-source.</p>
- <a href="{{ './getting-started' | url }}" class="md-button md-button--primary">Get started</a>
- <a href="{{ './demo' | url }}" class="md-button">Try a demo</a>
- </div>
- <!--
- <div class="splash-image">
- <video poster="{{ './img/demo-cool3.webp' | url }}" muted loop playsinline autoplay>
- <source src="{{ './img/demo-cool3.webm' | url }}" type="video/webm" />
- <source src="{{ './img/demo-cool3.mp4' | url }}" type="video/mp4" />
- </video>
- </div>
- -->
- </div>
- </section>
-
- {% endblock %}
-
- {% block announce %}{% endblock %}
- {% block site_nav %}{% endblock %}
- {% block content %}{% endblock %}
- {% block footer %}{% endblock %}
|