From 515ba3c8972b3229c3da090b409798d9fcf24eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8F=8E=EF=B8=8F=20Imer?= <98121322+YumoImer@users.noreply.github.com> Date: Thu, 21 Nov 2024 18:19:29 +0800 Subject: [PATCH] docs: update README (#196) --- .../index/components/CompIntroduction/Customization.tsx | 2 +- .../index/components/SceneIntroduction/Assistant.tsx | 2 +- .../index/components/SceneIntroduction/Independent.tsx | 2 +- README-zh_CN.md | 2 ++ README.md | 2 ++ .../__tests__/__snapshots__/demo-extend.test.ts.snap | 8 ++++---- .../welcome/__tests__/__snapshots__/demo.test.ts.snap | 8 ++++---- components/welcome/demo/_semantic.tsx | 2 +- components/welcome/demo/background.tsx | 2 +- components/welcome/demo/basic.tsx | 2 +- components/welcome/demo/variant.tsx | 2 +- docs/playground/independent.tsx | 2 +- docs/react/introduce.en-US.md | 2 ++ docs/react/introduce.zh-CN.md | 2 ++ package.json | 2 +- 15 files changed, 25 insertions(+), 17 deletions(-) diff --git a/.dumi/pages/index/components/CompIntroduction/Customization.tsx b/.dumi/pages/index/components/CompIntroduction/Customization.tsx index 68e70312..0312e983 100644 --- a/.dumi/pages/index/components/CompIntroduction/Customization.tsx +++ b/.dumi/pages/index/components/CompIntroduction/Customization.tsx @@ -33,7 +33,7 @@ export const CustomizationWelcome: React.FC = (props) => { style={{ width: 290, }} - icon="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original" + icon="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp" title={locale.greeting_short} description={locale.description_short} className={background} diff --git a/.dumi/pages/index/components/SceneIntroduction/Assistant.tsx b/.dumi/pages/index/components/SceneIntroduction/Assistant.tsx index 4c018996..69fe8b42 100644 --- a/.dumi/pages/index/components/SceneIntroduction/Assistant.tsx +++ b/.dumi/pages/index/components/SceneIntroduction/Assistant.tsx @@ -144,7 +144,7 @@ const AssistantScene: React.FC = () => { } diff --git a/.dumi/pages/index/components/SceneIntroduction/Independent.tsx b/.dumi/pages/index/components/SceneIntroduction/Independent.tsx index c362e82a..905bdca2 100644 --- a/.dumi/pages/index/components/SceneIntroduction/Independent.tsx +++ b/.dumi/pages/index/components/SceneIntroduction/Independent.tsx @@ -155,7 +155,7 @@ const IndependentScene: React.FC = () => { } diff --git a/README-zh_CN.md b/README-zh_CN.md index cd9b8b49..a2bcebee 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -23,6 +23,8 @@ +![demos](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UAEeSbJfuM8AAAAAAAAAAAAADgCCAQ/fmt.webp) + ## ✨ 特性 - 🌈 **源自企业级 AI 产品的最佳实践**:基于 RICH 交互范式,提供卓越的 AI 交互体验 diff --git a/README.md b/README.md index acecfd9e..de3c271a 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ The ready-made partner for building Copilot applications. +![demos](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UAEeSbJfuM8AAAAAAAAAAAAADgCCAQ/fmt.webp) + ## ✨ Features - 🌈 **Derived from Best Practices of Enterprise-Level AI Products**: Built on the RICH interaction paradigm, delivering an exceptional AI interaction experience. diff --git a/components/welcome/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/welcome/__tests__/__snapshots__/demo-extend.test.ts.snap index 88663a39..9939c9a9 100644 --- a/components/welcome/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/welcome/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -20,7 +20,7 @@ exports[`renders components/welcome/demo/background.tsx extend context correctly > icon
icon
icon
icon
icon
icon
icon
icon
{ ]} > { backgroundImage: background, borderStartStartRadius: 4, }} - icon="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original" + icon="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp" title="Hello, I'm Ant Design X" description="Base on Ant Design, AGI product interface solution, create a better intelligent vision~" /> diff --git a/components/welcome/demo/basic.tsx b/components/welcome/demo/basic.tsx index 2fb70619..ed8693d7 100644 --- a/components/welcome/demo/basic.tsx +++ b/components/welcome/demo/basic.tsx @@ -4,7 +4,7 @@ import React from 'react'; const Demo = () => { return ( diff --git a/components/welcome/demo/variant.tsx b/components/welcome/demo/variant.tsx index 740d3fb6..d9950f93 100644 --- a/components/welcome/demo/variant.tsx +++ b/components/welcome/demo/variant.tsx @@ -7,7 +7,7 @@ const Demo = () => { return ( {