feat: Mise à jour des visuels

This commit is contained in:
Simon 2020-12-09 17:23:27 +01:00
parent 42caa84a2a
commit 3beac6cd4a
9 changed files with 7 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 908 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View File

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB

View File

@ -6,7 +6,7 @@ menu:
parent: municipale
name: Le conseil municipal
weight: 20
image: jonas-jacobsson-2xaF4TbjXT0-unsplash.jpg
image: dylan-gillis-KdeqA3aTnBY-unsplash.jpg
layout: conseil
---

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

View File

@ -6,7 +6,12 @@
{{ if $image }}
{{ $resizedSmall := $image.Fill $imageSizeSmall }}
{{ $resizedBig := $image.Fill $imageSizeBig }}
<img class="hero no-print" src="{{ $resizedSmall.RelPermalink }}" srcset="{{ $resizedSmall.RelPermalink }} 600w, {{ $resizedBig.RelPermalink }} 1920w" sizes="(max-width: 600px) 500px, 1920px" />
<img
class="hero no-print"
src="{{ $resizedSmall.RelPermalink }}"
srcset="{{ $resizedSmall.RelPermalink }} 600w, {{ $resizedBig.RelPermalink }} 1920w"
sizes="(max-width: 600px) 500px, 1920px"
/>
{{ end }}
<nav class="nav">
<div class="container">