feat: 调整注册逻辑

This commit is contained in:
zdl
2025-10-14 16:02:33 +08:00
parent cd50d718fe
commit e0ca328e1c
12 changed files with 1570 additions and 1206 deletions

View File

@@ -0,0 +1,23 @@
// src/components/Auth/AuthHeader.js
import React from "react";
import { Heading, Text, VStack } from "@chakra-ui/react";
/**
* 认证页面通用头部组件
* 用于显示页面标题和描述
*
* @param {string} title - 主标题文字
* @param {string} subtitle - 副标题文字
*/
export default function AuthHeader({ title, subtitle }) {
return (
<VStack spacing={2} mb={8}>
<Heading size="xl" color="gray.800" fontWeight="bold">
{title}
</Heading>
<Text color="gray.600" fontSize="md">
{subtitle}
</Text>
</VStack>
);
}