From d3396ce232c054f879619fd36ab24f79bed9e69e Mon Sep 17 00:00:00 2001 From: Yves Gatesoupe Date: Wed, 15 Jul 2020 00:14:56 +0200 Subject: [PATCH] Contact navigation link on every pages Member list minor fix Moved member template to layouts folder --- src/_data/navigation.json | 2 +- .../{partials/components => layouts}/member.njk | 5 +++-- src/_includes/partials/components/contact-form.njk | 2 +- src/_includes/partials/components/member-list.njk | 4 ++-- src/scss/components/_member-list.scss | 10 +++++----- 5 files changed, 12 insertions(+), 11 deletions(-) rename src/_includes/{partials/components => layouts}/member.njk (90%) diff --git a/src/_data/navigation.json b/src/_data/navigation.json index 1504cff..2e0ef6b 100644 --- a/src/_data/navigation.json +++ b/src/_data/navigation.json @@ -22,7 +22,7 @@ }, { "text": "Nous contacter", - "url": "/nous-contacter", + "url": "#contact-form", "external": false } ] diff --git a/src/_includes/partials/components/member.njk b/src/_includes/layouts/member.njk similarity index 90% rename from src/_includes/partials/components/member.njk rename to src/_includes/layouts/member.njk index eac2cd1..f3c1612 100644 --- a/src/_includes/partials/components/member.njk +++ b/src/_includes/layouts/member.njk @@ -4,7 +4,7 @@ {% block content %}
-
+

{{ name }}

@@ -31,6 +31,7 @@
Voir tous les membres -
+ + {% include "partials/components/contact-form.njk" %}
{% endblock %} diff --git a/src/_includes/partials/components/contact-form.njk b/src/_includes/partials/components/contact-form.njk index 01dcccc..6b506a0 100644 --- a/src/_includes/partials/components/contact-form.njk +++ b/src/_includes/partials/components/contact-form.njk @@ -3,7 +3,7 @@
-

Nous contacter

+

Nous contacter

    {#
  1. diff --git a/src/_includes/partials/components/member-list.njk b/src/_includes/partials/components/member-list.njk index aa1038c..08e90a1 100644 --- a/src/_includes/partials/components/member-list.njk +++ b/src/_includes/partials/components/member-list.njk @@ -20,8 +20,8 @@ {% endfor %}
  2. Vous êtes porteur d’un projet entrepreneurial en numérique et nouvelles technologies ?

    - Rejoignez-nous - + Rejoignez-nous +
diff --git a/src/scss/components/_member-list.scss b/src/scss/components/_member-list.scss index 7aea974..9dd52f6 100644 --- a/src/scss/components/_member-list.scss +++ b/src/scss/components/_member-list.scss @@ -20,11 +20,11 @@ align-items: center; color: var(--color-dark); - a, - a:visited { - text-decoration: none; - color: var(--color-dark); - } + // a, + // a:visited { + // text-decoration: none; + // color: var(--color-dark); + // } img { border-radius: 50%;