diff --git a/hshassets/templates/hshassets/layout/hero.html b/hshassets/templates/hshassets/layout/hero.html index c074de3a291f83bd1253b4cc11fc8e48abd832d3..8c7d44d244c7c0ee67c60a4732754ccf35e63b6e 100644 --- a/hshassets/templates/hshassets/layout/hero.html +++ b/hshassets/templates/hshassets/layout/hero.html @@ -3,8 +3,8 @@ {% block body %} <section class="hero is-dark"> - <div class="hero-head"> - {% block hero-head %} + {% block hero-head %} + <div class="hero-head"> <div class="container"> <nav class="nav"> <div class="nav-left"> @@ -22,19 +22,17 @@ </div> </nav> </div> - {% endblock %} - </div> - <div class="hero-body"> - {% block hero-body %} + </div> + {% endblock %} + {% block hero-body %} + <div class="hero-body"> <div class="container"> <p class="title">{% block hero-title %}{% endblock %}</p> <p class="subtitle">{% block hero-subtitle %}{% endblock %}</p> </div> - {% endblock %} - </div> - <div class="hero-foot"> - {% block hero-foot %}{% endblock %} - </div> + </div> + {% endblock %} + {% block hero-foot %}{% endblock %} </section> {% block pre-section %}{% endblock %} diff --git a/hshassets/templates/hshassets/layout/hero_keyvisual.html b/hshassets/templates/hshassets/layout/hero_keyvisual.html index 11ee606d45cf4b86f563e99b9c0c7add8dfd0723..94e9330a6657023cc888488c4b652dca06e04896 100644 --- a/hshassets/templates/hshassets/layout/hero_keyvisual.html +++ b/hshassets/templates/hshassets/layout/hero_keyvisual.html @@ -1,77 +1,11 @@ -{% extends "hshassets/layout/base.html" %} +{% extends "hshassets/layout/hero.html" %} {% load staticfiles %} -{% block body %} - <section class="hero is-dark"> - <div class="hero-head"> - {% block hero-head %} - <div class="container"> - <nav class="nav"> - <div class="nav-left"> - <a class="nav-item is-brand" href="/"> - <span class="icon"><img src="{% static 'hshassets/img/hsh_brand/logo/service/32x64.png' %}" alt="" /></span> - Hochschule Hannover - </a> - </div> - <div class="nav-right"> - <a class="nav-item" href="https://www.hs-hannover.de/">hs-hannover.de</a> - </div> - </nav> - </div> - {% endblock %} +{% block hero-body %} + <div class="hero-body keyvisual-wrapper"> + <div class="container keyvisual" style="background-image: url({% static 'hshassets/img/hsh_brand/keyvisual.png' %});"> + <p class="title">{% block hero-title %}{% endblock %}</p> + <p class="subtitle">{% block hero-subtitle %}{% endblock %}</p> </div> - <div class="hero-body keyvisual-wrapper"> - {% block hero-body %} - <div class="container keyvisual" style="background-image: url({% static 'hshassets/img/hsh_brand/keyvisual.png' %});"> - <p class="title">{% block hero-title %}{% endblock %}</p> - <p class="subtitle">{% block hero-subtitle %}{% endblock %}</p> - </div> - {% endblock %} - </div> - <div class="hero-foot"> - {% block hero-foot %}{% endblock %} - </div> - </section> - - {% block pre-section %}{% endblock %} - {% block section %} - <section class="section" id="hshassets-single-section"> - <div class="container"> - {% block container %}{% endblock %} - </div> - </section> - {% endblock %} - {% block post-section %}{% endblock %} - - <footer class="footer"> - <div class="container"> - {% block footer %} - <div class="is-hidden-touch is-clearfix"> - <div class="is-pulled-left"> - <a href="/imprint/">Impressum</a> • - <a href="/privacy/">Datenschutz</a> - </div> - <div class="is-pulled-right"> - <p><b>Hochschule Hannover</b></p> - <p><abbr title="Telefon">T:</abbr> +49 511 9296 1441</p> - <p><abbr title="Email">E:</abbr> <a href="mailto:support-it@hs-hannover.de">support-it@hs-hannover.de</a></p> - <p><abbr title="Internet">I:</abbr> <a href="https://www.hs-hannover.de/it">https://hs-hannover.de/it</a></p> - </div> - </div> - <div class="is-hidden-desktop"> - <div class="has-text-centered"> - <p> - <a href="/imprint/">Impressum</a> • - <a href="/privacy/">Datenschutz</a> - </p> - <hr> - <p><b>Hochschule Hannover</b></p> - <p><abbr title="Telefon">T:</abbr> <a href="tel:+4951192961441">+49 511 9296 1441</a></p> - <p><abbr title="Email">E:</abbr> <a href="mailto:support-it@hs-hannover.de">support-it@hs-hannover.de</a></p> - <p><abbr title="Internet">I:</abbr> <a href="https://www.hs-hannover.de/it">https://hs-hannover.de/it</a></p> - </div> - </div> - {% endblock %} - </div> - </footer> + </div> {% endblock %}