FIX correction de la couleur de fond et nettoyage du contenu dans chapter-section
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-06-04 09:56:37 +02:00
parent 0757a109a2
commit bc393a3ca3

View File

@ -18,7 +18,7 @@ $cover_size = $args['cover_size'];
preserveAspectRatio="none"> preserveAspectRatio="none">
<path <path
d="M1302 0L0 15.8281V654L1302 642.633L1302 0Z" d="M1302 0L0 15.8281V654L1302 642.633L1302 0Z"
fill="#136F63" /> fill="#fbe8f2" />
</svg> </svg>
<div class="chapter-section__content"> <div class="chapter-section__content">
@ -32,24 +32,17 @@ $cover_size = $args['cover_size'];
<?php endif; ?> <?php endif; ?>
<?php if ($content) : ?> <?php if ($content) : ?>
<p class="chapter-section__title"><?php echo $content; ?></p> <?php echo $content; ?>
<?php endif; ?>
<?php if ($cta) : ?>
<?php $block_content = '<!-- wp:carhop-blocks/cta {"text":"' . $cta['title'] . '","color":"#136F63","link":{"url":"' . $cta['url'] . '","title":"Test Link"}} /-->'; ?>
<?php echo do_blocks($block_content); ?>
<?php endif; ?> <?php endif; ?>
<a href="https://televie.be/agir/faire-un-don/" class="wp-block-carhop-blocks-cta align--left" style="color:#136F63;--cta-current-color:#136F63">salut le test<div class="icon"><svg xmlns="http://www.w3.org/2000/svg" id="carhop-fleche-lien-externe-full_svg__fleche-lien-externe-full" viewBox="0 0 32 32" style="--cta-current-color:#136F63">
<defs>
<style>
.carhop-fleche-lien-externe-full_svg__cls-1 {
fill: none;
stroke: #000;
stroke-width: 2px
}
</style>
</defs>
<path d="m21.15 10.59-9.38 10.02M21.15 21.4V10.59H10.83" class="carhop-fleche-lien-externe-full_svg__cls-1"></path>
<circle cx="16" cy="16" r="15" class="carhop-fleche-lien-externe-full_svg__cls-1"></circle>
</svg></div></a>
</div> </div>
</div> </div>
<img decoding="async" class="chapter-section__cover chapter-section__cover--<?php echo $cover_size ?>" src="http://dynamiques.carhop.local/wp-content/uploads/sites/2/2025/05/carhop-soutenir-green.svg" alt=""> <img decoding="async" class="chapter-section__cover chapter-section__cover--large" src="<?php echo $cover['url']; ?>" alt="<?php echo $cover['alt']; ?>">
</section> </section>