feat(navigation): hard-switch to Zibll navigation and Font Awesome 5

This commit is contained in:
kate522 committed 2026-08-18 20:46:21 +08:00
1 parent 3c3ddac8be
commit a0b84977a2
630 files changed
+101647 -11293

No files matched your search

+8 -8
View File
@@ -31,17 +31,17 @@ $can_video = !empty($ctx['can_cover_video']);
<img src="<?php echo esc_url((string) $data['url']); ?>" alt="">
<?php elseif ($type === 'slide' && is_array($data) && !empty($data[0]['url'])) : ?>
<img src="<?php echo esc_url((string) $data[0]['url']); ?>" alt="">
<span class="aksrt-submit-featured__badge"><i class="fas fa-images"></i></span>
<span class="aksrt-submit-featured__badge"><i class="fa fas fa-image"></i></span>
<?php elseif ($type === 'video') : ?>
<?php if (!empty($data['pic'])) : ?>
<img src="<?php echo esc_url((string) $data['pic']); ?>" alt="">
<?php else : ?>
<div class="aksrt-submit-featured__video-placeholder"><i class="fas fa-play"></i></div>
<div class="aksrt-submit-featured__video-placeholder"><i class="fa fas fa-play"></i></div>
<?php endif; ?>
<span class="aksrt-submit-featured__badge"><i class="fas fa-video"></i></span>
<span class="aksrt-submit-featured__badge"><i class="fa fas fa-video"></i></span>
<?php else : ?>
<div class="aksrt-submit-featured__empty">
<i class="fas fa-image"></i>
<i class="fa fas fa-image"></i>
<span><?php esc_html_e('设置文章封面', 'aksrt'); ?></span>
</div>
<?php endif; ?>
@@ -49,21 +49,21 @@ $can_video = !empty($ctx['can_cover_video']);
<div class="aksrt-submit-featured__actions">
<?php if ($can_image) : ?>
<button type="button" class="but" data-featured-action="image">
<i class="fas fa-image"></i> <?php esc_html_e('图片', 'aksrt'); ?>
<i class="fa fas fa-image"></i> <?php esc_html_e('图片', 'aksrt'); ?>
</button>
<?php endif; ?>
<?php if ($can_slide) : ?>
<button type="button" class="but" data-featured-action="slide">
<i class="fas fa-images"></i> <?php esc_html_e('幻灯片', 'aksrt'); ?>
<i class="fa fas fa-image"></i> <?php esc_html_e('幻灯片', 'aksrt'); ?>
</button>
<?php endif; ?>
<?php if ($can_video) : ?>
<button type="button" class="but" data-featured-action="video">
<i class="fas fa-video"></i> <?php esc_html_e('视频', 'aksrt'); ?>
<i class="fa fas fa-video"></i> <?php esc_html_e('视频', 'aksrt'); ?>
</button>
<?php endif; ?>
<button type="button" class="but c-red" data-featured-action="close" <?php echo $type === '' ? 'hidden' : ''; ?>>
<i class="fas fa-trash"></i> <?php esc_html_e('清除', 'aksrt'); ?>
<i class="fa fas fa-trash-alt"></i> <?php esc_html_e('清除', 'aksrt'); ?>
</button>
</div>
<input type="hidden" name="featured_type" value="<?php echo esc_attr($type); ?>" data-featured-type>