diff --git a/src/pages/Welcome.tsx b/src/pages/Welcome.tsx index 691e97ca..f46b0d12 100644 --- a/src/pages/Welcome.tsx +++ b/src/pages/Welcome.tsx @@ -1,10 +1,6 @@ import { PageContainer } from '@ant-design/pro-components'; -import { useModel } from '@umijs/max'; -import { Card, Col, Row, Typography } from 'antd'; import React from 'react'; -const { Title, Paragraph, Text } = Typography; - interface InfoCardProps { title: string; index: number; @@ -13,119 +9,71 @@ interface InfoCardProps { } const InfoCard: React.FC = ({ title, index, desc, href }) => ( - - -
-
- {index} -
-
- - {title} - - - {desc} - -
+
+
+
+ {index} +
+
+

{title}

+

+ {desc} +

- +
); -const Welcome: React.FC = () => { - const { initialState } = useModel('@@initialState'); - const isDark = initialState?.settings?.navTheme === 'realDark'; - - return ( - - - - - {/* 标题区域 */} -
- - 欢迎使用 Ant Design Pro - - - Ant Design Pro 是一个整合了 umi,Ant Design 和 ProComponents - 的脚手架方案。致力于在设计规范和基础组件的基础上,继续向上构建,提炼出典型模板/业务组件/配套设计资源,进一步提升企业级中后台产品设计研发过程中的『用户』和『设计者』的体验。 - -
+const Welcome: React.FC = () => ( + +
+
+

欢迎使用 Ant Design Pro

+

+ Ant Design Pro 是一个整合了 umi,Ant Design 和 + ProComponents的脚手架方案。致力于在设计规范和基础组件的基础上,继续向上构建,提炼出典型模板/业务组件/配套设计资源,进一步提升企业级中后台产品设计研发过程中的『用户』和『设计者』的体验。 +

+
- {/* 卡片区域 */} - - - - - - - - - - - +
+ + + +
- {/* 底部链接 */} -
- - 更多文档请访问:{' '} - - Pro 官方文档 - - -
- - - - - ); -}; +
+ 更多文档请访问:{' '} + + Pro 官方文档 + +
+
+
+); export default Welcome; diff --git a/src/pages/list/card-list/index.tsx b/src/pages/list/card-list/index.tsx index 3c6951d9..f450c911 100644 --- a/src/pages/list/card-list/index.tsx +++ b/src/pages/list/card-list/index.tsx @@ -17,7 +17,7 @@ const CardList = () => { const content = (

- 段落示意:蚂蚁集团务设计平台 + 段落示意:蚂蚁集团设计平台 ant.design,用最小的工作量,无缝接入蚂蚁集团生态, 提供跨越设计与开发的体验解决方案。