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