style(website): 下载统计并入页脚版权行(一行展示,不再单独成行)

This commit is contained in:
KimiSwitch Dev committed 2026-08-07 23:39:22 +08:00
1 parent cf9707326c
commit 7c88099ce1
1 file changed
+9 -7
+9 -7
View File
@@ -141,6 +141,15 @@ export default function Footer() {
{t.footer.mirror}
</a>{" "}
· MIT License
{downloadCount !== null && (
<>
{" "}
·{" "}
<span className="opacity-60">
{t.footer.downloads.replace("{n}", downloadCount.toLocaleString())}
</span>
</>
)}
</div>
<div className="text-xs opacity-80">
{t.footer.creditBefore}
@@ -155,13 +164,6 @@ export default function Footer() {
{t.footer.creditAfter}
</div>
</div>
{/* 下载统计(低调展示,仅 GitHub 下载量) */}
{downloadCount !== null && (
<p className="pt-1 text-center text-xs opacity-50">
{t.footer.downloads.replace("{n}", downloadCount.toLocaleString())}
</p>
)}
</div>
</footer>
);