feat: replace direct element

This commit is contained in:
2025-10-17 12:26:49 +04:00
parent 444fb4bc26
commit 184b3d4893
5 changed files with 340 additions and 4 deletions
+20 -1
View File
@@ -2,7 +2,7 @@
<div class="footer">
<div class="footer-header">
<div class="footer-logo">
<img src="img/logo.png" alt="kaubuntu.re">
<img src="img/logo.png" alt="<?php echo SITE_NAME; ?>">
</div>
<div class="footer-contact-info">
@@ -17,7 +17,9 @@
<div>
<ul class="footer-links">
<li><a href="index.php" <?php echo ($currentPage === 'index.php') ? 'class="active"' : ''; ?>>Accueil</a></li>
<?php if (!defined('HERO_TYPE') || HERO_TYPE === 'live'): ?>
<li><a href="direct.php" <?php echo ($currentPage === 'direct.php') ? 'class="active"' : ''; ?>>Direct</a></li>
<?php endif; ?>
<?php
if (defined('PRIORITY_CATEGORIES') && !empty(PRIORITY_CATEGORIES)) {
@@ -66,12 +68,29 @@
</div>
<div class="footer-social">
<?php if (!empty(MASTODON_URL) && MASTODON_URL !== '#'): ?>
<a target="_blank" rel="me noreferrer" href="<?php echo MASTODON_URL; ?>"><i class="fab fa-mastodon icon-mastodon"></i></a>
<?php endif; ?>
<?php if (!empty(FACEBOOK_URL) && FACEBOOK_URL !== '#'): ?>
<a target="_blank" rel="noreferrer" href="<?php echo FACEBOOK_URL; ?>"><i class="fab fa-facebook icon-facebook"></i></a>
<?php endif; ?>
<?php if (!empty(YOUTUBE_URL) && YOUTUBE_URL !== '#'): ?>
<a target="_blank" rel="noreferrer" href="<?php echo YOUTUBE_URL; ?>"><i class="fab fa-youtube icon-youtube"></i></a>
<?php endif; ?>
<?php if (!empty(INSTAGRAM_URL) && INSTAGRAM_URL !== '#'): ?>
<a target="_blank" rel="noreferrer" href="<?php echo INSTAGRAM_URL; ?>"><i class="fab fa-instagram icon-instagram"></i></a>
<?php endif; ?>
<?php if (!empty(X_URL) && X_URL !== '#'): ?>
<a target="_blank" rel="noreferrer" href="<?php echo X_URL; ?>"><i class="fab fa-x-twitter icon-x"></i></a>
<?php endif; ?>
<?php if (!empty(TIKTOK_URL) && TIKTOK_URL !== '#'): ?>
<a target="_blank" rel="noreferrer" href="<?php echo TIKTOK_URL; ?>"><i class="fab fa-tiktok icon-tiktok"></i></a>
<?php endif; ?>
</div>
<div class="footer-copyright">