112 lines
4.2 KiB
TypeScript
112 lines
4.2 KiB
TypeScript
/**
|
||
* VIP 首页展示数据
|
||
*/
|
||
|
||
import { CURRICULUM_CONFIG } from "@/app/cloudphone/config/course";
|
||
|
||
const TOTAL_VIDEOS = CURRICULUM_CONFIG.modules.reduce((sum, module) => sum + module.lessons.length, 0);
|
||
|
||
export const ASSET_STATS = {
|
||
topics: 4,
|
||
ebooks: 2,
|
||
videos: TOTAL_VIDEOS,
|
||
updateFrequency: "每周",
|
||
} as const;
|
||
|
||
export const TOPICS = [
|
||
{
|
||
id: "ebook",
|
||
icon: "📙",
|
||
title: "电子书",
|
||
desc: "知识沉淀,随时阅读",
|
||
href: "/ebook",
|
||
},
|
||
{
|
||
id: "cloudphone",
|
||
icon: "🎞️",
|
||
title: "视频教程",
|
||
desc: "实战演练,即学即用",
|
||
href: "/cloudphone",
|
||
},
|
||
{
|
||
id: "community",
|
||
icon: "👥",
|
||
title: "私密社群",
|
||
desc: "抱团出海,实时交流",
|
||
href: "/community",
|
||
},
|
||
{
|
||
id: "tools",
|
||
icon: "🧰",
|
||
title: "设备自助下单",
|
||
desc: "开箱即用",
|
||
href: "https://store.hackrobot.cn/",
|
||
locked: true,
|
||
},
|
||
] as const;
|
||
|
||
export const TOPICS_DISPLAY = [
|
||
{ id: "ebook", icon: "📙", title: "电子书", desc: "知识沉淀,随时阅读", href: "#ebooks" },
|
||
{ id: "cloudphone", icon: "🎞️", title: "视频教程", desc: "实战演练,即学即用", href: "#video-courses" },
|
||
{ id: "community", icon: "👥", title: "私密社群", desc: "像知识星球一样沉淀内容与问答", href: "/community" },
|
||
{ id: "tools", icon: "🧰", title: "设备自助下单", desc: "开箱即用", href: "https://store.hackrobot.cn/", locked: true },
|
||
] as const;
|
||
|
||
export const EBOOKS_DISPLAY = [
|
||
{ id: "1", title: "数字游民", desc: "地理套利与自动化杠杆", href: "/ebook", free: true },
|
||
{ id: "2", title: "云手机", desc: "低成本工作室搭建指南", href: "/ebook/cloudphone", locked: true },
|
||
] as const;
|
||
|
||
export const VIDEO_COURSES_DISPLAY = [
|
||
{ id: "cloudphone", icon: "☁️", title: "云手机", desc: "低成本自建云手机与矩阵运营", href: "/cloudphone" },
|
||
{ id: "livestream", icon: "📵", title: "无人直播", desc: "TikTok / YouTube 无人直播实战", href: "/topic/livestream" },
|
||
{ id: "indie", icon: "🧭", title: "独立开发", desc: "从想法到产品的完整路径", href: "/topic/indie" },
|
||
{ id: "aiagent", icon: "🤖", title: "AI Agent", desc: "AIGC 与智能体工作流", href: "/topic/aiagent" },
|
||
] as const;
|
||
|
||
export const COMPARE_ITEMS = [
|
||
{ feature: "电子书", single: "按需开通", member: "全部解锁" },
|
||
{ feature: "视频教程", single: "按需开通", member: "全部解锁" },
|
||
{ feature: "私密社群", single: "—", member: "✓" },
|
||
{ feature: "即时问答", single: "—", member: "✓" },
|
||
{ feature: "持续更新", single: "—", member: "✓" },
|
||
] as const;
|
||
|
||
export const COMMUNITY_PREVIEW = [
|
||
{ icon: "👥", text: "私密社群,抱团出海" },
|
||
{ icon: "💬", text: "即时问答,技术咨询" },
|
||
{ icon: "🗂️", text: "精选复盘、工具与附件沉淀" },
|
||
] as const;
|
||
|
||
export const FAQ_ITEMS = [
|
||
{
|
||
q: "会员包含哪些内容?",
|
||
a: "电子书、视频教程、私密社群、即时问答、设备自助下单等内容会统一解锁,并持续更新。",
|
||
},
|
||
{
|
||
q: "如何加入?",
|
||
a: "点击“立即加入”完成支付即可自动开通,无需人工审核。",
|
||
},
|
||
{
|
||
q: "支持退款吗?",
|
||
a: "本内容为虚拟数字交付,不支持退款,请在购买前确认符合你的预期。",
|
||
},
|
||
] as const;
|
||
|
||
export const RECENT_UPDATES = [
|
||
{ id: "1", title: "云手机第 3 章更新", date: "3 月 10 日", href: "/cloudphone/course/2/0" },
|
||
{ id: "2", title: "电子书补充:地理套利", date: "3 月 8 日", href: "/ebook" },
|
||
{ id: "3", title: "模板库新增:RPA 脚本", date: "3 月 6 日", href: null },
|
||
] as const;
|
||
|
||
export const COMMUNITY_HIGHLIGHTS = [
|
||
{ id: "1", text: "本周社群讨论:出海合规要点", href: "/community/explore" },
|
||
{ id: "2", text: "问答精选:云手机多开方案", href: "https://chatwoot.hackrobot.cn/livechat?user_id=hackrobot" },
|
||
] as const;
|
||
|
||
export const WEEKLY_ACTIONS = [
|
||
{ id: "1", text: "完成云手机第 2 章", href: "/cloudphone/course/1/0", priority: 1 },
|
||
{ id: "2", text: "阅读电子书地理套利篇", href: "/ebook", priority: 2 },
|
||
{ id: "3", text: "加入社群参与讨论", href: "/community", priority: 3 },
|
||
] as const;
|