Skip to content

Commit befd93f

Browse files
authored
feat: AI development and QA (#193)
* feat: 使用0.7.9的@antv/dumi-theme-antv能运行 * feat: 首页UI基本完成 * feat: 首页UI兼容 * feat: 使用beta版主题包 * chore: 修复tsc问题 * fix: 修复CR意见 * chore: 修复构建问题 * chore: 修复tsc问题 * chore: 修复tsc问题 * fix: 宽度自适应 --------- Co-authored-by: huiyu.zjt <huiyu.zjt@antgroup.com>
1 parent 13b9975 commit befd93f

File tree

20 files changed

+75
-587
lines changed

20 files changed

+75
-587
lines changed

.dumi/pages/case/index.en.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

.dumi/pages/case/index.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

.dumi/pages/quick/index.en.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

.dumi/pages/quick/index.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

.dumi/theme/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"蚂蚁数据可视化": "AntV",
3-
"让数据栩栩如生": "Liven Data Lively",
3+
"·让AGI栩栩如生": "· Liven AGI Lively",
44
"蚂蚁集团全新一代数据可视化解决方案": "A new generation of data visualization solution from Ant Group",
55
"AntV 是蚂蚁集团全新一代数据可视化解决方案,致力于提供一套简单方便、专业可靠、无限可能的数据可视化最佳实践。": "AntV is a new generation of data visualization solution from Ant Group. We provide best practices of data visualization with simplicity, convenience, profession, reliability, and infinite possibilities.",
66
"立业・利业": "Found business・Help business",

.dumi/theme/locales/zh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"蚂蚁数据可视化": "蚂蚁数据可视化",
3-
"让数据栩栩如生": "让数据栩栩如生",
3+
"·让AGI栩栩如生": "·让AGI栩栩如生",
44
"蚂蚁集团全新一代数据可视化解决方案": "蚂蚁集团全新一代数据可视化解决方案",
55
"AntV 是蚂蚁集团全新一代数据可视化解决方案,致力于提供一套简单方便、专业可靠、无限可能的数据可视化最佳实践。": "AntV 是蚂蚁集团全新一代数据可视化解决方案,致力于提供一套简单方便、专业可靠、无限可能的数据可视化最佳实践。",
66
"立业・利业": "立业・利业",

.dumi/theme/slots/Detail/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SEO from '@antv/dumi-theme-antv/dist/common/SEO';
1+
import SEO from '@antv/dumi-theme-antv/dist/common/CommonHelmet';
22
import { useIntl, useLocale } from 'dumi';
33
import { debounce } from 'lodash';
44
import React, { useEffect, useRef } from 'react';

.dumirc.ts

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
isAntVSite: true, // 是否是 AntV 的大官网
2121
footerTheme: 'light',
2222
siteUrl: homepage, // 官网地址
23-
githubUrl: 'https://github.com/antvis', // GitHub 地址
23+
githubUrl: 'https://github.com/antvis/antvis.github.io', // GitHub 地址
2424
showSearch: true, // 是否显示搜索框
2525
showGithubCorner: true, // 是否显示头部的 GitHub icon
2626
showAntVProductsCard: true, // 是否显示 AntV 产品汇总的卡片
@@ -39,20 +39,6 @@ export default defineConfig({
3939
en: 'Design',
4040
},
4141
},
42-
{
43-
slug: 'case',
44-
title: {
45-
zh: '场景案例',
46-
en: 'Show Case',
47-
},
48-
},
49-
{
50-
slug: 'quick',
51-
title: {
52-
zh: '提交 Issue',
53-
en: 'Quick Issue',
54-
},
55-
},
5642
],
5743
ecosystems: [
5844
// 头部的菜单中的「周边生态」
@@ -145,6 +131,16 @@ export default defineConfig({
145131
en: 'Ant Visualization solution',
146132
},
147133
},
134+
metas: {
135+
title: {
136+
zh: "AntV",
137+
en: "AntV"
138+
},
139+
description: {
140+
zh: "让AGI栩栩如生",
141+
en: "Ant Visualization solution"
142+
}
143+
},
148144
},
149145
alias: {
150146
site: '/site',
@@ -160,4 +156,7 @@ export default defineConfig({
160156
},
161157
links: [],
162158
scripts: [],
159+
https: {
160+
http2: false
161+
}
163162
});

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ _site
8080
# dumi tmp_production
8181
.dumi/tmp
8282
.dumi/tmp-production
83+
.idea

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
"url": "https://github.com/antvis/antvis.github.io/issues"
1919
},
2020
"dependencies": {
21+
"ahooks": "^3.9.5",
22+
"@tanstack/react-query": "^5.90.2",
2123
"@ant-design/icons": "^4.8.3",
22-
"@antv/dumi-theme-antv": "^0.5.7",
24+
"@antv/dumi-theme-antv": "beta",
2325
"@antv/g2plot": "^2.3.1",
2426
"@antv/g6": "3.3.7",
2527
"@antv/util": "^3.3.1",
2628
"antd": "5.10.2",
2729
"chroma-js": "^2.1.0",
2830
"classnames": "^2.2.6",
29-
"d3": "^7.8.5",
30-
"dumi": "~2.2.1",
31+
"dumi": "~2.4.21",
3132
"gh-pages": "^3.1.0",
3233
"husky": "^8.0.2",
3334
"lodash": "^4.17.20",
34-
"new-github-issue-url": "^1.0.0",
3535
"prettier": "^2.0.0",
3636
"pretty-quick": "^3.1.3",
3737
"react": "^18.3.1",
@@ -40,12 +40,13 @@
4040
},
4141
"devDependencies": {
4242
"@types/classnames": "^2.2.9",
43-
"@types/d3": "^7.4.2",
4443
"@types/lodash": "^4.14.189",
4544
"@types/parse-github-url": "^1.0.0",
46-
"@types/react": "^16.9.5",
45+
"@types/react": "^18.3.26",
46+
"@types/react-dom": "^18.3.7",
4747
"@types/react-github-button": "^0.1.0",
48-
"@types/react-helmet": "^6.0.0"
48+
"@types/react-helmet": "^6.0.0",
49+
"typescript": "latest"
4950
},
5051
"license": "MIT",
5152
"scripts": {

0 commit comments

Comments
 (0)