add Mastodon social media integration

This commit is contained in:
2025-07-17 15:08:15 +04:00
parent 86663fd27c
commit db12418ea5
4 changed files with 13 additions and 2 deletions
+9 -1
View File
@@ -307,7 +307,8 @@ img {
.icon-button i.icon-youtube,
.icon-button i.icon-instagram,
.icon-button i.icon-tiktok,
.icon-button i.icon-twitter {
.icon-button i.icon-twitter,
.icon-button i.icon-mastodon {
color: inherit;
}
@@ -1698,6 +1699,11 @@ i.icon-x,
color: #000000 !important; /* Noir X (anciennement Twitter) */
}
i.icon-mastodon,
.fab.fa-mastodon.icon-mastodon {
color: #563ACC !important; /* Violet Mastodon */
}
/* Maintenir la couleur par défaut pour les icônes dans le footer */
.footer-social a {
margin: 0 10px;
@@ -2298,3 +2304,5 @@ i.icon-x,
height: 4px;
}
}
+1
View File
@@ -60,6 +60,7 @@ if (!defined('X_URL')) define('X_URL', '#');
if (!defined('INSTAGRAM_URL')) define('INSTAGRAM_URL', '#');
if (!defined('YOUTUBE_URL')) define('YOUTUBE_URL', '#');
if (!defined('TIKTOK_URL')) define('TIKTOK_URL', '#');
if (!defined('MASTODON_URL')) define('MASTODON_URL', 'https://koze.kaubuntu.re');
// Contacts
if (!defined('CONTACT_EMAIL')) define('CONTACT_EMAIL', 'contact@kaubuntu.re');
+1
View File
@@ -66,6 +66,7 @@
</div>
<div class="footer-social">
<a target="_blank" rel="noreferrer" href="<?php echo MASTODON_URL; ?>"><i class="fab fa-mastodon icon-mastodon"></i></a>
<a target="_blank" rel="noreferrer" href="<?php echo FACEBOOK_URL; ?>"><i class="fab fa-facebook icon-facebook"></i></a>
<a target="_blank" rel="noreferrer" href="<?php echo YOUTUBE_URL; ?>"><i class="fab fa-youtube icon-youtube"></i></a>
<a target="_blank" rel="noreferrer" href="<?php echo INSTAGRAM_URL; ?>"><i class="fab fa-instagram icon-instagram"></i></a>
+1
View File
@@ -8,6 +8,7 @@
</div>
<div class="social-icons">
<a target="_blank" rel="noreferrer" href="<?php echo MASTODON_URL; ?>" class="icon-button"><i class="fab fa-mastodon icon-mastodon"></i></a>
<a target="_blank" rel="noreferrer" href="<?php echo INSTAGRAM_URL; ?>" class="icon-button"><i class="fab fa-instagram icon-instagram"></i></a>
<a target="_blank" rel="noreferrer" href="<?php echo TIKTOK_URL; ?>" class="icon-button"><i class="fab fa-tiktok icon-tiktok"></i></a>
<div class="more-social-container">