Add parallax with scorllspy

This commit is contained in:
stephan 2020-02-18 14:54:14 +01:00
parent e409727ef1
commit 1fc61f4528
4 changed files with 187 additions and 80 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

View File

@ -1,18 +1,32 @@
{% extends "nopaque.html.j2" %} {% extends "nopaque.html.j2" %}
{% set full_width = False %} {% set parallax = True %}
{% set roadmap = False %}
{% block page_content %} {% block page_content %}
<style media="screen">
.grey.lighten-5 {
background-color: transparent !important;
}
</style>
{% if current_user.is_anonymous %} {% if current_user.is_anonymous %}
<div class="col s12 m4">
<div class="parallax-container">
<div class="parallax">
<img src="{{ url_for('static', filename='images/bible_text.jpg') }}" alt="">
</div>
</div>
<div class="section white scrollspy pin-top" id="registration">
<div class="row container">
<div class="col s12 m5">
<h3>No account?</h3> <h3>No account?</h3>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<a class="btn" href="{{ url_for('auth.register') }}"><i class="material-icons left">person_add</i>Register</a> <a class="btn" href="{{ url_for('auth.register') }}"><i class="material-icons left">person_add</i>Register</a>
</div> </div>
<div class="col s12 m8"> <div class="col s12 m5">
<div class="card"> <div class="card">
<form method="POST"> <form method="POST">
<div class="card-content"> <div class="card-content">
@ -54,15 +68,35 @@
</div> </div>
</form> </form>
</div> </div>
</div>
<div class="col s12 m2">
<ul class="section table-of-contents">
{% if current_user.is_anonymous %}
<li><a href="#registration">Registration</a></li>
{% endif %}
<li><a href="#information">Information</a></li>
<li><a href="#services">Services and Processes</a></li>
<li><a href="#workflow">Workflow</a></li>
</ul>
</div>
</div>
</div> </div>
{% endif %} {% endif %}
<div class="col s12"> <!-- <div class="col s12">
<h3>&nbsp;</h3> <h3>&nbsp;</h3>
</div> -->
<div class="parallax-container">
<div class="parallax">
<img src="{{ url_for('static', filename='images/german_text_book_paper.jpg') }}" alt="">
</div>
</div> </div>
<div class="col s12 l10 offset-l1"> <div class="section white scrollspy" id="information">
<div class="row">
<div class="row container">
<div class="col s12 m10">
<div class="col s3 center-align"> <div class="col s3 center-align">
<i class="large material-icons" style="color: #ee6e73;">flash_on</i> <i class="large material-icons" style="color: #ee6e73;">flash_on</i>
<p>Speeds up your work</p> <p>Speeds up your work</p>
@ -84,14 +118,35 @@
<p class="light">We have provided detailed documentation as well as specific code examples to help new users get started.</p> <p class="light">We have provided detailed documentation as well as specific code examples to help new users get started.</p>
</div> </div>
</div> </div>
<div class="col s12 m2">
<ul class="section table-of-contents">
{% if current_user.is_anonymous %}
<li><a href="#registration">Registration</a></li>
{% endif %}
<li><a href="#information">Information</a></li>
<li><a href="#services">Services and Processes</a></li>
<li><a href="#workflow">Workflow</a></li>
</ul>
</div>
</div>
</div> </div>
<div class="col s12 m4"> <div class="parallax-container">
<div class="parallax">
<img src="{{ url_for('static', filename='images/chapter_book_text_tale.jpg') }}" alt="">
</div>
</div>
<div class="section white scrollspy" id="services">
<div class="row container">
<div class="col s12 m5">
<h3>Processes and Services</h3> <h3>Processes and Services</h3>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.</p> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.</p>
</div> </div>
<div class="col s12 m8">
<div class="col s12 m5">
<br class="hide-on-small-only"> <br class="hide-on-small-only">
<ul class="collection"> <ul class="collection">
<li class="collection-item avatar"> <li class="collection-item avatar">
@ -119,9 +174,61 @@
<a href="#!" class="secondary-content"><i class="material-icons">help</i></a> <a href="#!" class="secondary-content"><i class="material-icons">help</i></a>
</li> </li>
</ul> </ul>
</div>
<div class="col s12 m2">
<ul class="section table-of-contents">
{% if current_user.is_anonymous %}
<li><a href="#registration">Registration</a></li>
{% endif %}
<li><a href="#information">Information</a></li>
<li><a href="#services">Services and Processes</a></li>
<li><a href="#workflow">Workflow</a></li>
</ul>
</div>
</div> </div>
<div class="col s12">
<h3>Get things done with nopaque</h3>
</div> </div>
<div class="parallax-container">
<div class="parallax">
<img src="{{ url_for('static', filename='images/bible_text.jpg') }}" alt="">
</div>
</div>
<div class="section white scrollspy" id="workflow">
<div class="row container">
<div class="col s12 m10">
<h3>Get things done with nopaque</h3>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
</p>
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
</p>
<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
</p>
<p>Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
</p>
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis.
</p>
<p>At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur
</p>
</div>
<div class="col s12 m2">
<ul class="section table-of-contents">
{% if current_user.is_anonymous %}
<li><a href="#registration">Registration</a></li>
{% endif %}
<li><a href="#information">Information</a></li>
<li><a href="#services">Services and Processes</a></li>
<li><a href="#workflow">Workflow</a></li>
</ul>
</div>
</div>
</div>
<div class="parallax-container">
<div class="parallax">
<img src="{{ url_for('static', filename='images/german_text_book_paper.jpg') }}" alt="">
</div>
</div>
{% endblock %} {% endblock %}