mirror of
https://github.com/lingke-net/koring-space.git
synced 2026-09-12 05:45:17 +08:00
fix(download): 统一下载路由并更新全站相关链接
创建旧 /download 路径的重定向页面以兼容老链接 更新全站所有指向旧下载页的导航和内部链接 修复首页跑马灯的文字错别字(创绘基金→创汇基金) 调整启动器页面按钮布局与样式,添加下载图标
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
|
/** /download old path compat: redirect to /launcher/download */
|
||||||
|
export default function OldDownloadRedirect() {
|
||||||
|
redirect("/launcher/download");
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import { FlickeringGrid } from "@/components/ui/flickering-grid";
|
import { FlickeringGrid } from "@/components/ui/flickering-grid";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { Badge } from "@/components/ui/badge";
|
import { Badge } from "@/components/ui/badge";
|
||||||
import { HammerIcon, ArrowUpRight, Rocket, Layers, Palette, Users, Cpu, Shield } from "lucide-react";
|
import { HammerIcon, ArrowUpRight, Download, Rocket, Layers, Palette, Users, Cpu, Shield } from "lucide-react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|
||||||
const features = [
|
const features = [
|
||||||
@@ -71,14 +71,20 @@ export default function LauncherPage() {
|
|||||||
Koring Launcher 是一款面向国际版 Minecraft 的现代化启动器,
|
Koring Launcher 是一款面向国际版 Minecraft 的现代化启动器,
|
||||||
提供流畅的版本管理、多账户支持与丰富的个性化选项。
|
提供流畅的版本管理、多账户支持与丰富的个性化选项。
|
||||||
</p>
|
</p>
|
||||||
<div className="flex items-center gap-3 pt-2">
|
<div className="flex flex-wrap items-center justify-center gap-3 pt-2">
|
||||||
<Button size="lg" asChild>
|
<Button size="lg" asChild>
|
||||||
|
<Link href="/launcher/download">
|
||||||
|
<Download className="size-4" />
|
||||||
|
立即下载
|
||||||
|
</Link>
|
||||||
|
</Button>
|
||||||
|
<Button variant="outline" size="lg" asChild>
|
||||||
<Link href="https://github.com/lingke-net" target="_blank">
|
<Link href="https://github.com/lingke-net" target="_blank">
|
||||||
前往 GitHub
|
前往 GitHub
|
||||||
<ArrowUpRight className="size-4" />
|
<ArrowUpRight className="size-4" />
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="outline" size="lg" asChild>
|
<Button variant="ghost" size="lg" asChild>
|
||||||
<Link href="/launcher/join-beta">
|
<Link href="/launcher/join-beta">
|
||||||
获取测试版
|
获取测试版
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
+1
-1
@@ -71,7 +71,7 @@ export default function HomePage() {
|
|||||||
<MarqueeItem className="w-32">Play服务</MarqueeItem>
|
<MarqueeItem className="w-32">Play服务</MarqueeItem>
|
||||||
<MarqueeItem className="w-32">木柴.空间</MarqueeItem>
|
<MarqueeItem className="w-32">木柴.空间</MarqueeItem>
|
||||||
<MarqueeItem className="w-32">SkinEditer</MarqueeItem>
|
<MarqueeItem className="w-32">SkinEditer</MarqueeItem>
|
||||||
<MarqueeItem className="w-32">创绘基金</MarqueeItem>
|
<MarqueeItem className="w-32">创汇基金</MarqueeItem>
|
||||||
</MarqueeContent>
|
</MarqueeContent>
|
||||||
</Marquee>
|
</Marquee>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ export function ThanksView() {
|
|||||||
重新下载
|
重新下载
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="outline" size="lg" asChild>
|
<Button variant="outline" size="lg" asChild>
|
||||||
<Link href="/download">
|
<Link href="/launcher/download">
|
||||||
返回下载中心
|
返回下载中心
|
||||||
<ArrowRight className="size-4" />
|
<ArrowRight className="size-4" />
|
||||||
</Link>
|
</Link>
|
||||||
@@ -185,7 +185,7 @@ export function ThanksView() {
|
|||||||
</p>
|
</p>
|
||||||
<div className="mt-7">
|
<div className="mt-7">
|
||||||
<Button variant="outline" size="lg" asChild>
|
<Button variant="outline" size="lg" asChild>
|
||||||
<Link href="/download">
|
<Link href="/launcher/download">
|
||||||
返回下载中心
|
返回下载中心
|
||||||
<ArrowRight className="size-4" />
|
<ArrowRight className="size-4" />
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -13,7 +13,7 @@ const navItems = [
|
|||||||
textColor: "#fff",
|
textColor: "#fff",
|
||||||
links: [
|
links: [
|
||||||
{ label: "Koring Launcher", href: "/launcher", ariaLabel: "Koring Launcher" },
|
{ label: "Koring Launcher", href: "/launcher", ariaLabel: "Koring Launcher" },
|
||||||
{ label: "下载中心", href: "/download", ariaLabel: "下载中心" },
|
{ label: "下载中心", href: "/launcher/download", ariaLabel: "下载中心" },
|
||||||
{ label: "Sanshe Play", href: "https://docs.play.lenjing.work", ariaLabel: "Sanshe Play" },
|
{ label: "Sanshe Play", href: "https://docs.play.lenjing.work", ariaLabel: "Sanshe Play" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user