refactor(home): de-productize hero visual to abstract data-driven graphic
- 移除「睿新·经营驾驶舱」产品 UI 外壳(窗口头/侧边栏/表格/产品名) - Hero 视觉改为抽象数据可视化(KPI + 趋势图),眉标「数据驱动 · 让转型可量化」 - 对齐 IHG/字节式品牌矩阵定位:能力表达而非产品展示 - 首页单测 6/6 + 视觉基线三端更新,type-check / lint 0 errors
This commit is contained in:
@@ -86,11 +86,11 @@ jest.mock('lucide-react', () => {
|
||||
});
|
||||
|
||||
describe('HomeContentV14 - 首页 Hero 优化', () => {
|
||||
it('renders an SVG product visual with an interface disclaimer', () => {
|
||||
it('renders an abstract data-driven visual without product UI shell', () => {
|
||||
render(<HomeContentV14 />);
|
||||
|
||||
expect(screen.getByTestId('hero-product-visual')).toBeInTheDocument();
|
||||
expect(screen.getByText('产品界面示意')).toBeInTheDocument();
|
||||
expect(screen.getByText('数据驱动 · 让转型可量化')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('keeps a single primary CTA and demotes the secondary action to a text link', () => {
|
||||
|
||||
Reference in New Issue
Block a user