introducin heading box in documentation
This commit is contained in:
parent
fde5cb5986
commit
61670edfdf
|
|
@ -2,8 +2,12 @@
|
||||||
|
|
||||||
<div class="demo-components">
|
<div class="demo-components">
|
||||||
|
|
||||||
<section class="buttons">
|
<section class="buttons component">
|
||||||
<h2 class="title">Boutons</h2>
|
<div class="component-explanation">
|
||||||
|
<h2 class="component-explanation__title">Boutons</h2>
|
||||||
|
<p class="component-explanation__description">différent boutons</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="buttons-example">
|
<div class="buttons-example">
|
||||||
<a class="cta cta--primary cta--button" href="#" target="_blank">Bouton Primaire</a>
|
<a class="cta cta--primary cta--button" href="#" target="_blank">Bouton Primaire</a>
|
||||||
<a class="cta cta--secondary cta--button" href="#" target="_blank">Bouton Secondaire</a>
|
<a class="cta cta--secondary cta--button" href="#" target="_blank">Bouton Secondaire</a>
|
||||||
|
|
@ -12,9 +16,34 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section id="heading-box" class="component">
|
||||||
|
<?php
|
||||||
|
get_template_part("template-components/heading-box", null, array(
|
||||||
|
"title" => "Heading Box",
|
||||||
|
"description" => "Bonjour ! je suis une belle boite de titrage",
|
||||||
|
"pageIcon" => array(
|
||||||
|
"url" => get_template_directory_uri() . "/resources/img/pictogrammes/pictogramme-formulaire.svg"
|
||||||
|
)
|
||||||
|
));
|
||||||
|
?>
|
||||||
|
<div class="component-explanation">
|
||||||
|
<h2 class="component-explanation__title">Heading Box</h2>
|
||||||
|
<p class="component-explanation__description">Pour le titrage de pages. L'icone et le titre sont intégrées automatiquement depuis les informations de page</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
get_template_part('template-components/post-conseils/chapter-header');
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Slider main container -->
|
<!-- Slider main container -->
|
||||||
<div class=" swiper">
|
<div class=" swiper">
|
||||||
<!-- Additional required wrapper -->
|
<!-- Additional required wrapper -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user