fixing card titles colors

This commit is contained in:
Antoine M 2024-08-13 17:03:56 +02:00
parent 23d927e0b7
commit 266a303470
3 changed files with 7 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,8 +16,10 @@ $postDescription = $attributes['postDescription'];
$coverUrl = $postType->name === 'videos-webinaires' && $postThumbnail ? $postThumbnail : ($thematique_icon ? $thematique_icon['url'] : null);
$thematiqueColorSlug = getThematiqueFamilySlug($mainThematique->slug);
?>
<a class="post-card" href="<?php echo $relatedPostUrl ?>">
<a class="post-card post-card--<?php echo $mainThematique->slug ?>" href="<?php echo $relatedPostUrl ?>">
<img class="post-card__cover post-card__cover--<?php echo $postType->name ?>" src="<?php echo $coverUrl ?>" alt="">

View File

@ -16,8 +16,10 @@ $postDescription = $attributes['postDescription'];
$coverUrl = $postType->name === 'videos-webinaires' && $postThumbnail ? $postThumbnail : ($thematique_icon ? $thematique_icon['url'] : null);
$thematiqueColorSlug = getThematiqueFamilySlug($mainThematique->slug);
?>
<a class="post-card" href="<?php echo $relatedPostUrl ?>">
<a class="post-card post-card--<?php echo $mainThematique->slug ?>" href="<?php echo $relatedPostUrl ?>">
<img class="post-card__cover post-card__cover--<?php echo $postType->name ?>" src="<?php echo $coverUrl ?>" alt="">