Skip to content

Commit bfa097a

Browse files
committed
refactor: improve pages copy and footer cta
1 parent e6908fe commit bfa097a

File tree

1 file changed

+29
-24
lines changed

1 file changed

+29
-24
lines changed

docs/index.html

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -986,13 +986,16 @@ <h2 class="section-title" data-i18n="detailsTitle">仓库体量不大,但交
986986
<section class="panel section">
987987
<div class="cta">
988988
<div>
989-
<div class="micro" data-i18n="pagesEyebrow">GitHub Pages</div>
990-
<h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项目页</h2>
989+
<div class="micro" data-i18n="pagesEyebrow">继续浏览</div>
990+
<h2 class="section-title" data-i18n="pagesTitle">从这里继续进入文档、源码与旧版实现</h2>
991991
<p class="section-copy" data-i18n-html="pagesLead">
992-
启用 <code>master /docs</code> 后,站点就会在项目页地址可用,并且可以从 README 直接跳转访问
992+
这个落地页的作用是帮助你快速建立项目印象。接下来更有价值的入口是 README、核心控件源码,以及保留旧方案的 <code>CanvasDesigner</code> 分支
993993
</p>
994994
</div>
995-
<a class="button button-primary" href="https://ycode-lin.github.io/YCode.Designer.Fluxo/" data-i18n="pagesCta">打开 Pages</a>
995+
<div class="hero-actions">
996+
<a class="button button-primary" href="https://github.com/ycode-lin/YCode.Designer.Fluxo/blob/master/README.md" data-i18n="pagesCta">阅读 README</a>
997+
<a class="button button-secondary" href="https://github.com/ycode-lin/YCode.Designer.Fluxo/tree/master/YCode.Designer.Fluxo" data-i18n="pagesSecondaryCta">查看控件源码</a>
998+
</div>
996999
</div>
9971000
</section>
9981001
</main>
@@ -1017,7 +1020,7 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
10171020
heroEyebrow: "为 WPF 系统打造的可视化工具",
10181021
heroTitle: "设计流程,不制造阻力。",
10191022
heroLead:
1020-
"YCode.Designer.Fluxo 是一个面向 WPF 的实验性控件库,聚焦节点拖拽、视口编排、连线绘制与 MVVM 友好的流程编辑。它更像一次严肃的图形化软件构成研究,而不是一个空洞的展示页。",
1023+
"YCode.Designer.Fluxo 是一个面向 WPF 的流程与节点设计控件实验,关注的不是静态展示,而是拖拽、视口、连线与交互反馈这些真正决定编辑体验的细节。整个仓库也因此更适合作为可视化编辑器的实现参考,而不只是一个可安装的组件壳子。",
10211024
heroPrimaryCta: "打开仓库",
10221025
heroSecondaryCta: "阅读 README",
10231026
metricOne: "Windows + WPF 目标框架",
@@ -1031,9 +1034,9 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
10311034
nodeFour: "Bezier 或 Step 线型",
10321035
diagramBadge: "仓库打包图标",
10331036
capabilitiesEyebrow: "功能特性",
1034-
capabilitiesTitle: "一个从 Canvas 试验逐步转向控件优先模型的 WPF 研究项目。",
1037+
capabilitiesTitle: " Canvas 试验走向控件化设计,这个仓库的重点是把编辑行为做对。",
10351038
capabilitiesLead:
1036-
"当前分支正从临时性的 Canvas 方案迁移到更干净的控件架构。这样做的结果是,这个仓库不仅能作为代码使用,也能作为构建可视化编辑器时的参考样本。",
1039+
"当前分支正在把早期的 Canvas 方案收束成更清晰的控件结构。重心不是堆更多表面效果,而是把缩放、平移、选择、拖拽和连线这些行为稳定地落到一个可维护、可复用、也更贴近 MVVM 的模型里。",
10371040
featureOneTitle: "视口控制",
10381041
featureOneBody: "内置变换负责缩放和平移,控件自身则把范围与视口位置当作一等状态来维护。",
10391042
featureTwoTitle: "交互式节点",
@@ -1045,7 +1048,7 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
10451048
chipThree: "WPF 控件",
10461049
chipFour: "MVVM 重构",
10471050
detailsEyebrow: "技术细节",
1048-
detailsTitle: "仓库体量不大,但交互面并不简单。",
1051+
detailsTitle: "代码规模不大,但编辑器该有的交互层并没有被省略。",
10491052
specOneHead: "核心控件",
10501053
specOneBody: "<code>FluxoDesigner</code> 负责协调视口状态、元素承载、拖拽事件与工具区布局。",
10511054
specTwoHead: "布局引擎",
@@ -1055,16 +1058,17 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
10551058
specFourHead: "目标框架",
10561059
specFourBody: "<code>net8.0-windows</code>,并启用 WPF。",
10571060
openSourceEyebrow: "开源说明",
1058-
openSourceQuote: "这个项目关心的是可视化编辑工具应该如何“手感正确”,而不仅仅是如何成功编译。",
1061+
openSourceQuote: "这个项目更在意编辑器的操作手感,而不是只把一个界面成功画出来。",
10591062
openSourceLead:
1060-
"README 记录了正在进行中的重构,也指向了更早的 <code>CanvasDesigner</code> 分支实现。这个 Pages 站点的目标,是在分享仓库时提供更轻量也更清晰的第一印象。",
1063+
"README 记录了当前的重构方向,也保留了更早的 <code>CanvasDesigner</code> 分支实现。这个 Pages 站点存在的意义,不是替代仓库内容,而是先把项目定位、能力边界和阅读入口整理清楚。",
10611064
openSourcePrimaryCta: "浏览源码",
10621065
openSourceSecondaryCta: "CanvasDesigner 分支",
1063-
pagesEyebrow: "GitHub Pages",
1064-
pagesTitle: "直接从仓库打开在线项目页。",
1066+
pagesEyebrow: "继续浏览",
1067+
pagesTitle: "从这里继续进入文档、源码与旧版实现。",
10651068
pagesLead:
1066-
"启用 <code>master /docs</code> 后,站点就会在项目页地址可用,并且可以从 README 直接跳转访问。",
1067-
pagesCta: "打开 Pages",
1069+
"这个落地页的作用是帮助你快速建立项目印象。接下来更有价值的入口是 README、核心控件源码,以及保留旧方案的 <code>CanvasDesigner</code> 分支。",
1070+
pagesCta: "阅读 README",
1071+
pagesSecondaryCta: "查看控件源码",
10681072
footerNote: "WPF • MVVM • 可视化编辑研究"
10691073
},
10701074
en: {
@@ -1078,7 +1082,7 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
10781082
heroEyebrow: "Visual tooling for WPF systems",
10791083
heroTitle: "Design flow, not friction.",
10801084
heroLead:
1081-
"YCode.Designer.Fluxo is an exploratory WPF control library for node dragging, viewport orchestration, line rendering, and MVVM-oriented flow editing. It is built as a practical study in graphical software composition rather than a marketing shell.",
1085+
"YCode.Designer.Fluxo is an experiment in WPF flow and node editing. The focus is not static presentation but the interaction layer that actually makes an editor usable: dragging, viewport control, connection rendering, and feedback that feels deliberate. That also makes the repository more valuable as implementation reference than as a thin package wrapper.",
10821086
heroPrimaryCta: "Open Repository",
10831087
heroSecondaryCta: "Read README",
10841088
metricOne: "Windows + WPF target",
@@ -1092,9 +1096,9 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
10921096
nodeFour: "Bezier or step variants",
10931097
diagramBadge: "Packaged repository icon",
10941098
capabilitiesEyebrow: "Capabilities",
1095-
capabilitiesTitle: "A WPF canvas study shifting toward a control-first model.",
1099+
capabilitiesTitle: "This repository is moving from a canvas experiment toward a control-first editor model.",
10961100
capabilitiesLead:
1097-
"The current branch focuses on moving away from an ad-hoc canvas approach and toward a cleaner control architecture. The result is a repository that is useful both as code and as reference material for developers building their own visual editors.",
1101+
"The current branch is consolidating an earlier canvas-driven approach into a cleaner control architecture. The priority is not surface polish for its own sake, but getting zoom, pan, selection, dragging, and line behavior into a model that is maintainable, reusable, and much closer to MVVM-friendly editor design.",
10981102
featureOneTitle: "Viewport control",
10991103
featureOneBody:
11001104
"Built-in transforms manage zoom and pan while the control tracks extent and viewport location as first-class state.",
@@ -1109,7 +1113,7 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
11091113
chipThree: "WPF Controls",
11101114
chipFour: "MVVM Refactor",
11111115
detailsEyebrow: "Technical Notes",
1112-
detailsTitle: "The repository is small, but the interaction surface is not.",
1116+
detailsTitle: "The codebase is compact, but the editor interaction layer is not simplified away.",
11131117
specOneHead: "Primary control",
11141118
specOneBody:
11151119
"<code>FluxoDesigner</code> coordinates viewport state, item hosting, drag events, and tool placement.",
@@ -1123,16 +1127,17 @@ <h2 class="section-title" data-i18n="pagesTitle">直接从仓库打开在线项
11231127
specFourBody: "<code>net8.0-windows</code> with WPF enabled.",
11241128
openSourceEyebrow: "Open Source",
11251129
openSourceQuote:
1126-
"Built to understand how visual editing tools should feel, not just how they should compile.",
1130+
"The project cares more about how a visual editor feels to operate than about merely drawing a working surface.",
11271131
openSourceLead:
1128-
"The README documents the ongoing refactor and points to the earlier <code>CanvasDesigner</code> branch implementation. This Pages site exists for fast browsing and a cleaner first impression when sharing the repository.",
1132+
"The README documents the current refactor and the repository still preserves the earlier <code>CanvasDesigner</code> branch implementation. This Pages site is meant to clarify project positioning, capability boundaries, and reading paths before you dive into the code itself.",
11291133
openSourcePrimaryCta: "Browse Source",
11301134
openSourceSecondaryCta: "CanvasDesigner Branch",
1131-
pagesEyebrow: "GitHub Pages",
1132-
pagesTitle: "Open the live project page directly from the repository.",
1135+
pagesEyebrow: "Next Steps",
1136+
pagesTitle: "From here, go deeper into the documentation and source instead of looping back to this page.",
11331137
pagesLead:
1134-
"Once <code>master /docs</code> is enabled, the site is available at the project page URL and can be linked from the README for quick preview.",
1135-
pagesCta: "Open Pages",
1138+
"This landing page is only meant to establish context quickly. The more useful next stops are the README, the core control source, and the preserved <code>CanvasDesigner</code> branch.",
1139+
pagesCta: "Read README",
1140+
pagesSecondaryCta: "View Control Source",
11361141
footerNote: "WPF • MVVM • Visual editor research"
11371142
}
11381143
};

0 commit comments

Comments
 (0)