This commit is contained in:
eric
2026-03-12 00:34:50 -05:00
parent 0c2ccadb6b
commit 5caf970c7e
26 changed files with 1528 additions and 288 deletions

30
config/content.config.ts Normal file
View File

@@ -0,0 +1,30 @@
/**
* nomadvip 内容模块配置 - 电子书 + 课程
* digital / nomadlms 可复用此结构,仅改 href 等
*/
import type { EbookConfig, CourseConfig } from "@/lib/content/config";
export const EBOOK_CONFIG: EbookConfig = {
title: "数字游民",
backHref: "/",
requireAuth: false,
estimatedMinutes: 45,
storagePrefix: "nomadvip-ebook",
};
export const CLOUDPHONE_EBOOK_CONFIG: EbookConfig = {
title: "云手机",
backHref: "/",
requireAuth: false,
estimatedMinutes: 25,
storagePrefix: "nomadvip-ebook-cloudphone",
};
export const CLOUDPHONE_COURSE_CONFIG: CourseConfig = {
courseId: "cloudphone",
courseHomeHref: "/cloudphone",
payHref: "/cloudphone/pay",
freeTrial: (m, l) => m === 0 && l < 2,
videoStoragePrefix: "lms-cloudphone-video-",
learningStoragePrefix: "lms-cloudphone-",
};