This commit is contained in:
eric
2026-03-12 00:34:50 -05:00
parent 0c2ccadb6b
commit 5caf970c7e
26 changed files with 1528 additions and 288 deletions

View File

@@ -3,11 +3,15 @@
* 后续可替换为 api.hackrobot.cn 真实接口
*/
import { CURRICULUM_CONFIG } from "@/app/cloudphone/config/course";
/** 视频课程总数:从所有课程配置汇总计算 */
const TOTAL_VIDEOS = CURRICULUM_CONFIG.modules.reduce((s, m) => s + m.lessons.length, 0);
export const ASSET_STATS = {
topics: 4,
ebooks: 2,
videos: 12,
templates: 8,
videos: TOTAL_VIDEOS,
updateFrequency: "每周",
} as const;
@@ -16,14 +20,14 @@ export const TOPICS = [
id: "ebook",
icon: "📖",
title: "电子书",
desc: "地理套利·自动化",
desc: "知识沉淀·随时阅读",
href: "/ebook",
},
{
id: "cloudphone",
icon: "🎬",
title: "视频教程",
desc: "云手机·无人直播",
desc: "实战演练·即学即用",
href: "/cloudphone",
},
{
@@ -36,32 +40,33 @@ export const TOPICS = [
{
id: "tools",
icon: "🛒",
title: "设备自助",
title: "设备自助下单",
desc: "开箱即用",
href: null,
href: "https://store.hackrobot.cn/",
locked: true,
},
] as const;
/** 模块展示 - 首页展示用 */
/** 模块展示 - 首页展示用,电子书/视频教程点击滚动到同页对应区块 */
export const TOPICS_DISPLAY = [
{ id: "ebook", icon: "📖", title: "电子书", desc: "地理套利·自动化杠杆", href: "/ebook" },
{ id: "cloudphone", icon: "🎬", title: "视频教程", desc: "云手机·无人直播", href: "/cloudphone" },
{ id: "community", icon: "👥", title: "私密社群", desc: "抱团出海", href: "https://qun.hackrobot.cn" },
{ id: "tools", icon: "🛒", title: "设备自助", desc: "开箱即用", href: null },
{ id: "ebook", icon: "📖", title: "电子书", desc: "知识沉淀·随时阅读", href: "#ebooks" },
{ id: "cloudphone", icon: "🎬", title: "视频教程", desc: "实战演练·即学即用", href: "#video-courses" },
{ id: "community", icon: "👥", title: "私密社群", desc: "抱团出海", href: "https://qun.hackrobot.cn", locked: true },
{ id: "tools", icon: "🛒", title: "设备自助下单", desc: "开箱即用", href: "https://store.hackrobot.cn/", locked: true },
] as const;
/** 电子书展示 - 首页展示用 */
export const EBOOKS_DISPLAY = [
{ id: "1", title: "数字游民", desc: "地理套利与自动化杠杆", href: "/ebook" },
{ id: "2", title: "云手机", desc: "低成本工作室搭建指南", href: "/cloudphone" },
{ id: "2", title: "云手机", desc: "低成本工作室搭建指南", href: "/ebook/cloudphone" },
] as const;
/** 视频教程展示 - 参考 digital.hackrobot.cn 资源导航专题,至少 4 个 */
export const VIDEO_COURSES_DISPLAY = [
{ id: "cloudphone", icon: "☁️", title: "云手机模块", desc: "低成本自建云手机TikTok/YouTube 运营搭建指南", href: "/topic/cloudphone" },
{ id: "livestream", icon: "📺", title: "无人直播模块", desc: "TikTok/YouTube 无人直播24 小时自动化", href: "/topic/livestream" },
{ id: "indie", icon: "🛠️", title: "独立开发模块", desc: "从想法到产品,独立开发者全流程指南", href: "/topic/indie" },
{ id: "aiagent", icon: "🤖", title: "AI Agent 模块", desc: "AIGC 与智能体Vibe Coding 跨界创造", href: "/topic/aiagent" },
{ id: "cloudphone", icon: "☁️", title: "云手机", desc: "低成本自建云手机TikTok/YouTube 运营搭建指南", href: "/cloudphone" },
{ id: "livestream", icon: "📺", title: "无人直播", desc: "TikTok/YouTube 无人直播24 小时自动化", href: "/topic/livestream" },
{ id: "indie", icon: "🛠️", title: "独立开发", desc: "从想法到产品,独立开发者全流程指南", href: "/topic/indie" },
{ id: "aiagent", icon: "🤖", title: "AI Agent", desc: "AIGC 与智能体Vibe Coding 跨界创造", href: "/topic/aiagent" },
] as const;
export const COMPARE_ITEMS = [
@@ -81,7 +86,7 @@ export const COMMUNITY_PREVIEW = [
export const FAQ_ITEMS = [
{
q: "会员包含哪些内容?",
a: "电子书、视频教程、私密社群、即时问答、设备自助等全部解锁,并享受持续更新。",
a: "电子书、视频教程、私密社群、即时问答、设备自助下单等全部解锁,并享受持续更新。",
},
{
q: "如何加入?",