diff --git a/pages/index.js b/pages/index.js index 995dfd2..4362def 100644 --- a/pages/index.js +++ b/pages/index.js @@ -12,7 +12,7 @@ const PLACEHOLDER_SVG = // ---------- 数据 ---------- const stats = (wikiCount) => [ - { num: `${wikiCount}`, label: '收录站点', icon: 'fa-globe', iconColor: 'text-primary-600' }, + { num: `${wikiCount}`, label: '收录站点', icon: 'fa-globe', iconColor: 'text-primary-600 dark:text-primary-400' }, { num: '实时', label: '数据同步', icon: 'fa-bolt', iconColor: 'text-emerald-600 dark:text-emerald-400' }, { num: '多维', label: '搜索筛选', icon: 'fa-filter', iconColor: 'text-amber-600 dark:text-amber-400' }, { num: '免费', label: '开放使用', icon: 'fa-heart', iconColor: 'text-pink-600 dark:text-pink-400' } @@ -229,7 +229,7 @@ const Home = () => { {/* ==================== 数据亮点 · 白色账本带 ==================== */} -
+
{/* flex + justify-between:剩余空间被均分到所有子项之间,分割线因此落在相邻两项的正中 */}
{stats(wikis.length).map((item, i) => ( @@ -237,14 +237,14 @@ const Home = () => { {i > 0 && (