refactor(icons): 迁移 components 目录图标到 lucide-react

- @chakra-ui/icons → lucide-react
- react-icons → lucide-react
- 涉及 49 个组件文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-25 12:23:19 +08:00
parent 33e9a10524
commit 6f5c6c933e
49 changed files with 250 additions and 282 deletions

View File

@@ -48,8 +48,7 @@ import {
import { SidebarResponsive } from 'components/Sidebar/Sidebar';
import PropTypes from 'prop-types';
import { Fragment } from 'react';
import { AiFillStar } from 'react-icons/ai';
import { GoChevronDown, GoChevronRight } from 'react-icons/go';
import { Star, ChevronDown, ChevronRight } from 'lucide-react';
import { NavLink } from 'react-router-dom';
import { SidebarContext } from 'contexts/SidebarContext';
import routes from 'routes.js';
@@ -313,7 +312,7 @@ export default function AuthNavbar(props) {
{link.name}
</Text>
<Icon
as={GoChevronRight}
as={ChevronRight}
color={mainText}
w='14px'
h='14px'
@@ -419,7 +418,7 @@ export default function AuthNavbar(props) {
Pages
</Text>
<Icon
as={GoChevronDown}
as={ChevronDown}
color={mainText}
w='14px'
h='14px'
@@ -457,7 +456,7 @@ export default function AuthNavbar(props) {
Authentications
</Text>
<Icon
as={GoChevronDown}
as={ChevronDown}
color={mainText}
w='14px'
h='14px'
@@ -493,7 +492,7 @@ export default function AuthNavbar(props) {
w='50px'
mb='12px'
>
<Icon as={AiFillStar} w='25px' h='25px' color='blue.500' />
<Icon as={Star} w='25px' h='25px' color='blue.500' fill='currentColor' />
</IconBox>
<Text
fontSize='xl'
@@ -527,7 +526,7 @@ export default function AuthNavbar(props) {
Application
</Text>
<Icon
as={GoChevronDown}
as={ChevronDown}
color={mainText}
w='14px'
h='14px'
@@ -564,7 +563,7 @@ export default function AuthNavbar(props) {
Ecommerce
</Text>
<Icon
as={GoChevronDown}
as={ChevronDown}
color={mainText}
w='14px'
h='14px'