FEATURE introducing component

This commit is contained in:
Antoine M 2025-06-05 09:59:52 +02:00
parent 3100c9623e
commit f0dc1106ef

View File

@ -0,0 +1,8 @@
<?php
$url = $args['url'] ?? '#';
$alt = $args['alt'] ?? 'Lire la suite';
$target = $args['target'] ?? '_self';
?>
<a href="<?php echo $url; ?>" class="cta cta--go cta--primary" target="<?php echo $target; ?>">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/carhop-fleche-full.svg" alt="<?php echo $alt; ?>">
</a>