Decoupage des putins de vignettes + responsive work poultry show + fix cereal local link

This commit is contained in:
Jérémy Munsch 2022-08-05 11:50:14 +02:00
parent 084fd1b81a
commit 02bbb957cf
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
9 changed files with 19 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -34,8 +34,10 @@ document.addEventListener('DOMContentLoaded', () => {
next: linksSlider.parentElement.querySelector('.glider-next')
},
responsive: [
{ breakpoint: 400, settings: { slidesToShow: 2 } },
{ breakpoint: 500, settings: { slidesToShow: 2.5 } },
{ breakpoint: 440, settings: { slidesToShow: 2 } },
{ breakpoint: 535, settings: { slidesToShow: 2.5 } },
{ breakpoint: 575, settings: { slidesToShow: 2 } },
{ breakpoint: 625, settings: { slidesToShow: 2.5 } },
{ breakpoint: 1200, settings: { slidesToShow: 3 } },
{ breakpoint: 1400, settings: { slidesToShow: 3.5 } }
]

View file

@ -427,7 +427,7 @@ span.textDistriResult {
& > .blue-card {
display: flex;
flex-direction: column;
justify-content: center;
justify-content: end;
text-align: center;
background-color: $blue;
border-radius: 1rem;
@ -438,6 +438,13 @@ span.textDistriResult {
min-height: 7rem;
object-fit: contain;
width: auto;
flex-grow: 1;
}
& > span {
word-wrap: normal !important;
word-break: normal !important;
hyphens: unset;
line-height: 1.4rem;
}
}
}

View file

@ -75,37 +75,37 @@
<a class="text-decoration-none" href="https://www.loue.fr/article/Des-arbres-et-des-haies-pour-les-volailles-fermières-de-Loué/a3.aspx" target="_blank">
<span class="blue-card shade">
<img src="{{ asset('assets/images/articles/Plan de travail 4.png') }}" alt="{{ __('Nature') }}">
<span class="fw-bold text-break text-light">{{ __('Arbres, haies et agroforesterie') }}</span>
<span class="fw-bold text-light">{{ __('Arbres, haies et agroforesterie') }}</span>
</span>
</a>
<a class="text-decoration-none" href="https://www.loue.fr/article/Des-ruches-d-abeilles-dans-les-parcours-à-volailles-de-Loué/a197.aspx" target="_blank">
<span class="blue-card shade">
<img src="{{ asset('assets/images/articles/Plan de travail 7.png') }}" alt="{{ __('Ruches') }}">
<span class="fw-bold text-break text-light">{{ __('Abeilles') }}</span>
<span class="fw-bold text-light">{{ __('Abeilles') }}</span>
</span>
</a>
<a class="text-decoration-none" href="https://www.loue.fr/article/Les-Fermiers-de-Loué-engagés-dans-les-énergies-renouvelables/a120.aspx" target="_blank">
<span class="blue-card shade">
<img src="{{ asset('assets/images/articles/Plan de travail 2.png') }}" alt="{{ __('Agriculture') }}">
<span class="fw-bold text-break text-light">{{ __('Des énergies renouvelables') }}</span>
<span class="fw-bold text-light">{{ __('Des énergies renouvelables') }}</span>
</span>
</a>
<a class="text-decoration-none" href="https://www.loue.fr/article/A-Loué-on-dit-OUI-aux-céréales-françaises-et-surtout-locales/a119.aspx" target="_blank">
<a class="text-decoration-none" href="https://www.loue.fr/article/Un-mode-d-élevage-durable-et-local/a121.aspx" target="_blank">
<span class="blue-card shade">
<img src="{{ asset('assets/images/articles/Plan de travail 5.png') }}" alt="{{ __('Céréales françaises') }}">
<span class="fw-bold text-break text-light">{{ __('Céréales locales') }}</span>
<span class="fw-bold text-light">{{ __('Céréales locales') }}</span>
</span>
</a>
<a class="text-decoration-none" href="https://www.loue.fr/article/Les-poulets-de-Loué-affichent-le-niveau-de-bien-être-animal/a160.aspx" target="_blank">
<span class="blue-card shade">
<img src="{{ asset('assets/images/articles/Plan de travail 6.png') }}" alt="{{ __('Poule') }}">
<span class="fw-bold text-break text-light">{{ __('Bien être animal') }}</span>
<span class="fw-bold text-light">{{ __('Bien être animal') }}</span>
</span>
</a>
<a class="text-decoration-none" href="https://www.loue.fr/article/Un-mode-d-élevage-durable-et-local/a121.aspx" target="_blank">
<span class="blue-card shade">
<img src="{{ asset('assets/images/articles/Plan de travail 3.png') }}" alt="{{ __('Label IGP') }}">
<span class="fw-bold text-break text-light">{{ __('Un élevage durable') }}</span>
<span class="fw-bold text-light">{{ __('Un élevage durable') }}</span>
</span>
</a>
</div>