zhangxiang
fea5da7917
feat(home): Hero 浅色化(暗黑模式 token 友好)+ 视觉基线更新
...
- 撤销 P4 hero 深色全出血(bg-ink),回归浅色方案:bg-bg-primary + text-ink
- 全部使用 CSS 变量 token(bg-bg-primary/text-ink/text-text-secondary/text-brand),
暗黑模式可直接覆盖 token 实现适配,无需逐元素反色
- logo-white.svg → logo.svg(浅色画布深色版)、点阵纹理淡化(0.06→0.03)
- 测试同步:hero logo 断言 /logo-white.svg → /logo.svg
- 视觉基线更新 3 张:home-fullpage / theme-light-main / theme-dark-main
- 附带修复:hero 背景原误用无效类 bg-primary(Tailwind 嵌套色名应为
bg-bg-primary),全项目排查无同类误用
2026-08-31 17:47:38 +08:00
zhangxiang
0ed1331d1f
chore(test): jest 全局 lucide mock 兜底 + playwright 显式 outputDir
...
- jest.setup.js: Proxy 兜底所有 lucide 命名导入,防 P5 CTAButton 后
未显式 mock 的图标 undefined 导致渲染崩溃(测试内显式 mock 仍可覆盖)
- playwright.config.ts: outputDir 显式指向 e2e/test-results,避免项目根
test-results 触发 WorkBuddy 沙箱 safe-delete BULK_GUARD(fs.rm ≥50 被拦)
2026-08-31 17:47:26 +08:00
zhangxiang
39b2043c1f
test(visual): 更新桌面端视觉快照 17 张(rgb 修复 + P5 全站 CTA 切换后基线)
...
基线更新范围与之前 17 个 failed 一一对应:
- 营销页:home / products / product-erp / solutions / solution-manufacturing
services / service-software / news / news-detail / team / methodology
- 共享:about / contact / header / footer / theme-light / theme-dark
根因:HEAD bf9c992 基线是在 globals.css rgb 变量仍是逗号分隔(bug 状态)、
CTAButton 切换未完成时生成的快照。当前代码已是修复+切换后状态:
- globals.css 22 个 rgb 变量空格分隔(commit 011189a)
- CTAButton 全站 27 处切换(commit 5c1b883)
size diff 佐证:team-fullpage 230K→648K(深色 CTA 从透明 bug 变为真实深色背景)。
2026-08-31 17:28:58 +08:00
zhangxiang
5c1b883abf
feat(ui): CTAButton 可复用组件 + P5 全站 CTA 签名切换(17 页面 27 处)
...
feat(ui): 抽离 CTAButton 为 src/components/ui/cta-button.tsx
- 4 variant 覆盖全站 CTA 场景:
* primary:品牌红填充 pill(hero 主行动 / 底部大 CTA)
* secondary:描边墨色 pill(浅色 section 次行动)
* dark:描边浅色 pill(深色区块 bg-dark-bg 内次行动,如 brand/team 底部 CTA)
* inline:透明 + 小箭头(卡片内次行动)
- 品牌箭头签名化:内置 ArrowRight + hover translate-x 微交互
- 200-300ms transition,对齐项目动效四原则
- data-testid 透传避免破坏既有测试
style(cta): P5 全站 CTA 签名切换(17 页面 27 处)
- home V15 / news×3 / products×4(含 erp)/ cases / services×2 / solutions×2
- brand / methodology / team(hero 2 + L4 2 = 4 处,含 dark variant)
- error / not-found(保留 onClick 功能按钮与卡片式导航 StaticLink)
- 清理:StaticLink / Button / ArrowRight / ChevronRight unused import
test(marketing): services/solutions lucide-react mock 补 ArrowRight
- CTAButton 内部用 ArrowRight,原 mock 漏导导致渲染崩(4 测试失败已修)
- 对齐 home-content-v15.test.tsx 既有 mock 范式
2026-08-31 17:25:08 +08:00
zhangxiang
011189a38c
fix(css): globals.css 22 个 rgb 变量格式修复(逗号→空格)
...
Tailwind v3 颜色配置 rgb(var(--color-X-rgb) / <alpha-value>) 要求 RGB 分量空格分隔。
原逗号分隔 'R, G, B' 与 <alpha-value> 组合生成无效 CSS 'rgb(10, 14, 20 / 1)',
浏览器解析失败回退 rgba(0,0,0,0) 透明,导致 bg-ink / bg-brand/15 / border-brand/30
等所有依赖 alpha 的颜色全站不可见(Hero H1、立即咨询按钮、slogan badge 隐形)。
修复后将 22 个 --color-*-rgb 变量改为空格分隔,恢复颜色正确显示。
2026-08-31 17:24:59 +08:00
zhangxiang
bf9c992300
test(visual): 更新桌面端视觉快照 20 张(V15 首页/CTA Pill 化)+ 清理旧格式快照目录
2026-08-31 16:17:54 +08:00
zhangxiang
8cbe7e266b
chore(seed): page-copy 新增 insights/founderQuote/news 首页区块字段 + CONTEXT 记录对标埃森哲决策
2026-08-31 16:17:47 +08:00
zhangxiang
88578a7433
style(cta): 全站 CTA Pill 化(Button 组件 + 11 个营销页内联按钮 rounded-full 对齐签名化)
2026-08-31 16:17:42 +08:00
zhangxiang
1ae918e391
feat(home): 首页对标埃森哲重构 V15(深色 Hero + Insights/FounderQuote/News 支柱 + 案例 Client Spotlight)删除 v14
2026-08-31 16:17:34 +08:00
zhangxiang
b65ddd1ff7
fix(a11y): 无障碍与 lint 修复(对比度/alt 属性/触控目标收窄)+ Geist 本地字体系统
2026-08-31 12:03:32 +08:00
zhangxiang
0786af3db9
docs(consistency): 文档-代码一致性治理 + 全链路审计报告
2026-08-31 12:03:26 +08:00
zhangxiang
2297f01e60
refactor(middleware): 迁移 middleware 至 proxy(Next 16 弃用约定)
2026-08-31 12:03:25 +08:00
zhangxiang
08a020105f
refactor(link): 营销页站内链接统一 StaticLink(静态托管适配)+ 删除 0 引用死代码组件 + QA 页 client/server 拆分
2026-08-31 12:03:12 +08:00
zhangxiang
77b455c04e
fix(seo): 移除空案例列表页 sitemap 条目(case-study 暂无已发布数据)
2026-08-31 12:03:03 +08:00
zhangxiang
4c85b3cbdf
fix(tailwind): arbitrary-value 改映射类,消除 ambiguous warnings
2026-08-31 12:03:03 +08:00
zhangxiang
2af6d01396
style(design): 中度软化设计 token(圆角/阴影/边框色/大屏字号/section 节奏)
2026-08-31 12:03:03 +08:00
zhangxiang
45d0c51366
chore(gitignore): 忽略本地数据库与工作记忆目录
2026-08-31 12:03:03 +08:00
zhangxiang
6a1f5a9c95
chore(docker): 瘦身构建上下文避免生产磁盘不足
...
.dockerignore 排除 dist 除 standalone/static 外的开发与缓存产物
(dev/cache/server/node_modules 等)及服务器 dist_backup_* 备份目录,
将 docker 构建上下文从约 4.4G 降至约 200M,修复生产容器重建时
"no space left on device" 失败。
2026-08-20 12:11:23 +08:00
zhangxiang
d4caa7bef3
fix(deploy): 修复生产 CMS 解密失败与媒体库 500
...
- deploy.sh 构建时从 .env.production 显式注入 NEXT_PUBLIC_ENCRYPTION_SECRET,
避免 .env.local 开发密钥覆盖生产密钥,导致前端 chunk 与后端 ENCRYPTION_SECRET
不匹配,CMS 所有列表/仪表盘解密失败(The operation failed for an
operation-specific reason)
- Dockerfile.prod 新增 sharp-deps 阶段,为 Alpine 容器补充 @img/sharp-linuxmusl-x64
平台依赖,修复媒体库接口缺失 musl 二进制导致的 500
2026-08-20 12:06:34 +08:00
zhangxiang
417463ee9a
docs: 精简 README(压缩项目规划与进度章节)
2026-08-20 10:28:18 +08:00
zhangxiang
39ca78c2bc
docs(deploy): 记录生产根目录历史残留整理归档
2026-08-20 09:59:51 +08:00
zhangxiang
9087e92d2e
docs(deploy): 记录生产 Drizzle 残留归档清理
2026-08-20 09:47:21 +08:00
zhangxiang
e66a89a00c
chore(visual): 同步三端视觉回归基线
...
- 更新 chromium-desktop/tablet/mobile 快照以反映 CMS 化后的结构性文案、首页共创计划板块与关于页资质建设中空态
2026-08-20 09:25:26 +08:00
zhangxiang
337e1e60c0
feat(cms): 品牌叙事与结构性文案全站 CMS 化并补齐信任证据阶段 0
...
- 品牌叙事内核(价值主张/定位/承诺/三支柱/语气)下沉 site-config,经 SiteConfigProvider 注入全站
- 新增 page-copy 内容模型承载结构性文案(章节标题/眉标/描述/CTA/空状态),覆盖首页+服务/方案/产品/案例/新闻列表页,「CMS 优先 + 硬编码兜底」不白屏
- 首页「首批客户共创计划」板块(earlyAccessTitle/CtaLabel/Status 驱动)替代单行标签,如实呈现共创/内测/授权公开三档状态
- 关于页资质区数据空时如实展示「建设中」空态
- 零编造:不虚构客户/数据/资质
2026-08-20 09:25:12 +08:00
zhangxiang
56be17b0ba
revert(home): restore preferred hero headline per user request
...
- H1 恢复为「让每一家企业都拥有数据驱动的决策能力」(seed + 兜底默认同步)
- db:seed 已生效,首页 curl 实测渲染确认
- 视觉基线三端(home + 深浅主题)更新
2026-08-19 16:54:49 +08:00
zhangxiang
5ed82101e0
feat(products): enable externalUrl redirect and external-site badge
...
- product 模型补 externalUrl 字段(CMS 可编辑),企业套装详情页支持外链跳转(复用 standalone 模板)
- 矩阵卡 externalUrl 产品加「外部站点」徽标(对齐 Google / 字节 / 腾讯对标)
- 清理 3 个无引用 AoyagiReisho 字体文件(性能优化)
- 测试 17/17 + 视觉基线三端更新,type-check / lint 0 errors
2026-08-19 16:49:30 +08:00
zhangxiang
cbdc7dd0c8
refactor(home): de-productize hero visual to abstract data-driven graphic
...
- 移除「睿新·经营驾驶舱」产品 UI 外壳(窗口头/侧边栏/表格/产品名)
- Hero 视觉改为抽象数据可视化(KPI + 趋势图),眉标「数据驱动 · 让转型可量化」
- 对齐 IHG/字节式品牌矩阵定位:能力表达而非产品展示
- 首页单测 6/6 + 视觉基线三端更新,type-check / lint 0 errors
2026-08-19 16:34:11 +08:00
zhangxiang
6573ab449e
feat(methodology): add CMS-driven methodology page skeleton
...
- 新增 methodology 内容模型(content-types + seed),内容由 CMS 后台可编辑
- 新建 /methodology 页面:Hero / 四阶段 Cards / 空态占位 / 轻量 CTA
- 首页「了解我们的方法论」CTA 改指向 /methodology;sitemap 收录
- 单元测试 4/4 + 视觉基线通过,type-check / lint 0 errors
2026-08-19 15:28:15 +08:00
zhangxiang
c195768281
docs: update Phase 3/4 implementation status in roadmap
2026-08-19 15:06:34 +08:00
zhangxiang
b5222fce24
chore(visual): sync products fullpage baselines after brand-matrix copy refinement
2026-08-19 15:04:52 +08:00
zhangxiang
30018bf94a
feat(products): refine page copy and retarget primary CTA to /services
...
产品列表页文案与转化打磨:Hero 改为「自研产品矩阵 × 数字化核心系统」并聚焦
价值主张;主 CTA 由预约接待改为「了解我们的服务」并落点到 /services(次 CTA
保持 /solutions 查看行业方案);CTA 区文案「以自研产品支撑数字化落地」+ 组合
方案入口改为 /solutions。同步更新集成测试断言。
2026-08-19 14:47:19 +08:00
zhangxiang
08f19ad6ca
docs: sync README/CONTEXT and add design optimization plan + UX acceptance
...
记录 vibe 设计优化封版:README/CONTEXT 同步设计规范(Swiss Modernism 2.0 +
Bento Box + Hero-Centric + Motion-Driven)、依赖漏洞处置结论与质量标准;新增
实施计划与用户旅程验收报告。
2026-08-19 14:44:01 +08:00
zhangxiang
5a4d3106ca
chore(test): harden e2e/lighthouse tooling and ignore tool cache
...
- Playwright:firefox/webkit 使用空 storageState,消除 newContext 阶段浏览器
兼容噪声;路径以配置目录为基准兼容多种调用方式
- Lighthouse:lighthouserc 补 chromeFlags(--disable-crash-reporter --no-sandbox
--headless=new),规避 TRAE 沙箱对 Crashpad 目录的拦截
- .gitignore:忽略 .impeccable 评审工具缓存
2026-08-19 14:43:53 +08:00
zhangxiang
d9d4423496
fix(deps): patch deepmerge-ts to 8.0.1 and document extract-zip residual
...
修复 GHSA-ggr8-5vv4-36mx(deepmerge-ts 栈爆破)via overrides.deepmerge-ts=^8.0.1,
已验证 prisma validate/generate 与全量单测通过、依赖树无 invalid。剩余 extract-zip
high(GHSA-jmr9-qjv8-65gv)为 @lhci/cli dev 工具链且无非破坏性补丁,记录为已知
dev 残留;生产依赖 npm audit --omit=dev 为 0 漏洞。
2026-08-19 14:43:47 +08:00
zhangxiang
b6959e1b04
fix(cms): generalize H1 copy and dedupe service card metrics in seed
...
seed 内容层收尾:H1 文案泛化(避免逐页重复、便于多站点复用);去除服务卡片
重复指标(同一指标多次出现),确保首页/服务页数据不冗余。
2026-08-19 14:43:39 +08:00
zhangxiang
713186d552
feat(design): Vibe design optimization — Hero, Bento grids, trust layer, narrative
...
升级全站体验:首页 Hero 改为产品视觉 + 单一 CTA 转化布局;产品矩阵/服务/方案改
为 Bento 非对称网格(ERP 2x2 大卡 + BI 1x2);补齐信任层(可验证信号 + 来源标注)
与「问题→方法→结果」章节式叙事;新增 hero-product-visual 与 bento-grid 可复用组件;
统一动效与品牌视觉资产。新增对应单测、UJ-11 用户旅程测试并更新视觉回归基线快照。
2026-08-19 14:43:27 +08:00
zhangxiang
f3f4e78c51
chore: add script to clean local branches that no longer exist on remote
2026-08-18 14:36:06 +08:00
zhangxiang
f14b82ab63
fix(deploy): wait for Next.js container readiness before verification
...
The container can still be booting when Nginx starts proxying, causing a
temporary 502 in the post-deploy verification. Poll localhost:3000 for up
to 60s after recreating the container.
2026-08-18 13:11:11 +08:00
zhangxiang
f815f87e3d
fix(deploy): brace COMPOSE_FILE in Chinese echo string
...
Bash treated the full-width comma after $COMPOSE_FILE as part of the
variable name under UTF-8 locale, causing an unbound variable error at
the Next.js container rebuild step.
2026-08-18 13:09:23 +08:00
zhangxiang
30924a2887
fix(csp): allow googletagmanager in img/connect sources
...
Align Next.js response CSP with Nginx so GTM conversion pixels are not
blocked by the intersection of duplicate CSP headers.
2026-08-18 13:08:22 +08:00
zhangxiang
4cad9f931a
fix(nginx): allow googletagmanager in CSP img/connect sources
...
GTM conversion tracking uses images from www.googletagmanager.com which
were blocked by img-src, producing console errors on the homepage.
2026-08-18 13:07:44 +08:00
zhangxiang
c06309b2f2
feat(deploy): rebuild Next.js container after dist upload
...
Hybrid rendering requires the Next.js runtime to use the same build as
the client assets served by Nginx. After uploading dist, sync public/
to the server project and rebuild/restart the novalon-website container
so server action IDs and /_next/static references stay consistent.
2026-08-18 13:06:52 +08:00
zhangxiang
57e00aa4b4
fix(deploy): serve standalone client chunks at /_next/static
...
Next.js standalone output places client chunks under dist/static, but the
generated HTML references /_next/static/... which Nginx serves from
dist/_next/static. Mirror static -> _next/static during build so CSS/JS
load with correct MIME types instead of 404.
2026-08-18 13:03:58 +08:00
zhangxiang
6fa5e4bf32
fix(deploy): sync public assets into standalone dist root
...
Next.js standalone output does not place public/ files at the dist root,
so rsync --delete was removing logo/favicon/fonts/images from production.
Copy public/ into dist after build so Nginx can serve them.
2026-08-18 12:56:19 +08:00
zhangxiang
0b4dff0d37
fix(nginx): fall through to Next.js for root path instead of 403
...
try_files with $uri/ causes Nginx to treat / as a directory and return
403 when no index.html exists in dist root. Use $uri/index.html so
static directory indexes still work while unmatched routes (including /)
fall through to the Next.js runtime.
2026-08-18 12:53:43 +08:00
zhangxiang
8d3bd723c3
fix(brand): unify calligraphy logo across header, footer and brand page
...
- logo.svg: remove dark-mode white fill so header/hero calligraphy stays
visible on white backgrounds and matches footer logo-white.svg
- about/brand: replace sans-serif brand title with BrandCalligraphyName,
reusing the same AoyagiReisho SVG paths as the footer logo without
loading the 4.4MB font file
- add unit tests for BrandCalligraphyName and document decision in CONTEXT.md
2026-08-18 12:51:33 +08:00
zhangxiang
628a0f1a2b
fix: align startup copy with 2026 founding and deploy hybrid rendering
...
- Replace fabricated 12-year/500+/8+ team experience claims with
2026 founding, first-client co-creation, professional team wording
- Remove fake case studies and unverified certifications from seeds,
cases page, products and ERP upgrade page
- Enable Next.js standalone output and production hybrid deployment
(Dockerfile.prod, docker-compose.server.yml, Nginx nextjs upstream)
- Add linux-musl Prisma engine target and production crypto key build
- Sync production CMS database with cleaned seed content
2026-08-17 20:21:39 +08:00
zhangxiang
700ce12602
chore: ignore deploy backups and session artifacts
...
- 忽略 dist_backup/(部署备份目录)
- 忽略 sessions/(会话日志)
2026-08-17 18:43:43 +08:00
zhangxiang
af57504e8e
refactor(deploy): 统一发布脚本为单一入口 scripts/deploy.sh
...
- 新增 scripts/deploy.sh,支持 build/deploy/rollback/status 子命令
- 删除 deploy.sh、deploy-dist.sh、scripts/deploy-static.sh、scripts/deployment/deploy-production.sh
- Jenkinsfile 部署/回滚改为调用统一脚本,移除内联部署逻辑与 STATIC_DIR
- 同步 README、DEPLOYMENT、docs、CLAUDE.md、setup-cicd 与 package.json 脚本
2026-08-17 18:40:51 +08:00
zhangxiang
315d664b9c
docs: update deployment documentation and add session logs
2026-08-15 09:35:24 +08:00