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

31 lines
816 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: (m, l) => m === 0 && l < 2,
videoStoragePrefix: "lms-cloudphone-video-",
learningStoragePrefix: "lms-cloudphone-",
};