This commit is contained in:
@@ -62,20 +62,28 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="plus-infos">
|
||||
{{ $downloadIcon := resources.Get "images/picto/Telechargez.svg" }}
|
||||
<h3 class="plus-infos-title">{{ .Params.plusInfosTitle | default "Plus d'infos ?" }}</h3>
|
||||
<p class="plus-infos-text">{{ .Params.plusInfosText | default "Vous avez des questions ? Vous souhaitez recevoir de la documentation imprimée ?" }}</p>
|
||||
<a href="{{ .Params.plusInfosContactLink | default "/pages/contact/" }}" class="plus-infos-button">Contactez-nous</a>
|
||||
{{ with .Params.depliantLink }}
|
||||
<a href="{{ . }}" class="plus-infos-download" target="_blank">
|
||||
{{ $downloadIcon := resources.Get "images/picto/download_24dp_1F1F1F_FILL0_wght400_GRAD0_opsz24.svg" }}
|
||||
{{ if $downloadIcon }}
|
||||
<img src="{{ $downloadIcon.RelPermalink }}" alt="" />
|
||||
{{ end }}
|
||||
<span>Ou téléchargez le dépliant d'information</span>
|
||||
</a>
|
||||
<div class="conducteur-sidebar">
|
||||
{{ with .Params.ctaLink }}
|
||||
<div class="cta-conducteur">
|
||||
<a href="{{ . }}" class="cta-conducteur-button" target="_blank">{{ $.Params.ctaText | default "Vous aussi, devenez conducteur solidaire !" }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="plus-infos">
|
||||
{{ $downloadIcon := resources.Get "images/picto/Telechargez.svg" }}
|
||||
<h3 class="plus-infos-title">{{ .Params.plusInfosTitle | default "Plus d'infos ?" }}</h3>
|
||||
<p class="plus-infos-text">{{ .Params.plusInfosText | default "Vous avez des questions ? Vous souhaitez recevoir de la documentation imprimée ?" }}</p>
|
||||
<a href="{{ .Params.plusInfosContactLink | default "/pages/contact/" }}" class="plus-infos-button">Contactez-nous</a>
|
||||
{{ with .Params.depliantLink }}
|
||||
<a href="{{ . }}" class="plus-infos-download" target="_blank">
|
||||
{{ $downloadIcon := resources.Get "images/picto/download_24dp_1F1F1F_FILL0_wght400_GRAD0_opsz24.svg" }}
|
||||
{{ if $downloadIcon }}
|
||||
<img src="{{ $downloadIcon.RelPermalink }}" alt="" />
|
||||
{{ end }}
|
||||
<span>Ou téléchargez le dépliant d'information</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -91,14 +99,5 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ $pageFooter := where $allResources "Params.type" "page-footer" }}
|
||||
{{ range $pageFooter }}
|
||||
<div class="page-footer-section">
|
||||
<h2 class="page-footer-title">{{ .Title }}</h2>
|
||||
<div class="page-footer-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user