diff --git a/src/_data/navigation.json b/src/_data/navigation.json index 87c826d..1504cff 100644 --- a/src/_data/navigation.json +++ b/src/_data/navigation.json @@ -12,7 +12,7 @@ }, { "text": "L'équipe", - "url": "/l-equipe", + "url": "/equipe", "external": false }, { diff --git a/src/_includes/layouts/team.njk b/src/_includes/layouts/team.njk new file mode 100644 index 0000000..b59a92b --- /dev/null +++ b/src/_includes/layouts/team.njk @@ -0,0 +1,9 @@ +{% extends 'layouts/base.njk' %} + +{% set teamListItems = collections.members %} + +{% block content %} +
+ {% include "partials/components/member-list.njk" %} +
+{% endblock %} diff --git a/src/_includes/partials/components/member-list.njk b/src/_includes/partials/components/member-list.njk new file mode 100644 index 0000000..65937c5 --- /dev/null +++ b/src/_includes/partials/components/member-list.njk @@ -0,0 +1,27 @@ +
+
+

{{ teamListHeading }}

+ {{ content | safe }} + {% if teamListItems.length %} +
    + {% for item in teamListItems %} +
  1. + +
    + profil de {{ item.data.title}} +
    +

    {{ item.data.name }}

    +

    {{ item.data.position }}

    +
    +
  2. + {% endfor %} +
  3. +

    Vous êtes porteur d’un projet entrepreneurial en numérique et nouvelles technologies ?

    + Rejoignez-nous + + +
  4. +
+ {% endif %} +
+
diff --git a/src/_includes/partials/components/member.njk b/src/_includes/partials/components/member.njk new file mode 100644 index 0000000..99ad446 --- /dev/null +++ b/src/_includes/partials/components/member.njk @@ -0,0 +1,11 @@ +{% extends 'layouts/base.njk' %} + +{% set title = name %} + +{% block content %} +
+
+

{{ content | safe }}

+
+
+{% endblock %} diff --git a/src/images/default-profile.svg b/src/images/default-profile.svg new file mode 100644 index 0000000..87f0539 --- /dev/null +++ b/src/images/default-profile.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/images/fls-profile.jpg b/src/images/fls-profile.jpg new file mode 100644 index 0000000..164c385 Binary files /dev/null and b/src/images/fls-profile.jpg differ diff --git a/src/images/social-share.jpg b/src/images/social-share.jpg deleted file mode 100644 index c991765..0000000 Binary files a/src/images/social-share.jpg and /dev/null differ diff --git a/src/images/vg-profile.jpg b/src/images/vg-profile.jpg new file mode 100644 index 0000000..f128b7e Binary files /dev/null and b/src/images/vg-profile.jpg differ diff --git a/src/images/yg-profile.jpg b/src/images/yg-profile.jpg new file mode 100644 index 0000000..5a9cc91 Binary files /dev/null and b/src/images/yg-profile.jpg differ diff --git a/src/members/florent-le-saout.md b/src/members/florent-le-saout.md new file mode 100644 index 0000000..43bafc7 --- /dev/null +++ b/src/members/florent-le-saout.md @@ -0,0 +1,11 @@ +--- +name: 'Florent Le Saout' +position: 'Développeur systèmes embarqués' +positionInternal: 'Co-fondateur' +date: '2019-01-01' +profile: '/images/fls-profile.jpg' +url: '/members/florent-le-saout' +layout: 'partials/components/member.njk' +--- + +Florent diff --git a/src/members/francois-bonningues.md b/src/members/francois-bonningues.md new file mode 100644 index 0000000..d4c0285 --- /dev/null +++ b/src/members/francois-bonningues.md @@ -0,0 +1,10 @@ +--- +name: 'François Bonningues' +position: 'Développeur systèmes embarqués' +date: '2020-06-01' +profile: '/images/default-profile.svg' +url: '/members/francois-bonningues' +layout: 'partials/components/member.njk' +--- + +François diff --git a/src/members/vincent-genieux.md b/src/members/vincent-genieux.md new file mode 100644 index 0000000..20ee19f --- /dev/null +++ b/src/members/vincent-genieux.md @@ -0,0 +1,11 @@ +--- +name: 'Vincent Génieux' +position: 'Développeur senior' +positionInternal: 'Co-fondateur' +date: '2019-01-01' +profile: '/images/vg-profile.jpg' +url: '/members/vincent-genieux' +layout: 'partials/components/member.njk' +--- + +Vincent diff --git a/src/members/yves-gatesoupe.md b/src/members/yves-gatesoupe.md new file mode 100644 index 0000000..f2178d0 --- /dev/null +++ b/src/members/yves-gatesoupe.md @@ -0,0 +1,10 @@ +--- +name: 'Yves Gatesoupe' +position: 'Designer Web' +date: '2020-06-01' +profile: '/images/yg-profile.jpg' +url: '/members/yves-gatesoupe' +layout: 'partials/components/member.njk' +--- + +Yves diff --git a/src/pages/equipe.md b/src/pages/equipe.md new file mode 100644 index 0000000..36efd21 --- /dev/null +++ b/src/pages/equipe.md @@ -0,0 +1,9 @@ +--- +title: 'L''équipe Astrolabe' +permalink: '/equipe/index.html' +layout: 'layouts/team.njk' +teamListHeading: 'L''équipe Astrolabe' +--- + +Astrolabe CAE est confondée par Florent Le Saout et Vincent Génieux en 2019. +Ils mettent le fruit de ce travail commun à disposition des membres de la coopérative. diff --git a/src/scss/components/_button.scss b/src/scss/components/_button.scss index 3a04160..ad1623f 100644 --- a/src/scss/components/_button.scss +++ b/src/scss/components/_button.scss @@ -52,6 +52,10 @@ margin-left: 2rem; } + svg { + margin-left: .5rem; + } + &.btn-primary { color: var(--color-dark); background-color: var(--color-primary); diff --git a/src/scss/components/_member-list.scss b/src/scss/components/_member-list.scss new file mode 100644 index 0000000..5a76281 --- /dev/null +++ b/src/scss/components/_member-list.scss @@ -0,0 +1,56 @@ +.member-list { + margin-bottom: 8rem; + + &__heading { + margin: 8rem 0 2rem; + } + &__items { + margin-top: 4rem; + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-template-rows: auto; + grid-column-gap: 1.5rem; + grid-row-gap: 6rem; + } + + &__item { + color: var(--color-dark); + + a, + a:visited { + text-decoration: none; + color: var(--color-dark); + } + + .img-wrapper { + overflow: hidden; + max-height: 22rem; + } + + h3 { + margin-top: 1rem; + font-size: 1.375rem; + + + p { + font-size: 1.125rem; + } + } + + &.info { + display: flex; + flex-direction: column; + background-color: var(--color-secondary); + color: var(--color-white); + padding: 2rem; + font-size: 1.75rem; + font-weight: 600; + + .btn { + align-self: flex-start; + margin-top: auto; + + + } + } + } +} diff --git a/src/scss/components/_member.scss b/src/scss/components/_member.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/scss/global.scss b/src/scss/global.scss index cf90273..a15ee35 100644 --- a/src/scss/global.scss +++ b/src/scss/global.scss @@ -70,6 +70,8 @@ img { @import 'components/pagination'; @import 'components/post'; @import 'components/post-list'; +@import 'components/member'; +@import 'components/member-list'; @import 'components/news-list'; @import 'components/presentation'; @import 'components/site-head';