Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Optimize images for SEO #148

Draft
wants to merge 3 commits into
base: sandbox
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ group :jekyll_plugins do
end

gem "sprockets", "~> 3.7"
gem "mini_magick"

# Deployment
gem 'rake'
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ GEM
mina (1.2.3)
open4 (~> 1.3.4)
rake
mini_magick (4.11.0)
mini_portile2 (2.5.1)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
Expand Down Expand Up @@ -156,6 +157,7 @@ DEPENDENCIES
jekyll-target-blank
kramdown-parser-gfm
mina
mini_magick
minima (~> 2.0)
pry
rake
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ plugins:

# jekyll-assets
assets:
compression: true
plugins:
css: { autoprefixer: {}}
img: { optim: {}}
Expand Down
53 changes: 53 additions & 0 deletions _data/providers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
- name: "INSEE"
logo: "insee.png"

- name: "Infogreffe"
logo: "infogreffe.png"

- name: "Direction Générale des Finances Publiques"
logo: "dgfip.png"

- name: "URSSAF Caisse nationale"
logo: "acoss.png"

- name: "INPI"
logo: "inpi.png"

- name: "Qualibat"
logo: "qualibat.png"

- name: "Répertoire National des Associations"
logo: "rna.png"

- name: "CNETP"
logo: "cnetp.png"

- name: "ProBTP"
logo: "probtp.png"

- name: "MSA"
logo: "msa.png"

- name: "OPQIBI"
logo: "opqibi.png"

- name: "FNTP"
logo: "fntp.png"

- name: "AGEFIPH"
logo: "agefiph.png"

- name: "Fabrique numérique des Ministères Sociaux"
logo: "fabsocial.png"

- name: "CMA France"
logo: "cma.png"

- name: "Agence de la transition écologique"
logo: "ademe.png"

- name: "Direction générale des douanes et droits indirects"
logo: "douanes.png"

- name: "Agence BIO"
logo: "agencebio.png"
70 changes: 7 additions & 63 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ <h1 class="tpl-hero__title">
</div>

<div id="fonctionnement_api_entreprise">
{% asset 'fonctionnement-api-entreprise.png' class="md hide-xs" %}
{% asset 'fonctionnement-api-entreprise-mobile.png' class="xs hide-md" %}
{% asset 'fonctionnement-api-entreprise.png' magick:format='.webp' magick:resize='x2000' class="md hide-xs" %}
{% asset 'fonctionnement-api-entreprise-mobile.png' magick:format='.webp' magick:resize='x800' class="xs hide-md" %}
</div>
</section>
<section class="tpl-section use-cases">
Expand Down Expand Up @@ -180,67 +180,11 @@ <h3>Un seul compte,<br />un seul interlocuteur, plusieurs données</h3>
<div class="tpl-container">
<h2>Nos fournisseurs de données</h2>
<ul class="providers__main text-center">
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/insee.png %}" alt="INSEE">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/infogreffe.png %}" alt="Infogreffe">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/dgfip.png %}"
alt="Direction Générale des Finances Publiques">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/acoss.png %}" alt="URSSAF Caisse nationale">
</li>
</ul>
<ul class="providers__others text-center">
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/inpi.png %}" alt="INPI">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/qualibat.png %}" alt="Qualibat">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/rna.png %}"
alt="Répertoire National des Associations">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/cnetp.png %}" alt="CNETP">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/probtp.png %}" alt="ProBTP">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/msa.png %}" alt="MSA">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/opqibi.png %}" alt="OPQIBI">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/fntp.png %}" alt="FNTP">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/agefiph.png %}" alt="AGEFIPH">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/fabsocial.png %}"
alt="Fabrique numérique des Ministères Sociaux">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/cma.png %}" alt="CMA France">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/ademe.png %}"
alt="Agence de la transition écologique">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/douanes.png %}"
alt="Direction générale des douanes et droits indirects">
</li>
<li>
<img class="" src="{{ site.baseurl }}{% link assets/images/providers/agencebio.png %}" alt="Agence BIO">
</li>
{% for provider in site.data.providers %}
<li>
{% asset "{{ 'providers/' | append: provider.logo }}" magick:format='.webp' alt='{{ provider.name }}' %}
</li>
{% endfor %}
</ul>
</div>
</section>
Expand Down
Binary file modified assets/images/providers/fntp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.