Skip to content

Commit aed67b0

Browse files
committed
feat: 新增迭代树组件并优化概念展示区
- 新增交互式迭代树组件,替换原有的静态 ASCII 树展示 - 在英雄区添加种子输入框,支持跳转至演示页面 - 优化循环区仪表盘,用数据面板替换代码预览 - 更新 .gitignore 和 Nuxt 配置文件 - 新增 OpenSpec 变更提案、任务和设计文档
1 parent 11b9fff commit aed67b0

18 files changed

Lines changed: 472 additions & 154 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
.cursor
2-
.trae
1+
.cursor/
2+
.trae/
33
node_modules/
44
dist/
55
build/

content-forest-front/.nuxt/components.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const ConceptsSection: typeof import("../components/ConceptsSection.vue")
1919
export const CtaSection: typeof import("../components/CtaSection.vue")['default']
2020
export const HeroNav: typeof import("../components/HeroNav.vue")['default']
2121
export const HeroSection: typeof import("../components/HeroSection.vue")['default']
22+
export const IterationTree: typeof import("../components/IterationTree.vue")['default']
2223
export const LoopSection: typeof import("../components/LoopSection.vue")['default']
2324
export const SiteFooter: typeof import("../components/SiteFooter.vue")['default']
2425
export const NuxtWelcome: typeof import("../node_modules/nuxt/dist/app/components/welcome.vue")['default']
@@ -49,6 +50,7 @@ export const LazyConceptsSection: LazyComponent<typeof import("../components/Con
4950
export const LazyCtaSection: LazyComponent<typeof import("../components/CtaSection.vue")['default']>
5051
export const LazyHeroNav: LazyComponent<typeof import("../components/HeroNav.vue")['default']>
5152
export const LazyHeroSection: LazyComponent<typeof import("../components/HeroSection.vue")['default']>
53+
export const LazyIterationTree: LazyComponent<typeof import("../components/IterationTree.vue")['default']>
5254
export const LazyLoopSection: LazyComponent<typeof import("../components/LoopSection.vue")['default']>
5355
export const LazySiteFooter: LazyComponent<typeof import("../components/SiteFooter.vue")['default']>
5456
export const LazyNuxtWelcome: LazyComponent<typeof import("../node_modules/nuxt/dist/app/components/welcome.vue")['default']>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"id":"dev","timestamp":1773585554081}
1+
{"id":"dev","timestamp":1773588357897}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"id":"dev","timestamp":1773585554081,"prerendered":[]}
1+
{"id":"dev","timestamp":1773588357897,"prerendered":[]}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"date": "2026-03-15T14:39:25.304Z",
2+
"date": "2026-03-15T15:26:02.705Z",
33
"preset": "nitro-dev",
44
"framework": {
55
"name": "nuxt",
@@ -9,9 +9,9 @@
99
"nitro": "2.13.1"
1010
},
1111
"dev": {
12-
"pid": 8816,
12+
"pid": 44720,
1313
"workerAddress": {
14-
"socketPath": "\\\\.\\pipe\\nitro-worker-8816-1-1-1086.sock"
14+
"socketPath": "\\\\.\\pipe\\nitro-worker-44720-1-1-8911.sock"
1515
}
1616
}
1717
}

content-forest-front/.nuxt/nuxt.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
/// <reference types="@nuxtjs/tailwindcss" />
12
/// <reference types="@vueuse/nuxt" />
23
/// <reference types="@nuxt/telemetry" />
34
/// <reference types="@nuxt/devtools" />
4-
/// <reference types="@nuxtjs/tailwindcss" />
55
/// <reference path="types/nitro-layouts.d.ts" />
66
/// <reference path="types/builder-env.d.ts" />
77
/// <reference types="nuxt" />

content-forest-front/.nuxt/tailwind/postcss.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 2026/3/15 22:39:21
1+
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 2026/3/15 23:31:03
22
import "@nuxtjs/tailwindcss/config-ctx"
33
import configMerger from "@nuxtjs/tailwindcss/merger";
44

content-forest-front/.nuxt/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"./imports"
117117
],
118118
"#app-manifest": [
119-
"./manifest/meta/dev.json"
119+
"./manifest/meta/dev"
120120
],
121121
"#components": [
122122
"./components"

content-forest-front/.nuxt/types/components.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ interface _GlobalComponents {
1919
CtaSection: typeof import("../../components/CtaSection.vue")['default']
2020
HeroNav: typeof import("../../components/HeroNav.vue")['default']
2121
HeroSection: typeof import("../../components/HeroSection.vue")['default']
22+
IterationTree: typeof import("../../components/IterationTree.vue")['default']
2223
LoopSection: typeof import("../../components/LoopSection.vue")['default']
2324
SiteFooter: typeof import("../../components/SiteFooter.vue")['default']
2425
NuxtWelcome: typeof import("../../node_modules/nuxt/dist/app/components/welcome.vue")['default']
@@ -49,6 +50,7 @@ interface _GlobalComponents {
4950
LazyCtaSection: LazyComponent<typeof import("../../components/CtaSection.vue")['default']>
5051
LazyHeroNav: LazyComponent<typeof import("../../components/HeroNav.vue")['default']>
5152
LazyHeroSection: LazyComponent<typeof import("../../components/HeroSection.vue")['default']>
53+
LazyIterationTree: LazyComponent<typeof import("../../components/IterationTree.vue")['default']>
5254
LazyLoopSection: LazyComponent<typeof import("../../components/LoopSection.vue")['default']>
5355
LazySiteFooter: LazyComponent<typeof import("../../components/SiteFooter.vue")['default']>
5456
LazyNuxtWelcome: LazyComponent<typeof import("../../node_modules/nuxt/dist/app/components/welcome.vue")['default']>

content-forest-front/components/ConceptsSection.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@
5454
<div class="flex items-center gap-3 mb-8">
5555
<div class="font-mono text-xs tracking-widest text-bio-green uppercase">// Iteration Tree · 迭代树</div>
5656
<div class="flex-1 h-px bg-gradient-to-r from-bio-green/30 to-transparent"></div>
57+
<div class="font-mono text-xs text-mist-2">Hover nodes to explore</div>
5758
</div>
58-
<div class="font-mono text-xs leading-7 text-slate-400 overflow-x-auto">
59-
<div class="whitespace-pre" v-html="treeText"></div>
60-
</div>
59+
<IterationTree />
6160
</div>
6261
</div>
6362
</section>

0 commit comments

Comments
 (0)