Skip to content

feat(home): rebrand the home promo card from SoybeanUI to VeanUI - #103

Merged
honghuangdc merged 3 commits into
mainfrom
feat/docs-rebrand-vean-ui
Oct 13, 2026
Merged

honghuangdc merged 3 commits into
mainfrom
feat/docs-rebrand-vean-ui

Conversation

@honghuangdc

@honghuangdc honghuangdc commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

User description

What

The home page promo card still advertised SoybeanUI, linking to ui.soybeanjs.cn and github.com/soybeanjs/soybean-ui. Both now belong to the previous brand.

Changes

  • Links point at veanui.com and github.com/soybeanjs/vean-ui
  • Copy reflects the two-layer split: @vean/aria (unstyled interaction + a11y semantics) and @vean/ui (styled wrappers)
  • Component count refreshed to 96+ (96 public groups, per the vean-ui README)
  • Card now uses the hosted VeanUI logo (https://img.soybeanjs.dev/logo-vean-ui.svg) instead of the admin template's
  • SbUiPromo.vue renamed to VeanUiPromo.vue, class prefix soybean-ui-promo* renamed to vean-ui-promo* (style.css selectors synced)

Notes

  • Upstream renamed the project in v0.50.0: npm scope @soybeanjs/* to @vean/*, logic-layer package headless to aria, runtime contract data-soybean-* / --soybean-* to data-vean-* / --vean-*. The two-layer split already existed before the rename, it was simply named headless / ui.
  • The logo is loaded from the shared image host rather than vendored into src/public/, so this repo does not carry an upstream asset; the runtime therefore depends on img.soybeanjs.dev being reachable.
  • Only the promo card needed changes; the other soybeanjs.cn links (previews, legacy docs) point at unrelated products and were left alone.

Verification

pnpm fmt / pnpm lint / pnpm typecheck / pnpm build all exit 0. The built HTML at / and /zh/ contains veanui.com and the new logo, with no SoybeanUI left anywhere. Built HTML references https://img.soybeanjs.dev/logo-vean-ui.svg.


PR Type

Documentation, Enhancement


Description

  • 首页推广组件由 SbUiPromo.vue 重命名为 VeanUiPromo.vue

  • 链接与文案更新为 VeanUI(veanui.com、@vean/aria、@vean/ui)

  • 组件数量由 91+ 刷新为 96+

  • CSS 类前缀 soybean-ui-promo* 同步改为 vean-ui-promo*

  • 移除无匹配 props 的 siteHint 与 githubHint


Diagram Walkthrough

flowchart LR
  A["SbUiPromo.vue"] -- "重命名" --> B["VeanUiPromo.vue"]
  B -- "更新链接/文案/Logo" --> C["promoCopy (en/jp/zh)"]
  B -- "同步类前缀" --> D["style.css"]
Loading

File Walkthrough

Relevant files
Enhancement
style.css
同步重命名推广卡片 CSS 类前缀                                                                               

.vitepress/theme/style.css

  • 所有 soybean-ui-promo* CSS 选择器重命名为 vean-ui-promo*
  • 注释由 "Home: SoybeanUI Promo" 改为 "Home: VeanUI Promo"
+116/-116
VeanUiPromo.vue
新增 VeanUI 推广组件                                                                                     

.vitepress/theme/VeanUiPromo.vue

  • 新增 VeanUI 推广组件,类前缀改为 vean-ui-promo*
  • 链接指向 veanui.com 与 github.com/soybeanjs/vean-ui
  • Logo 改用托管地址 https://img.soybeanjs.dev/logo-vean-ui.svg
  • 品牌名与无障碍标签文案改为 VeanUI
+164/-0 
Miscellaneous
SbUiPromo.vue
删除旧推广组件文件                                                                                               

.vitepress/theme/SbUiPromo.vue

  • 删除旧的 SoybeanUI 推广组件
  • 由新文件 VeanUiPromo.vue 取代
+0/-164 
Documentation
index.md
更新英文首页推广文案与组件引用                                                                                   

src/index.md

  • 引用组件改为 VeanUiPromo
  • 文案描述双层架构:@vean/aria 与 @vean/ui
  • 组件数量由 91+ 更新为 96+
  • 移除无匹配 props 的 siteHint 与 githubHint
+8/-10   
index.md
更新日文首页推广文案与组件引用                                                                                   

src/jp/index.md

  • 引用组件改为 VeanUiPromo
  • 日文文案改述双层架构与 96+ 组件数
  • 链接标签更新为 veanui.com 并移除冗余 props
+8/-10   
index.md
更新中文首页推广文案与组件引用                                                                                   

src/zh/index.md

  • 引用组件改为 VeanUiPromo
  • 中文文案改述双层架构与 96+ 组件数
  • 链接标签更新为 veanui.com 并移除冗余 props
+8/-10   

- The home promo linked to `ui.soybeanjs.cn` and `github.com/soybeanjs/soybean-ui`,
  both of which now belong to the previous brand; point them at `veanui.com`
  and `github.com/soybeanjs/vean-ui`
- Reflect the two-layer split in the copy: `@vean/aria` for unstyled
  interaction and a11y semantics, `@vean/ui` for styled wrappers
- Refresh the component count to 96+, and give the card the VeanUI logo
  instead of the admin template's
- Rename `SbUiPromo.vue` to `VeanUiPromo.vue` and its `soybean-ui-promo*`
  class prefix to `vean-ui-promo*`, keeping the style.css selectors in sync
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Deploying soybean-admin-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 93200ad
Status: ✅  Deploy successful!
Preview URL: https://9ec33622.soybean-admin-docs-d90.pages.dev
Branch Preview URL: https://feat-docs-rebrand-vean-ui.soybean-admin-docs-d90.pages.dev

View logs

Comment thread .vitepress/theme/VeanUiPromo.vue Outdated
<template>
<div class="vean-ui-promo">
<div class="vean-ui-promo__brand">
<img class="vean-ui-promo__logo" src="/vean-ui-logo.svg" alt="VeanUI logo" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

资源缺失

新组件在三处引用 /vean-ui-logo.svg(桌面卡片、移动端入口、抽屉内 logo),但 PR 的 diff 中未出现 src/public/vean-ui-logo.svg 被新增。若该 SVG 实际未随本 PR 提交(或不在 VitePress 的 public 目录下),三种语言首页的 logo 图片都会 404,仅显示 alt 文本。PR 描述声称已添加该文件,但 diff 中不可见;不确定性在于 diff 可能被过滤,请确认该文件确实包含在变更中。

Comment thread src/index.md Outdated
Comment on lines 78 to 80
siteHint: 'Official site',
githubText: 'GitHub',
githubHint: 'Source code'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

遗留字段

promoCopy 仍传入 siteHint 和 githubHint,但新的 VeanUiPromo.vue 已不再声明或使用这两个属性(原 SbUiPromo 中对应的 <small> 提示文案被移除)。由于该组件是双根节点(.vean-ui-promo 与 .vean-ui-promo-mobile),无法自动继承多余属性,开发模式下 Vue 会对三个语言页面(src/index.md、src/jp/index.md、src/zh/index.md)输出 Extraneous non-props attributes 警告。属轻微问题:删除这两个遗留字段,或在组件中恢复使用即可。

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit 93200ad)

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected
✅ Resolved findings

src/index.md:78

遗留无效属性

promoCopy 中仍保留 siteHint: 'Official site'(en/jp/zh 三个首页均相同),但新的 VeanUiPromo.vue 组件 props 已不再声明 siteHint,模板也未渲染它。由于该组件模板是多根节点(fragment),未声明的属性无法被自动继承,vitepress dev 下会触发 Vue 的 "Extraneous non-props attributes" 警告。应一并删除三处无用的 siteHint 字段。

.vitepress/theme/VeanUiPromo.vue:27

资源引用不一致

PR 描述称卡片改用本地资源 src/public/vean-ui-logo.svg,但组件内三处 <img>(桌面卡片、移动卡片、抽屉)实际都加载远程地址 https://img.soybeanjs.dev/logo-vean-ui.svg。这使所有语言版本的首页推广卡 logo 运行时依赖第三方图床:该域名不可达或路径变更时会出现裂图,且与描述所述实现不符。建议改用本地 SVG,或同步修正描述。

src/index.md:78-80

遗留字段

promoCopy 仍传入 siteHint 和 githubHint,但新的 VeanUiPromo.vue 已不再声明或使用这两个属性(原 SbUiPromo 中对应的 <small> 提示文案被移除)。由于该组件是双根节点(.vean-ui-promo 与 .vean-ui-promo-mobile),无法自动继承多余属性,开发模式下 Vue 会对三个语言页面(src/index.md、src/jp/index.md、src/zh/index.md)输出 Extraneous non-props attributes 警告。属轻微问题:删除这两个遗留字段,或在组件中恢复使用即可。

.vitepress/theme/VeanUiPromo.vue:27

资源缺失

新组件在三处引用 /vean-ui-logo.svg(桌面卡片、移动端入口、抽屉内 logo),但 PR 的 diff 中未出现 src/public/vean-ui-logo.svg 被新增。若该 SVG 实际未随本 PR 提交(或不在 VitePress 的 public 目录下),三种语言首页的 logo 图片都会 404,仅显示 alt 文本。PR 描述声称已添加该文件,但 diff 中不可见;不确定性在于 diff 可能被过滤,请确认该文件确实包含在变更中。

- Serve the logo from `https://img.soybeanjs.dev/logo-vean-ui.svg` instead of
  vendoring a copy under `src/public/`, keeping this repo from carrying an
  asset it does not own
- `siteHint` and `githubHint` were left in `promoCopy` with no matching props
  on the promo component; the component has two root nodes, so Vue cannot
  fall through the extras and warns on every home page render
<template>
<div class="vean-ui-promo">
<div class="vean-ui-promo__brand">
<img class="vean-ui-promo__logo" src="https://img.soybeanjs.dev/logo-vean-ui.svg" alt="VeanUI logo" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

资源引用不一致

PR 描述称卡片改用本地资源 src/public/vean-ui-logo.svg,但组件内三处 <img>(桌面卡片、移动卡片、抽屉)实际都加载远程地址 https://img.soybeanjs.dev/logo-vean-ui.svg。这使所有语言版本的首页推广卡 logo 运行时依赖第三方图床:该域名不可达或路径变更时会出现裂图,且与描述所述实现不符。建议改用本地 SVG,或同步修正描述。

Comment thread src/index.md Outdated
drawerCloseLabel: 'Close SoybeanUI drawer',
directLinkLabel: 'Open veanui.com',
drawerCloseLabel: 'Close VeanUI drawer',
siteHint: 'Official site',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

遗留无效属性

promoCopy 中仍保留 siteHint: 'Official site'(en/jp/zh 三个首页均相同),但新的 VeanUiPromo.vue 组件 props 已不再声明 siteHint,模板也未渲染它。由于该组件模板是多根节点(fragment),未声明的属性无法被自动继承,vitepress dev 下会触发 Vue 的 "Extraneous non-props attributes" 警告。应一并删除三处无用的 siteHint 字段。

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 425d91c

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 93200ad

@honghuangdc
honghuangdc merged commit b172212 into main Oct 13, 2026
2 checks passed
@honghuangdc
honghuangdc deleted the feat/docs-rebrand-vean-ui branch October 13, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant