diff --git a/src/data/category-image-urls.json b/src/data/category-image-urls.json new file mode 100644 index 000000000..9cad12754 --- /dev/null +++ b/src/data/category-image-urls.json @@ -0,0 +1,10 @@ +{ + "images": { + "cat-basics.png": "https://picgocloud.com/m/9b206697-5a84-4674-80c7-f37451c25f75.png", + "cat-community.png": "https://picgocloud.com/m/d8d3e020-9ddd-4b14-b9d2-b95db1086d3c.png", + "cat-ide.png": "https://picgocloud.com/m/abf53b9e-838f-4487-a51f-1c39eee70ae1.png", + "cat-projects.png": "https://picgocloud.com/m/0e8fdfca-9582-4ae2-a60b-17aaf7d6c8ed.png", + "cat-sdk.png": "https://picgocloud.com/m/46ec1cad-4e7d-464d-a7f4-42c3f5093227.png", + "cat-tutorials.png": "https://picgocloud.com/m/94046105-bf8a-430d-8c53-bccced644cec.png" + } +} \ No newline at end of file diff --git a/src/data/tutorials.js b/src/data/tutorials.js index defbccbc2..15078fd3a 100644 --- a/src/data/tutorials.js +++ b/src/data/tutorials.js @@ -40,37 +40,37 @@ export const categories = { id: 'basics', label: 'Basics', intro: 'Quick takeaways and fundamentals — the essential concepts, tools, and tips to get moving with TuyaOpen.', - image: '/img/learn/cat-basics.png', + image: 'https://picgocloud.com/m/9b206697-5a84-4674-80c7-f37451c25f75.png', }, { id: 'ide', label: 'TuyaOpen IDE', intro: 'Build firmware, cloud Agents, and app panels from one AI-driven workspace with Vibe Coding.', - image: '/img/learn/cat-ide.png', + image: 'https://picgocloud.com/m/abf53b9e-838f-4487-a51f-1c39eee70ae1.png', }, { id: 'sdk', label: 'TuyaOpen SDK', intro: 'The toolchain workflow — set up the environment, build firmware, flash, monitor, and pair a device.', - image: '/img/learn/cat-sdk.png', + image: 'https://picgocloud.com/m/46ec1cad-4e7d-464d-a7f4-42c3f5093227.png', }, { id: 'projects', label: 'Projects', intro: 'Step-by-step builds that take you from a blank board to a finished, connected device.', - image: '/img/learn/cat-projects.png', + image: 'https://picgocloud.com/m/0e8fdfca-9582-4ae2-a60b-17aaf7d6c8ed.png', }, { id: 'tutorials', label: 'Tutorials', intro: 'Focused how-tos for specific tasks, peripherals, and techniques.', - image: '/img/learn/cat-tutorials.png', + image: 'https://picgocloud.com/m/94046105-bf8a-430d-8c53-bccced644cec.png', }, { id: 'community', label: 'Community', intro: 'Projects built by the TuyaOpen community — robots, wearables, edge AI, and more.', - image: '/img/learn/cat-community.png', + image: 'https://picgocloud.com/m/d8d3e020-9ddd-4b14-b9d2-b95db1086d3c.png', }, ], zh: [ @@ -78,37 +78,37 @@ export const categories = { id: 'basics', label: '基础', intro: '快速要点与基础概念——上手 TuyaOpen 必备的概念、工具与小技巧。', - image: '/img/learn/cat-basics.png', + image: 'https://picgocloud.com/m/9b206697-5a84-4674-80c7-f37451c25f75.png', }, { id: 'ide', label: 'TuyaOpen IDE', intro: '在一个 AI 驱动的工作区里用 Vibe Coding 打通固件、云端 Agent 与 App 面板。', - image: '/img/learn/cat-ide.png', + image: 'https://picgocloud.com/m/abf53b9e-838f-4487-a51f-1c39eee70ae1.png', }, { id: 'sdk', label: 'TuyaOpen SDK', intro: '工具链工作流——配置环境、编译固件、烧录、监听并配网一台设备。', - image: '/img/learn/cat-sdk.png', + image: 'https://picgocloud.com/m/46ec1cad-4e7d-464d-a7f4-42c3f5093227.png', }, { id: 'projects', label: '项目', intro: '从一块空板到一台完成的联网设备的分步实战。', - image: '/img/learn/cat-projects.png', + image: 'https://picgocloud.com/m/0e8fdfca-9582-4ae2-a60b-17aaf7d6c8ed.png', }, { id: 'tutorials', label: '教程', intro: '针对具体任务、外设与技巧的专题指南。', - image: '/img/learn/cat-tutorials.png', + image: 'https://picgocloud.com/m/94046105-bf8a-430d-8c53-bccced644cec.png', }, { id: 'community', label: '社区', intro: '由 TuyaOpen 社区打造的项目——机器人、可穿戴、边缘 AI 等。', - image: '/img/learn/cat-community.png', + image: 'https://picgocloud.com/m/d8d3e020-9ddd-4b14-b9d2-b95db1086d3c.png', }, ], } diff --git a/static/img/learn/cat-basics.png b/static/img/learn/cat-basics.png deleted file mode 100644 index 0054a4d36..000000000 Binary files a/static/img/learn/cat-basics.png and /dev/null differ diff --git a/static/img/learn/cat-community.png b/static/img/learn/cat-community.png deleted file mode 100644 index 649a922a9..000000000 Binary files a/static/img/learn/cat-community.png and /dev/null differ diff --git a/static/img/learn/cat-ide.png b/static/img/learn/cat-ide.png deleted file mode 100644 index 29ccbe745..000000000 Binary files a/static/img/learn/cat-ide.png and /dev/null differ diff --git a/static/img/learn/cat-projects.png b/static/img/learn/cat-projects.png deleted file mode 100644 index ace8aa084..000000000 Binary files a/static/img/learn/cat-projects.png and /dev/null differ diff --git a/static/img/learn/cat-sdk.png b/static/img/learn/cat-sdk.png deleted file mode 100644 index 8d598f741..000000000 Binary files a/static/img/learn/cat-sdk.png and /dev/null differ diff --git a/static/img/learn/cat-tutorials.png b/static/img/learn/cat-tutorials.png deleted file mode 100644 index 305603215..000000000 Binary files a/static/img/learn/cat-tutorials.png and /dev/null differ