diff --git a/template-components/post-infos-capsule.css b/template-components/post-infos-capsule.css index 0768e97..c7a6359 100644 --- a/template-components/post-infos-capsule.css +++ b/template-components/post-infos-capsule.css @@ -32,17 +32,17 @@ filter: brightness(1.4); } } - .share-button--facebook { + .share-button--Facebook { &:before { background-image: url('../resources/img/graphic-assets/icone-social-facebook.svg'); } } - .share-button--twitter-x { + .share-button--Twitter-X { &:before { background-image: url('../resources/img/graphic-assets/icone-social-twitter-x.svg'); } } - .share-button--linkedin { + .share-button--Linkedin { &:before { background-image: url('../resources/img/graphic-assets/icone-social-linkedin.svg'); } diff --git a/template-components/post-infos-capsule.php b/template-components/post-infos-capsule.php index e109912..c5352f6 100644 --- a/template-components/post-infos-capsule.php +++ b/template-components/post-infos-capsule.php @@ -13,29 +13,22 @@ if (!function_exists('build_share_urls')) { $linkedInUrl = 'https://www.linkedin.com/feed/?shareActive=true&text=' . $postTitle . ' ' . $postUrl; return array( - 'facebook' => $facebookUrl, - 'twitter-x' => $twitterUrl, - 'linkedin' => $linkedInUrl + 'Facebook' => $facebookUrl, + 'Twitter-X' => $twitterUrl, + 'Linkedin' => $linkedInUrl ); } } $shareUrls = build_share_urls($postID); - - ?>
- + $shareUrl) : ?> -