Files
gitlab-instance-0a899031_no…/config/content.config.ts
2026-03-13 21:45:12 -05:00

31 lines
843 B
TypeScript

/**
* 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: "/",
freeTrial: () => false, /* 暂时全部加锁,仅 VIP 可看 */
videoStoragePrefix: "lms-cloudphone-video-",
learningStoragePrefix: "lms-cloudphone-",
};