Compare commits

..

5 Commits

Author SHA1 Message Date
Nonimart
c742526b81 FEATURE Ajout des options de marge et de remplissage dans la configuration de l'espacement
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-02 14:28:23 +02:00
Nonimart
1cf2038ceb FEATURE Handling cta 2025-10-02 14:28:16 +02:00
Nonimart
760077f8d5 FIX Moving scroll top button to prevent erros in css with first child of main 2025-10-02 14:28:07 +02:00
Nonimart
403052e96c FEATURE ajout d'un cta pour consulter les prochaines publications 2025-10-02 14:27:47 +02:00
Nonimart
249f00eb33 FEATURE ajout d'un cta pour consulter les prochaines publications 2025-10-02 14:27:43 +02:00
5 changed files with 18 additions and 3 deletions

View File

@ -10,6 +10,10 @@ Chaque parution propose un dossier thématique nourri de contributions plurielle
'cover' => array( 'cover' => array(
'url' => get_stylesheet_directory_uri() . '/resources/img/covers/carhop-articles-page-cover.svg', 'url' => get_stylesheet_directory_uri() . '/resources/img/covers/carhop-articles-page-cover.svg',
'alt' => 'Revues' 'alt' => 'Revues'
),
'cta' => array(
'title' => __('Consulter les prochaines publications', 'dynamiques'),
'url' => get_home_url() . '/prochaines-publications/',
) )
)); ?> )); ?>

View File

@ -10,10 +10,15 @@ Chaque parution propose un dossier thématique nourri de contributions plurielle
'cover' => array( 'cover' => array(
'url' => get_stylesheet_directory_uri() . '/resources/img/covers/carhop-revues-page-cover.svg', 'url' => get_stylesheet_directory_uri() . '/resources/img/covers/carhop-revues-page-cover.svg',
'alt' => 'Revues' 'alt' => 'Revues'
),
'cta' => array(
'title' => __('Voir les publications à venir', 'dynamiques'),
'url' => get_home_url() . '/prochaines-publications/',
) )
)); ?> )); ?>
<?php get_template_part('template-parts/revues/revues-grid'); ?> <?php get_template_part('template-parts/revues/revues-grid'); ?>
<!-- #### EXPLORE TAGS #### --> <!-- #### EXPLORE TAGS #### -->

View File

@ -53,5 +53,5 @@
<?php do_action('tailpress_content_start'); ?> <?php do_action('tailpress_content_start'); ?>
<main id="content" class="site-content flex-grow">
<?php get_template_part('template-parts/utils/scroll-top'); ?> <?php get_template_part('template-parts/utils/scroll-top'); ?>
<main id="content" class="site-content flex-grow">

View File

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

View File

@ -6,7 +6,9 @@
"wideSize": "1280px" "wideSize": "1280px"
}, },
"spacing": { "spacing": {
"blockGap": true "blockGap": true,
"margin": true,
"padding": true
}, },
"color": { "color": {
"defaultPalette": false, "defaultPalette": false,