mirror of
https://github.com/lingke-net/koring-space.git
synced 2026-09-12 05:45:17 +08:00
feat: 新增站点版本与编译时间页脚展示,添加构建信息模块
创建站点构建信息模块,从package.json读取版本号,格式化编译时间为上海时区展示文案,添加异常容错并在页脚展示相关信息。
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Button } from "@/components/ui/button";
|
||||
import Link from "next/link";
|
||||
import { SITE_BUILD_LABEL, SITE_VERSION } from "@/lib/site-build";
|
||||
|
||||
function Footer() {
|
||||
return (
|
||||
@@ -7,6 +8,9 @@ function Footer() {
|
||||
<div className="px-4 py-4 text-center text-sm text-muted-foreground">
|
||||
© {new Date().getFullYear()} Koring Team. All rights reserved. | 棱镜视界,创造超越想象的视界
|
||||
</div>
|
||||
<div className="px-4 pb-4 text-center text-xs text-muted-foreground/70">
|
||||
本站版本 v{SITE_VERSION} · 编译于 {SITE_BUILD_LABEL}(UTC+8)
|
||||
</div>
|
||||
<div className="px-4 py-4 text-center text-sm text-muted-foreground">
|
||||
Koring Launcher 是一个非官方的 Minecraft 启动器,与 Mojang Studios、Microsoft 或他们位于中国大陆的代理公司之间并无任何从属或关联。
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user