feat: Mise à jour du bloc cta

This commit is contained in:
Simon 2022-10-05 16:29:46 +02:00
parent de7cca1ff0
commit 8067ce4c98
2 changed files with 2 additions and 3 deletions

View File

@ -171,6 +171,7 @@ a:hover {
.bg-one { .bg-one {
background-color: var(--green); background-color: var(--green);
color: white;
} }
.bg-dark { .bg-dark {
@ -607,12 +608,10 @@ a:hover {
.call-to-action h2 { .call-to-action h2 {
font-weight: 700; font-weight: 700;
color: #444;
} }
.call-to-action p { .call-to-action p {
font-size: 16px; font-size: 16px;
color: #666;
} }
.call-to-action .btn-main { .call-to-action .btn-main {

View File

@ -3,7 +3,7 @@
{{ if $data.cta.cta.enable}} {{ if $data.cta.cta.enable}}
{{ with $data.cta.cta}} {{ with $data.cta.cta}}
{{"<!-- Start Call To Action -->" | safeHTML}} {{"<!-- Start Call To Action -->" | safeHTML}}
<section id="modalites" class="call-to-action section-sm bg-1 overly" style='background-image: url("{{ .bg_image_webp | absURL }}")'> <section id="modalites" class="call-to-action section bg-one" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
<!-- this image is for trigger this section fallback background image --> <!-- this image is for trigger this section fallback background image -->
<img src="{{ .bg_image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"> <img src="{{ .bg_image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'">
<div class="container"> <div class="container">