From e6a4c5b46232123a6bfa1163ba01aa55851cd60f Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Thu, 25 Dec 2025 14:20:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor(Icons):=20=E5=88=A0=E9=99=A4=2017=20?= =?UTF-8?q?=E4=B8=AA=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除以下未使用图标: - CreditIcon, DashboardLogo, DashboardLogoWhite - DocumentIcon, GlobeIcon, HelpIcon, HomeIcon - PayPalIcon, PersonIcon, ProfileIcon - SupportIcon, StatsIcon, WalletIcon - BitcoinLogo, ArgonLogoMinifiedDark, ArgonLogoMinifiedLight - WechatPayIcon, QRCodeIcon 减少 354 行代码 (736行 → 382行,减少 48%) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/components/Icons/Icons.js | 354 ---------------------------------- 1 file changed, 354 deletions(-) diff --git a/src/components/Icons/Icons.js b/src/components/Icons/Icons.js index 30a01be9..22f7f59f 100755 --- a/src/components/Icons/Icons.js +++ b/src/components/Icons/Icons.js @@ -128,178 +128,6 @@ export const CreativeTimLogo = createIcon({ ), }); -export const CreditIcon = createIcon({ - displayName: 'CreditIcon', - viewBox: '0 0 24 24', - path: ( - - ), -}); - -export const DashboardLogo = createIcon({ - displayName: 'DashboardLogo', - viewBox: '0 0 1000 257', - path: ( - - - - - - - - - - - - - - - - - - - - - - ), -}); - -export const DashboardLogoWhite = createIcon({ - displayName: 'DashboardLogo', - viewBox: '0 0 163.5 42', - path: ( - - - - - ), -}); - -export const DocumentIcon = createIcon({ - displayName: 'DocumentIcon', - viewBox: '0 0 24 24', - path: ( - - - - - ), -}); - -export const GlobeIcon = createIcon({ - displayName: 'GlobeIcon', - viewBox: '0 0 24 24', - path: ( - - - - - - - - ), -}); - -export const HelpIcon = createIcon({ - displayName: 'HelpIcon', - viewBox: '0 0 24 24', - path: ( - - ), -}); - -export const HomeIcon = createIcon({ - displayName: 'HomeIcon', - viewBox: '0 0 24 24', - path: ( - - - - - ), -}); - export const InvisionLogo = createIcon({ displayName: 'InvisionLogo', viewBox: '0 0 24 24', @@ -355,48 +183,6 @@ export const MastercardIcon = createIcon({ ), }); -export const PayPalIcon = createIcon({ - displayName: 'PayPalIcon', - viewBox: '0 0 24 24', - path: ( - - - - - ), -}); - -export const PersonIcon = createIcon({ - displayName: 'PersonIcon', - viewBox: '0 0 24 24', - path: ( - - ), -}); - -export const ProfileIcon = createIcon({ - displayName: 'ProfileIcon', - viewBox: '0 0 24 24', - path: ( - - - - - ), -}); - export const RocketIcon = createIcon({ displayName: 'RocketIcon', viewBox: '0 0 24 24', @@ -467,46 +253,6 @@ export const SpotifyLogo = createIcon({ ), }); -export const SupportIcon = createIcon({ - // Doesn't display the full icon without w and h being specified - displayName: 'BuildIcon', - viewBox: '0 0 24 24', - path: ( - - ), -}); - -export const StatsIcon = createIcon({ - displayName: 'StatsIcon', - viewBox: '0 0 24 24', - path: ( - - ), -}); - -export const WalletIcon = createIcon({ - displayName: 'WalletIcon', - viewBox: '0 0 24 24', - path: ( - - - - - ), -}); - export const VisaIcon = createIcon({ displayName: 'VisaIcon', viewBox: '0 0 24 24', @@ -634,103 +380,3 @@ export const ChakraLogoBlue = createIcon({ ), }); -export const BitcoinLogo = createIcon({ - displayName: 'BitcoinLogo', - viewBox: '0 0 67 14', - path: ( - - - - - ), -}); - -export const ArgonLogoMinifiedDark = createIcon({ - displayName: 'ArgonLogoMinifiedDark', - viewBox: '0 0 36 36', - path: ( - - - - ), -}); - -export const ArgonLogoMinifiedLight = createIcon({ - displayName: 'ArgonLogoMinifiedLight', - viewBox: '0 0 36 36', - path: ( - - - - ), -}); - -export const WechatPayIcon = createIcon({ - displayName: 'WechatPayIcon', - viewBox: '0 0 24 24', - path: ( - - - - - - - - - - ), -}); - -export const QRCodeIcon = createIcon({ - displayName: 'QRCodeIcon', - viewBox: '0 0 24 24', - path: ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ), -});