's'
This commit is contained in:
30
config/content.config.ts
Normal file
30
config/content.config.ts
Normal 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-",
|
||||
};
|
||||
Reference in New Issue
Block a user