feat: clean commit without .next
This commit is contained in:
70
app/config/netdisk-downloads.ts
Normal file
70
app/config/netdisk-downloads.ts
Normal file
@@ -0,0 +1,70 @@
|
||||
export type NetdiskProvider = "baidu" | "quark";
|
||||
|
||||
export type NetdiskLink = {
|
||||
provider: NetdiskProvider;
|
||||
label: string;
|
||||
url?: string;
|
||||
codeLabel?: string;
|
||||
code?: string;
|
||||
};
|
||||
|
||||
export type NetdiskResource = {
|
||||
id: string;
|
||||
title: string;
|
||||
desc: string;
|
||||
tags: string[];
|
||||
links: NetdiskLink[];
|
||||
};
|
||||
|
||||
/**
|
||||
* 首页「网盘下载」模块配置(独立于现有业务/课程/电子书)
|
||||
* - 你后续只需要把 url / code 填完整即可
|
||||
*/
|
||||
export const NETDISK_RESOURCES: NetdiskResource[] = [
|
||||
{
|
||||
id: "system-firmware",
|
||||
title: "系统固件(镜像/驱动/依赖包)",
|
||||
desc: "系统镜像、固件与驱动相关资源,适合装机/刷机/修复。",
|
||||
tags: ["系统固件", "镜像", "驱动"],
|
||||
links: [
|
||||
{
|
||||
provider: "baidu",
|
||||
label: "百度网盘",
|
||||
// 来自 app/data/cloudphone.md 的「Ubuntu Server」示例链接
|
||||
url: "https://pan.baidu.com/s/1DFsdtgL-pvQt22U4MNXjHg?pwd=call",
|
||||
codeLabel: "提取码",
|
||||
code: "call",
|
||||
},
|
||||
{
|
||||
provider: "quark",
|
||||
label: "夸克网盘",
|
||||
url: "",
|
||||
codeLabel: "访问码",
|
||||
code: "",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "software-tools",
|
||||
title: "软件工具(常用安装包)",
|
||||
desc: "常用软件与安装包合集(例如刷机/写盘/远控/解压等)。",
|
||||
tags: ["软件", "安装包", "合集"],
|
||||
links: [
|
||||
{
|
||||
provider: "baidu",
|
||||
label: "百度网盘",
|
||||
url: "",
|
||||
codeLabel: "提取码",
|
||||
code: "",
|
||||
},
|
||||
{
|
||||
provider: "quark",
|
||||
label: "夸克网盘",
|
||||
url: "",
|
||||
codeLabel: "访问码",
|
||||
code: "",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user