add MOVEMENT_DESCRIPTION and improve implémentation

This commit is contained in:
2025-04-10 14:39:27 +04:00
parent 3e4d851d30
commit 5ab52bfad3
3 changed files with 191 additions and 25 deletions
+31 -21
View File
@@ -313,29 +313,39 @@
endforeach;
?>
<!-- Section Tendances Hashtags -->
<div class="video-section">
<h2 class="section-title">Tendances</h2>
<div class="tags-section">
<?php
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
foreach (POPULAR_TAGS as $tag):
$encodedTag = urlencode('#' . $tag);
?>
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="tag">#<?php echo htmlspecialchars($tag); ?></a>
<?php
endforeach;
endif;
?>
<!-- Section Flexbox pour Informations et Tendances Hashtags -->
<div class="info-tags-container">
<?php if (defined('MOVEMENT_DESCRIPTION') && !empty(MOVEMENT_DESCRIPTION)): ?>
<!-- Section Informations -->
<div class="info-section">
<h2 class="info-header"><?php echo MOVEMENT_DESCRIPTION; ?></h2>
<figure class="movement-figure">
<img src="img/movement_presentation.png" alt="Les 5 objectifs de Ka-Ubuntu" class="info-image">
<figcaption class="movement-caption">
Nos 5 points de lutte. 1. Activer la conscience politique et historique de notre peuple 2. Défendre le droit à I'autodétermination des peuples africains et afro-descendants 3. Arracher I'indépendance de notre pays La Réunion 4. Établir une unité politique, économique et culturelle de l'Afrique 5. Construire une solidarité entre les peuples opprimés
</figcaption>
</figure>
</div>
</div>
<!-- Section Informations -->
<div class="info-section">
<h2 class="info-header">KA UBUNTU est un mouvement politique indépendantiste et panafricaniste réunionnais qui a 5 objectifs :</h2>
<?php endif; ?>
<img src="img/ka-ubuntu-manifesto.png" alt="KA UBUNTU manifesto" class="info-image">
<!-- Section Tendances Hashtags -->
<div class="tags-section-container">
<h2 class="section-title centered">Tendances</h2>
<div class="tags-section">
<?php
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
foreach (POPULAR_TAGS as $tag):
$encodedTag = urlencode('#' . $tag);
?>
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="tag">#<?php echo htmlspecialchars($tag); ?></a>
<?php
endforeach;
endif;
?>
</div>
</div>
</div>
</div>
<?php include 'includes/footer.php'; ?>