eplacing heading box type by p instead of h2

This commit is contained in:
Antoine M 2024-04-02 17:36:41 +02:00
parent 3357740c49
commit 8135d10152
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
@apply mt-8;
}
&__type {
@apply !text-xl !my-0 !tracking-widest;
@apply !text-xl !my-0 !tracking-widest font-bold;
}
&__title {
@apply !text-4xl font-bold;

View File

@ -11,7 +11,7 @@ $subtitle = $args['subtitle'] ?? null;
<div class="heading-box--news__content">
<?php if ($news_type) : ?>
<h2 class="heading-box__subtitle heading-box--news__type"><?php echo $news_type[0]->name ?></h2>
<p class="heading-box__subtitle heading-box--news__type"><?php echo $news_type[0]->name ?></p>
<?php endif; ?>
<h1 class="heading-box__title heading-box--news__title"> <?php echo $title ?></h1>