From 9d6c1e03967b364931db20f79cd4b8f018141e02 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Fri, 26 Dec 2025 13:19:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E6=A8=A1=E6=9D=BF=E9=81=97=E7=95=99=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除以下未在路由中配置且从未被引用的组件: - src/views/Authentication/ (9个文件) - Lock: LockBasic, LockCover, LockIllustration - Reset: ResetBasic, ResetCover, ResetIllustration - Verification: VerificationBasic, VerificationCover, VerificationIllustration - src/views/Landing/ (1个文件) - index.js - 通过 iframe 嵌入静态页面 - src/views/Pricing/ (2个文件) - index.tsx, content.tsx - 与 Subscription 功能重复 这些组件是 Argon Dashboard 模板遗留物,从未在项目中实际使用。 删除后减少 12 个冗余文件,降低维护负担。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/views/Authentication/Lock/LockBasic.js | 117 ---------------- src/views/Authentication/Lock/LockCover.js | 109 --------------- .../Authentication/Lock/LockIllustration.js | 81 ----------- src/views/Authentication/Reset/ResetBasic.js | 125 ----------------- src/views/Authentication/Reset/ResetCover.js | 109 --------------- .../Authentication/Reset/ResetIllustration.js | 81 ----------- .../Verification/VerificationBasic.js | 116 ---------------- .../Verification/VerificationCover.js | 104 -------------- .../Verification/VerificationIllustration.js | 93 ------------- src/views/Landing/index.js | 29 ---- src/views/Pricing/content.tsx | 35 ----- src/views/Pricing/index.tsx | 129 ------------------ 12 files changed, 1128 deletions(-) delete mode 100755 src/views/Authentication/Lock/LockBasic.js delete mode 100755 src/views/Authentication/Lock/LockCover.js delete mode 100755 src/views/Authentication/Lock/LockIllustration.js delete mode 100755 src/views/Authentication/Reset/ResetBasic.js delete mode 100755 src/views/Authentication/Reset/ResetCover.js delete mode 100755 src/views/Authentication/Reset/ResetIllustration.js delete mode 100755 src/views/Authentication/Verification/VerificationBasic.js delete mode 100755 src/views/Authentication/Verification/VerificationCover.js delete mode 100755 src/views/Authentication/Verification/VerificationIllustration.js delete mode 100644 src/views/Landing/index.js delete mode 100644 src/views/Pricing/content.tsx delete mode 100644 src/views/Pricing/index.tsx diff --git a/src/views/Authentication/Lock/LockBasic.js b/src/views/Authentication/Lock/LockBasic.js deleted file mode 100755 index 2dc247c2..00000000 --- a/src/views/Authentication/Lock/LockBasic.js +++ /dev/null @@ -1,117 +0,0 @@ -/*! - -========================================================= -* Argon Dashboard Chakra PRO - v1.0.0 -========================================================= - -* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro -* Copyright 2022 Creative Tim (https://www.creative-tim.com/) - -* Designed and Coded by Simmmple & Creative Tim - -========================================================= - -* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -*/ - -// Chakra imports -import { - Button, - Flex, - FormControl, - FormLabel, - HStack, - Icon, - Input, - Link, - Switch, - Text, - useColorModeValue, -} from "@chakra-ui/react"; -// Assets -import BasicImage from "assets/img/BasicImage.png"; -import React from "react"; -import AuthBasic from "layouts/AuthBasic"; - -function LockBasic() { - // Chakra color mode - const textColor = useColorModeValue("gray.700", "white"); - const bgForm = useColorModeValue("white", "navy.800"); - return ( - - - - - Mike Priesler - - - Enter your password to unlock your account. - - - - Password - - - - - - - - ); -} - -export default LockBasic; diff --git a/src/views/Authentication/Lock/LockCover.js b/src/views/Authentication/Lock/LockCover.js deleted file mode 100755 index bad980d8..00000000 --- a/src/views/Authentication/Lock/LockCover.js +++ /dev/null @@ -1,109 +0,0 @@ -/*! - -========================================================= -* Argon Dashboard Chakra PRO - v1.0.0 -========================================================= - -* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro -* Copyright 2022 Creative Tim (https://www.creative-tim.com/) - -* Designed and Coded by Simmmple & Creative Tim - -========================================================= - -* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -*/ - -// Chakra imports -import { - Button, - Flex, - FormControl, - FormLabel, - Input, - Text, - useColorModeValue, -} from "@chakra-ui/react"; -// Assets -import CoverImage from "assets/img/CoverImage.png"; -import React from "react"; -import AuthCover from "layouts/AuthCover"; - -function LockCover() { - // Chakra color mode - const textColor = useColorModeValue("gray.700", "white"); - const bgForm = useColorModeValue("white", "navy.800"); - return ( - - - - - Mike Priesler - - - Enter your password to unlock your account. - - - - Email - - - - - - - - ); -} - -export default LockCover; diff --git a/src/views/Authentication/Lock/LockIllustration.js b/src/views/Authentication/Lock/LockIllustration.js deleted file mode 100755 index cd82bf5d..00000000 --- a/src/views/Authentication/Lock/LockIllustration.js +++ /dev/null @@ -1,81 +0,0 @@ -import React from "react"; -// Chakra imports -import { - Button, - Flex, - FormControl, - FormLabel, - Input, - Text, - useColorModeValue, - LightMode, -} from "@chakra-ui/react"; -// Assets -import illustration from "assets/img/illustration-auth.png"; -import AuthIllustration from "layouts/AuthIllustration"; - -function LockIllustration() { - // Chakra color mode - const textColor = useColorModeValue("blue.500", "blue.500"); - return ( - - - - - Mike Priesler - - - Enter your password to unlock your account. - - - - Password - - - - - - - - - - ); -} - -export default LockIllustration; diff --git a/src/views/Authentication/Reset/ResetBasic.js b/src/views/Authentication/Reset/ResetBasic.js deleted file mode 100755 index 2cf9b1e9..00000000 --- a/src/views/Authentication/Reset/ResetBasic.js +++ /dev/null @@ -1,125 +0,0 @@ -/*! - -========================================================= -* Argon Dashboard Chakra PRO - v1.0.0 -========================================================= - -* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro -* Copyright 2022 Creative Tim (https://www.creative-tim.com/) - -* Designed and Coded by Simmmple & Creative Tim - -========================================================= - -* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -*/ - -// Chakra imports -import { - Button, - Flex, - FormControl, - FormLabel, - Input, - Text, - useColorModeValue, -} from "@chakra-ui/react"; -// Assets -import BasicImage from "assets/img/BasicImage.png"; -import React from "react"; -import AuthBasic from "layouts/AuthBasic"; - -function ResetCover() { - // Chakra color mode - const textColor = useColorModeValue("gray.700", "white"); - const bgForm = useColorModeValue("white", "navy.800"); - return ( - - - - - Reset password - - - You will receive an e-mail in maximum 60 seconds. - - - - Email - - - {/* - Password - - */} - - - - - - ); -} - -export default ResetCover; diff --git a/src/views/Authentication/Reset/ResetCover.js b/src/views/Authentication/Reset/ResetCover.js deleted file mode 100755 index d84b7e96..00000000 --- a/src/views/Authentication/Reset/ResetCover.js +++ /dev/null @@ -1,109 +0,0 @@ -/*! - -========================================================= -* Argon Dashboard Chakra PRO - v1.0.0 -========================================================= - -* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro -* Copyright 2022 Creative Tim (https://www.creative-tim.com/) - -* Designed and Coded by Simmmple & Creative Tim - -========================================================= - -* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -*/ - -// Chakra imports -import { - Button, - Flex, - FormControl, - FormLabel, - Input, - Text, - useColorModeValue, -} from "@chakra-ui/react"; -// Assets -import CoverImage from "assets/img/CoverImage.png"; -import React from "react"; -import AuthCover from "layouts/AuthCover"; - -function ResetCover() { - // Chakra color mode - const textColor = useColorModeValue("gray.700", "white"); - const bgForm = useColorModeValue("white", "navy.800"); - return ( - - - - - Reset password - - - You will receive an e-mail in maximum 60 seconds. - - - - Email - - - - - - - - ); -} - -export default ResetCover; diff --git a/src/views/Authentication/Reset/ResetIllustration.js b/src/views/Authentication/Reset/ResetIllustration.js deleted file mode 100755 index 8fcaf984..00000000 --- a/src/views/Authentication/Reset/ResetIllustration.js +++ /dev/null @@ -1,81 +0,0 @@ -import React from "react"; -// Chakra imports -import { - Button, - Flex, - FormControl, - FormLabel, - Input, - Text, - useColorModeValue, - LightMode, -} from "@chakra-ui/react"; -// Assets -import illustration from "assets/img/illustration-auth.png"; -import AuthIllustration from "layouts/AuthIllustration"; - -function ResetIllustration() { - // Chakra color mode - const textColor = useColorModeValue("blue.500", "blue.500"); - return ( - - - - - Reset password - - - You will receive an e-mail in maximum 60 seconds. - - - - Email - - - - - - - - - - ); -} - -export default ResetIllustration; diff --git a/src/views/Authentication/Verification/VerificationBasic.js b/src/views/Authentication/Verification/VerificationBasic.js deleted file mode 100755 index 179e9033..00000000 --- a/src/views/Authentication/Verification/VerificationBasic.js +++ /dev/null @@ -1,116 +0,0 @@ -/*! - -========================================================= -* Argon Dashboard Chakra PRO - v1.0.0 -========================================================= - -* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro -* Copyright 2022 Creative Tim (https://www.creative-tim.com/) - -* Designed and Coded by Simmmple & Creative Tim - -========================================================= - -* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -*/ - -// Chakra imports -import { - Button, - Link, - Flex, - FormControl, - Text, - Icon, - useColorModeValue, -} from "@chakra-ui/react"; -// Assets -import BasicImage from "assets/img/BasicImage.png"; -import React from "react"; -import AuthBasic from "layouts/AuthBasic"; -import { PinInputLight } from "components/PinInput/PinInput"; -import { Rocket } from "lucide-react"; - -function LockBasic() { - // Chakra color mode - const textColor = useColorModeValue("gray.700", "white"); - const bgForm = useColorModeValue("white", "navy.800"); - return ( - - - - - - - - 2-Step Verification - - - - - - - - - Haven't received it?{" "} - - Resend a new code. - - - - - - ); -} - -export default LockBasic; diff --git a/src/views/Authentication/Verification/VerificationCover.js b/src/views/Authentication/Verification/VerificationCover.js deleted file mode 100755 index f180820e..00000000 --- a/src/views/Authentication/Verification/VerificationCover.js +++ /dev/null @@ -1,104 +0,0 @@ -/*! - -========================================================= -* Argon Dashboard Chakra PRO - v1.0.0 -========================================================= - -* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro -* Copyright 2022 Creative Tim (https://www.creative-tim.com/) - -* Designed and Coded by Simmmple & Creative Tim - -========================================================= - -* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -*/ - -// Chakra imports -import { - Button, - Flex, - Link, - Icon, - FormControl, - Text, - useColorModeValue, -} from "@chakra-ui/react"; -// Assets -import { PinInputLight } from "components/PinInput/PinInput"; -import { Rocket } from "lucide-react"; -import CoverImage from "assets/img/CoverImage.png"; -import React from "react"; -import AuthCover from "layouts/AuthCover"; - -function LockCover() { - // Chakra color mode - const textColor = useColorModeValue("gray.700", "white"); - const bgForm = useColorModeValue("white", "navy.800"); - return ( - - - - - - - 2-Step Verification - - - - - - - - - Haven't received it?{" "} - - Resend a new code. - - - - - ); -} - -export default LockCover; diff --git a/src/views/Authentication/Verification/VerificationIllustration.js b/src/views/Authentication/Verification/VerificationIllustration.js deleted file mode 100755 index b4e882ed..00000000 --- a/src/views/Authentication/Verification/VerificationIllustration.js +++ /dev/null @@ -1,93 +0,0 @@ -import React from "react"; -// Chakra imports -import { - Button, - Flex, - FormControl, - Link, - Text, - Icon, - useColorModeValue, -} from "@chakra-ui/react"; -// Assets -import illustration from "assets/img/illustration-auth.png"; -import AuthIllustration from "layouts/AuthIllustration"; -import { PinInputDark } from "components/PinInput/PinInput"; -import { Rocket } from "lucide-react"; - -function LockIllustration() { - // Chakra color mode - const textColor = useColorModeValue("blue.500", "blue.500"); - const inputBg = useColorModeValue( - { background: "white !important" }, - { background: "red !important" } - ); - return ( - - - - - - - - 2-Step Verification - - - - - - - - - Haven't received it?{" "} - - Resend a new code. - - - - - - ); -} - -export default LockIllustration; diff --git a/src/views/Landing/index.js b/src/views/Landing/index.js deleted file mode 100644 index c8e602bf..00000000 --- a/src/views/Landing/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// src/views/Landing/index.js -// Landing 页面 - 使用 iframe 嵌入静态 landing.html - -/** - * Landing 组件 - * - * 使用 iframe 全屏嵌入 landing.html,保持静态页面的完整功能 - * 同时可以通过 React 路由访问 - */ -export default function Landing() { - return ( -