FEATURE Handling cta

This commit is contained in:
Nonimart 2025-10-02 14:28:16 +02:00
parent 760077f8d5
commit 1cf2038ceb

View File

@ -4,6 +4,7 @@ $title = $args['title'];
$subtitle = $args['subtitle'];
$description = $args['description'];
$cover = $args['cover'];
$cta = $args['cta'];
?>
<section class="page-header content-section content-section--full-width">
@ -16,6 +17,9 @@ $cover = $args['cover'];
<?php if ($description) : ?>
<p class="page-header__description"><?php echo $description; ?></p>
<?php endif; ?>
<?php if ($cta) : ?>
<a href="<?php echo $cta['url']; ?>" class="page-header__cta"><?php echo $cta['title']; ?></a>
<?php endif; ?>
</div>
<div class="page-header__image">