update categorie video cards style

This commit is contained in:
2025-04-10 12:28:33 +04:00
parent c481b6d23c
commit 226bbe57fc
+2 -4
View File
@@ -75,8 +75,7 @@ if ($categoryId && isset($allCategories[$categoryId])) {
</div>
<div class="video-info">
<h3 class="video-title"><?php echo htmlspecialchars($video['title']); ?></h3>
<div class="video-meta">
<div class="channel-info">
<div class="video-channel">
<?php if (strpos($video['channelAvatar'], 'default-avatar') !== false || empty($video['channelAvatar'])): ?>
<div class="channel-avatar-placeholder">
<i class="fas fa-user-circle"></i>
@@ -86,13 +85,12 @@ if ($categoryId && isset($allCategories[$categoryId])) {
<?php endif; ?>
<span class="channel-name"><?php echo htmlspecialchars($video['channel']); ?></span>
</div>
<div class="video-stats">
<div class="video-metadata">
<span class="video-views"><i class="fas fa-eye"></i> <?php echo formatViewCount($video['views']); ?> vues</span>
<span class="video-date"><i class="far fa-calendar-alt"></i> <?php echo formatDate($video['date']); ?></span>
</div>
</div>
</div>
</div>
<?php endforeach; ?>
</div>