Skip to content
Snippets Groups Projects
Commit d1c75643 authored by codecraft's avatar codecraft :crocodile:
Browse files

Bessere differenzierung der Unterüberschriften im Projekte Menü,

Hero element mit claims Zentriert und unüberlappend
parent 71e7cfda
No related branches found
No related tags found
1 merge request!28Neue Website basierend auf Zola
<section class="hero is-fullheight-with-navbar has-teckids-orange-light-bg" id="frontpage-claim-block"> <section
<div class="hero-body"> class="hero is-fullheight-with-navbar has-teckids-orange-light-bg"
<div class="columns is-centered is-half"> id="frontpage-claim-block"
<h1 class="title is-1">{{ section.extra.headlines.claims }}</h1> >
</div> <div class="hero-body">
<div class="columns"> <div class="container">
{% for claim in section.extra.claims %} <div class="columns is-centered is-half mb-6">
<div class="column"> <h1 class="title is-1">{{ section.extra.headlines.claims }}</h1>
<div class="box is-shadowless"> </div>
<h1 class="title is-3">{{ claim.title }}</h1> <div class="columns">
<p> {% for claim in section.extra.claims %}
{{ claim.content }} <div class="column">
</p> <div class="box is-shadowless">
</div> <h1 class="title is-3">{{ claim.title }}</h1>
</div> <p>{{ claim.content }}</p>
{% endfor %} </div>
</div> </div>
{% endfor %}
</div>
</div> </div>
</div>
</section> </section>
...@@ -3,19 +3,21 @@ ...@@ -3,19 +3,21 @@
<div class="container is-fluid"> <div class="container is-fluid">
<div class="columns"> <div class="columns">
{% for project in projects.items %} {% for project in projects.items %}
<section class="column menu-project-section" id="menu-project-section-{{ project.slug }}"> <section
{% set section = get_section(path = "projekte/" ~ project.slug ~ "/_index.md") %} class="column menu-project-section"
id="menu-project-section-{{ project.slug }}"
>
{% set section = get_section(path = "projekte/" ~ project.slug ~
"/_index.md") %}
<h1 class="title is-6 is-mega-menu-title">{{ section.title }}</h1> <h1 class="title is-6 is-mega-menu-title">{{ section.title }}</h1>
<p class="is-mega-menu-subtitle">{{ section.description }}</p> <strong class="is-mega-menu-subtitle">{{ section.description }}</strong>
{% for page in project.pages %} {% for page in project.pages %}
<a class="navbar-item" href="{{ page.permalink }}"> <a class="navbar-item" href="{{ page.permalink }}">
<div class="navbar-content"> <div class="navbar-content">{{ page.title }}</div>
{{ page.title }}
</div>
</a> </a>
{% endfor %} {% endfor %}
</section> </section>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment