changed sponsor term to partner
@ -76,12 +76,12 @@ module.exports = function(config) {
|
|||||||
config.addCollection('customers', collection => {
|
config.addCollection('customers', collection => {
|
||||||
return [...collection.getFilteredByGlob("./src/customers/*.md")]
|
return [...collection.getFilteredByGlob("./src/customers/*.md")]
|
||||||
.reverse()
|
.reverse()
|
||||||
.slice(0, site.maxSponsorPerPage);
|
.slice(0, site.maxPartnerPerPage);
|
||||||
});
|
});
|
||||||
config.addCollection('sponsors', collection => {
|
config.addCollection('partners', collection => {
|
||||||
return [...collection.getFilteredByGlob("./src/sponsors/*.md")]
|
return [...collection.getFilteredByGlob("./src/partners/*.md")]
|
||||||
.reverse()
|
.reverse()
|
||||||
.slice(0, site.maxSponsorPerPage);
|
.slice(0, site.maxPartnerPerPage);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Plugins
|
// Plugins
|
||||||
|
12
README.md
@ -104,7 +104,7 @@ Fill in the meta information :
|
|||||||
|
|
||||||
Then add the member bio or any content
|
Then add the member bio or any content
|
||||||
|
|
||||||
### Customers & Sponsors
|
### Customers & Partners
|
||||||
|
|
||||||
The two are listed on the home page in different section. There is maximum of four per section, in reversed order regarding the date of addition.
|
The two are listed on the home page in different section. There is maximum of four per section, in reversed order regarding the date of addition.
|
||||||
|
|
||||||
@ -118,12 +118,12 @@ Fill in the meta information :
|
|||||||
2. `thumbnail:` the customer brand logo, make sure to place it in the `images/customers/`folder
|
2. `thumbnail:` the customer brand logo, make sure to place it in the `images/customers/`folder
|
||||||
3. `url:` the customer website
|
3. `url:` the customer website
|
||||||
|
|
||||||
#### Add a new sponsor
|
#### Add a new partner
|
||||||
|
|
||||||
In the `sponsors`folder, create a new mardown file `sponsor-name.md`(or copy paste one of the existing files)
|
In the `partners`folder, create a new mardown file `partner-name.md`(or copy paste one of the existing files)
|
||||||
|
|
||||||
Fill in the meta information :
|
Fill in the meta information :
|
||||||
|
|
||||||
1. `name:` the brand name of the sponsor
|
1. `name:` the brand name of the partner
|
||||||
2. `thumbnail:` the sponsor brand logo, make sure to place it in the `images/sponsor/`folder
|
2. `thumbnail:` the partner brand logo, make sure to place it in the `images/partner/`folder
|
||||||
3. `url:` the sponsor website
|
3. `url:` the partner website
|
||||||
|
@ -20,6 +20,6 @@
|
|||||||
"maxPostsPerPage": 5,
|
"maxPostsPerPage": 5,
|
||||||
"maxNewsPerPage": 4,
|
"maxNewsPerPage": 4,
|
||||||
"maxProfilePreview": 3,
|
"maxProfilePreview": 3,
|
||||||
"maxSponsorPerPage": 4,
|
"maxPartnerPerPage": 4,
|
||||||
"faviconPath": "/images/favicon.png"
|
"faviconPath": "/images/favicon.png"
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
{% set newsListHeading = newsHeading %}
|
{% set newsListHeading = newsHeading %}
|
||||||
{% set newsListItems = collections.newsFeed %}
|
{% set newsListItems = collections.newsFeed %}
|
||||||
{% set customersListItems = collections.customers %}
|
{% set customersListItems = collections.customers %}
|
||||||
{% set sponsorsListItems = collections.sponsors %}
|
{% set partnersListItems = collections.partners %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main id="main-content" class="home" tabindex="-1">
|
<main id="main-content" class="home" tabindex="-1">
|
||||||
@ -13,6 +13,6 @@
|
|||||||
{% include "partials/components/presentation.njk" %}
|
{% include "partials/components/presentation.njk" %}
|
||||||
{% include "partials/components/customers.njk" %}
|
{% include "partials/components/customers.njk" %}
|
||||||
{% include "partials/components/contact-form.njk" %}
|
{% include "partials/components/contact-form.njk" %}
|
||||||
{% include "partials/components/sponsors.njk" %}
|
{% include "partials/components/partners.njk" %}
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<section class="[ sponsor ]">
|
<section class="[ partner ]">
|
||||||
<div class="[ wrapper ]">
|
<div class="[ wrapper ]">
|
||||||
<p class="[ sponsor__heading ]">{{ customersHeading }}</p>
|
<p class="[ partner__heading ]">{{ customersHeading }}</p>
|
||||||
{% if customersListItems.length %}
|
{% if customersListItems.length %}
|
||||||
<ol class="[ sponsor__list ]">
|
<ol class="[ partner__list ]">
|
||||||
{% for item in customersListItems %}
|
{% for item in customersListItems %}
|
||||||
<li class="sponsor__list-item">
|
<li class="partner__list-item">
|
||||||
<a href="{{ item.data.url }}" title="{{ item.data.name }}" target="_blank">
|
<a href="{{ item.data.url }}" title="{{ item.data.name }}" target="_blank">
|
||||||
<img src="{{ item.data.thumbnail }}" alt="logo de {{ item.data.name }}">
|
<img src="{{ item.data.thumbnail }}" alt="logo de {{ item.data.name }}">
|
||||||
</a>
|
</a>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<section class="[ sponsor ]">
|
<section class="[ partner ]">
|
||||||
<div class="[ wrapper ]">
|
<div class="[ wrapper ]">
|
||||||
<p class="[ sponsor__heading ]">{{ sponsorsHeading }}</p>
|
<p class="[ partner__heading ]">{{ partnersHeading }}</p>
|
||||||
{% if sponsorsListItems.length %}
|
{% if partnersListItems.length %}
|
||||||
<ol class="[ sponsor__list ]">
|
<ol class="[ partner__list ]">
|
||||||
{% for item in sponsorsListItems %}
|
{% for item in partnersListItems %}
|
||||||
<li class="sponsor__list-item">
|
<li class="partner__list-item">
|
||||||
<a href="{{ item.data.url }}" title="{{ item.data.name }}" target="_blank">
|
<a href="{{ item.data.url }}" title="{{ item.data.name }}" target="_blank">
|
||||||
<img src="{{ item.data.thumbnail }}" alt="logo de {{ item.data.name }}">
|
<img src="{{ item.data.thumbnail }}" alt="logo de {{ item.data.name }}">
|
||||||
</a>
|
</a>
|
||||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
@ -4,6 +4,6 @@ title: Accueil
|
|||||||
brandHeading: La Coopérative d'Activité et d'Emploi spécialisée en informatique !
|
brandHeading: La Coopérative d'Activité et d'Emploi spécialisée en informatique !
|
||||||
newsHeading: Actualité & Évenements
|
newsHeading: Actualité & Évenements
|
||||||
customersHeading: Ils nous font confiance
|
customersHeading: Ils nous font confiance
|
||||||
sponsorsHeading: Nos partenaires
|
partnersHeading: Nos partenaires
|
||||||
metaDesc: 'Hylia is a lightweight Eleventy starter kit to help you to create your own blog or personal website.'
|
metaDesc: 'Hylia is a lightweight Eleventy starter kit to help you to create your own blog or personal website.'
|
||||||
---
|
---
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: 'Copea'
|
name: 'Copea'
|
||||||
thumbnail: '/images/sponsors/logo-copea.png'
|
thumbnail: '/images/partners/logo-copea.png'
|
||||||
url: 'https://www.copea.fr/'
|
url: 'https://www.copea.fr/'
|
||||||
---
|
---
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: 'Coopérer pour entreprendre'
|
name: 'Coopérer pour entreprendre'
|
||||||
thumbnail: '/images/sponsors/logo-cpe.png'
|
thumbnail: '/images/partners/logo-cpe.png'
|
||||||
url: 'https://cooperer.coop/'
|
url: 'https://cooperer.coop/'
|
||||||
---
|
---
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: 'e-care expertise comptable & innovation'
|
name: 'e-care expertise comptable & innovation'
|
||||||
thumbnail: '/images/sponsors/logo-ecare.png'
|
thumbnail: '/images/partners/logo-ecare.png'
|
||||||
url: 'http://www.e-care.fr/'
|
url: 'http://www.e-care.fr/'
|
||||||
---
|
---
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: 'Les Scop sociétés coopératives'
|
name: 'Les Scop sociétés coopératives'
|
||||||
thumbnail: '/images/sponsors/logo-lesscop.png'
|
thumbnail: '/images/partners/logo-lesscop.png'
|
||||||
url: 'https://www.les-scop.coop/sites/fr/'
|
url: 'https://www.les-scop.coop/sites/fr/'
|
||||||
---
|
---
|
@ -1,4 +1,4 @@
|
|||||||
.sponsor {
|
.partner {
|
||||||
background-color: var(--color-light-gray);
|
background-color: var(--color-light-gray);
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767.98px) {
|
@media (max-width: 767.98px) {
|
||||||
.sponsor {
|
.partner {
|
||||||
&__list {
|
&__list {
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
@ -72,7 +72,7 @@ img {
|
|||||||
@import 'components/presentation';
|
@import 'components/presentation';
|
||||||
@import 'components/site-head';
|
@import 'components/site-head';
|
||||||
@import 'components/site-foot';
|
@import 'components/site-foot';
|
||||||
@import 'components/sponsor';
|
@import 'components/partner';
|
||||||
@import 'components/skip-link';
|
@import 'components/skip-link';
|
||||||
@import 'components/video-player';
|
@import 'components/video-player';
|
||||||
@import 'utilities/responsive';
|
@import 'utilities/responsive';
|
||||||
|