Contact form on every pages

This commit is contained in:
Yves Gatesoupe 2020-07-14 20:30:02 +02:00
parent 9b865e1711
commit ea030b3af7
4 changed files with 9 additions and 5 deletions

View File

@ -5,7 +5,7 @@
{% set newsListItems = collections.newsFeed %}
{% block content %}
<main id="main-content" tabindex="-1">
<main id="main-content" class="home" tabindex="-1">
{% include "partials/components/intro.njk" %}
{% include "partials/components/news-list.njk" %}
{% include "partials/components/post-list.njk" %}

View File

@ -7,5 +7,6 @@
{{ content | safe }}
</div>
</article>
{% include "partials/components/contact-form.njk" %}
</main>
{% endblock %}

View File

@ -5,5 +5,6 @@
{% block content %}
<main id="main-content" tabindex="-1">
{% include "partials/components/member-list.njk" %}
{% include "partials/components/contact-form.njk" %}
</main>
{% endblock %}

View File

@ -1,14 +1,16 @@
/* Form */
.home .form-container {
svg > path:first-child {
fill: #f1f0f6;
}
}
.form-container {
padding: 0 0 6rem;
background-color: var(--color-primary);
color: var(--color-dark);
svg > path:first-child {
fill: #f1f0f6;
}
.contact-heading {
margin: 2rem 0 4rem;
}