Skip to content

Commit

Permalink
docs: update README (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
YumoImer authored Nov 21, 2024
1 parent e20b9ce commit 515ba3c
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const CustomizationWelcome: React.FC<WelcomeProps> = (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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const AssistantScene: React.FC = () => {
<Welcome
icon={
<img
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
alt="Ant Design X"
/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const IndependentScene: React.FC = () => {
<Welcome
icon={
<img
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
alt="Ant Design X"
/>
}
Expand Down
2 changes: 2 additions & 0 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

</div>

![demos](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UAEeSbJfuM8AAAAAAAAAAAAADgCCAQ/fmt.webp)

## ✨ 特性

- 🌈 **源自企业级 AI 产品的最佳实践**:基于 RICH 交互范式,提供卓越的 AI 交互体验
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ The ready-made partner for building Copilot applications.

</div>

![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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports[`renders components/welcome/demo/background.tsx extend context correctly
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down Expand Up @@ -56,7 +56,7 @@ exports[`renders components/welcome/demo/background.tsx extend context correctly
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down Expand Up @@ -90,7 +90,7 @@ exports[`renders components/welcome/demo/basic.tsx extend context correctly 1`]
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down Expand Up @@ -121,7 +121,7 @@ exports[`renders components/welcome/demo/variant.tsx extend context correctly 1`
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down
8 changes: 4 additions & 4 deletions components/welcome/__tests__/__snapshots__/demo.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports[`renders components/welcome/demo/background.tsx correctly 1`] = `
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down Expand Up @@ -56,7 +56,7 @@ exports[`renders components/welcome/demo/background.tsx correctly 1`] = `
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down Expand Up @@ -88,7 +88,7 @@ exports[`renders components/welcome/demo/basic.tsx correctly 1`] = `
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down Expand Up @@ -117,7 +117,7 @@ exports[`renders components/welcome/demo/variant.tsx correctly 1`] = `
>
<img
alt="icon"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*7iaeT54QpcQAAAAAAAAAAAAADgCCAQ/original"
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
/>
</div>
<div
Expand Down
2 changes: 1 addition & 1 deletion components/welcome/demo/_semantic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const App: React.FC = () => {
]}
>
<Welcome
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~"
extra={
Expand Down
2 changes: 1 addition & 1 deletion components/welcome/demo/background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Demo = () => {
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~"
/>
Expand Down
2 changes: 1 addition & 1 deletion components/welcome/demo/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
const Demo = () => {
return (
<Welcome
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~"
/>
Expand Down
2 changes: 1 addition & 1 deletion components/welcome/demo/variant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Demo = () => {
return (
<Welcome
variant="borderless"
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~"
extra={
Expand Down
2 changes: 1 addition & 1 deletion docs/playground/independent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const Independent: React.FC = () => {
<Space direction="vertical" size={16} className={styles.placeholder}>
<Welcome
variant="borderless"
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~"
extra={
Expand Down
2 changes: 2 additions & 0 deletions docs/react/introduce.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Following the Ant Design specification, we developed a React UI library `@ant-de

---

![](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.
Expand Down
2 changes: 2 additions & 0 deletions docs/react/introduce.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ title: Ant Design X of React

---

![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UAEeSbJfuM8AAAAAAAAAAAAADgCCAQ/fmt.webp)

## ✨ 特性

- 🌈 **源自企业级 AI 产品的最佳实践**:基于 RICH 交互范式,提供卓越的 AI 交互体验
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"clean": "antd-tools run clean && rm -rf es lib coverage locale dist report.html artifacts.zip oss-artifacts.zip",
"precompile": "npm run prestart",
"compile": "father build",
"predeploy": "npm run site && cp CNAME _site && npm run test:site",
"predeploy": "npm run site && cp CNAME _site",
"deploy": "gh-pages -d _site -b gh-pages -f",
"predist": "npm run version && npm run token:statistic && npm run token:meta",
"legacy_dist": "antd-tools run dist",
Expand Down

0 comments on commit 515ba3c

Please sign in to comment.