Files
dream_pep ac5a2cd66d feat: 新增站点版本与编译时间页脚展示,添加构建信息模块
创建站点构建信息模块,从package.json读取版本号,格式化编译时间为上海时区展示文案,添加异常容错并在页脚展示相关信息。
2026-09-05 20:10:42 +08:00

55 lines
2.6 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { Button } from "@/components/ui/button";
import Link from "next/link";
import { SITE_BUILD_LABEL, SITE_VERSION } from "@/lib/site-build";
function Footer() {
return (
<>
<div className="px-4 py-4 text-center text-sm text-muted-foreground">
&copy; {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 StudiosMicrosoft 或他们位于中国大陆的代理公司之间并无任何从属或关联。
</div>
<div className="px-4 py-4 text-center text-sm text-muted-foreground">
"Minecraft" 以及 "我的世界" 为美国微软公司的商标。Koring Launcher 和本网站与美国微软公司之间没有从属关系。
</div>
<div className="px-4 py-4 text-center text-sm text-muted-foreground">
Koring Team Lingke Network 旗下 Prism Horizon 独立运营的创意化工作室
</div>
<div style={{ height: 20 }} />
<div className="py-8 px-1">
<div className="mx-0 md:mx-6 lg:mx-44 flex flex-col md:flex-row items-start md:items-center justify-between gap-6 md:gap-4">
<Link href="/">
<Button className="font-bold text-sm md:text-base" variant="ghost">
<span>Koring Team Space</span>
</Button>
</Link>
<div className="flex items-center gap-1 flex-wrap">
<a href="mailto:hi@lenjing.email?subject=联系支持" target="_blank">
<Button className="text-xs md:text-sm" variant="ghost">HI@lenjing.email</Button>
</a>
<a href="https://rivfox.com/" target="_blank">
<Button className="text-xs md:text-sm" variant="ghost">RIVFOX.COM</Button>
</a>
<a href="https://lingke.ink/" target="_blank">
<Button className="text-xs md:text-sm" variant="ghost">瓴克科技</Button>
</a>
<a href="https://dream-pep.cn/" target="_blank">
<Button className="text-xs md:text-sm" variant="ghost">追梦者</Button>
</a>
<a href="https://lenjing.cn/" target="_blank">
<Button className="text-xs md:text-sm" variant="ghost">棱镜视界</Button>
</a>
</div>
</div>
</div>
</>
);
}
export { Footer };