feat(auth): 实现登录注册功能并重构 App 组件
- 新增登录和注册页面组件
- 实现用户认证和权限管理逻辑
- 重构 App 组件,使用 Router 和 AuthProvider
- 添加管理员面板和论坛页面组件
Change-Id: Iaa4502616970e75e3268537f73c75dac8f60e24d
diff --git a/src/features/profile/pages/ProfilePage.jsx b/src/features/profile/pages/ProfilePage.jsx
new file mode 100644
index 0000000..79fbfe4
--- /dev/null
+++ b/src/features/profile/pages/ProfilePage.jsx
@@ -0,0 +1,19 @@
+import React from 'react';
+import { Typography, Button, Empty } from 'antd';
+
+const { Title } = Typography;
+
+const ProfilePage = () => (
+ <div className="space-y-6">
+ <Title level={2}>个人资料</Title>
+
+ <div className="text-center py-12">
+ <Empty description="用户资料页面正在开发中" />
+ <Button type="primary" className="mt-4">
+ 编辑资料
+ </Button>
+ </div>
+ </div>
+);
+
+export default ProfilePage;
\ No newline at end of file