From 787b52c096ccf7ee6749578ca96236f371df250b Mon Sep 17 00:00:00 2001
From: FrozenArcher
Date: Thu, 14 Mar 2024 19:14:53 +0800
Subject: [PATCH] add Todo
---
src/components/Todo.tsx | 14 ++++++++++++++
src/router.tsx | 11 +++++++----
2 files changed, 21 insertions(+), 4 deletions(-)
create mode 100644 src/components/Todo.tsx
diff --git a/src/components/Todo.tsx b/src/components/Todo.tsx
new file mode 100644
index 0000000..4bde74a
--- /dev/null
+++ b/src/components/Todo.tsx
@@ -0,0 +1,14 @@
+import { Typography } from 'antd';
+
+const { Title, Text } = Typography;
+
+const Todo: React.FC = () => {
+ return (
+
+
施工中...
+ {'// TODO'}
+
+ );
+};
+
+export default Todo;
diff --git a/src/router.tsx b/src/router.tsx
index d1e8a3e..c4a7d2a 100644
--- a/src/router.tsx
+++ b/src/router.tsx
@@ -1,12 +1,15 @@
import { Routes, Route } from 'react-router-dom';
+import Todo from './components/Todo';
export const AppRouter: React.FC = () => {
return (
- Main} />
- Hello1} />
- Hello1} />
- Hello1} />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
);
};