diff --git a/package-lock.json b/package-lock.json
index 945b340..837b739 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,7 +18,7 @@
"react-apexcharts": "^1.4.1",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
- "react-icons": "^4.10.1",
+ "react-icons": "^4.12.0",
"react-router-dom": "^6.14.2",
"react-toastify": "^9.1.3",
"sass": "^1.77.8",
@@ -3508,9 +3508,9 @@
}
},
"node_modules/react-icons": {
- "version": "4.10.1",
- "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.10.1.tgz",
- "integrity": "sha512-/ngzDP/77tlCfqthiiGNZeYFACw85fUjZtLbedmJ5DTlNDIwETxhwBzdOJ21zj4iJdvc0J3y7yOsX3PpxAJzrw==",
+ "version": "4.12.0",
+ "resolved": "https://registry.npmmirror.com/react-icons/-/react-icons-4.12.0.tgz",
+ "integrity": "sha512-IBaDuHiShdZqmfc/TwHu6+d6k2ltNCf3AszxNmjJc1KUfXdEeRJOKyNvLmAHaarhzGmTSVygNdyu8/opXv2gaw==",
"peerDependencies": {
"react": "*"
}
diff --git a/package.json b/package.json
index f891b0b..51d2b9d 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
"react-apexcharts": "^1.4.1",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
- "react-icons": "^4.10.1",
+ "react-icons": "^4.12.0",
"react-router-dom": "^6.14.2",
"react-toastify": "^9.1.3",
"sass": "^1.77.8",
diff --git a/src/components/Breadcrumbs/Breadcrumb.tsx b/src/components/Breadcrumbs/Breadcrumb.tsx
index b877095..fd93a15 100644
--- a/src/components/Breadcrumbs/Breadcrumb.tsx
+++ b/src/components/Breadcrumbs/Breadcrumb.tsx
@@ -4,7 +4,7 @@ interface BreadcrumbProps {
}
const Breadcrumb = ({ pageName }: BreadcrumbProps) => {
return (
-
+
{pageName}
@@ -12,10 +12,11 @@ const Breadcrumb = ({ pageName }: BreadcrumbProps) => {
diff --git a/src/components/CardDataStats.tsx b/src/components/CardDataStats.tsx
index 6de47f3..f4f5b81 100644
--- a/src/components/CardDataStats.tsx
+++ b/src/components/CardDataStats.tsx
@@ -18,7 +18,7 @@ const CardDataStats: React.FC
= ({
children,
}) => {
return (
-
+
{children}
diff --git a/src/components/Maps/MapOne.tsx b/src/components/Maps/MapOne.tsx
index 58d5638..c20d375 100644
--- a/src/components/Maps/MapOne.tsx
+++ b/src/components/Maps/MapOne.tsx
@@ -42,7 +42,7 @@ const MapOne = () => {
});
return (
-
+
Region labels
diff --git a/src/components/Sidebar/index.tsx b/src/components/Sidebar/index.tsx
index 5270362..773c634 100644
--- a/src/components/Sidebar/index.tsx
+++ b/src/components/Sidebar/index.tsx
@@ -2,6 +2,7 @@ import React, { useEffect, useRef, useState } from 'react';
import { NavLink, useLocation } from 'react-router-dom';
import SidebarLinkGroup from './SidebarLinkGroup';
import Logo from '../../images/logo/logo.svg';
+import { BiHomeSmile, BiSpa } from "react-icons/bi";
interface SidebarProps {
sidebarOpen: boolean;
@@ -104,31 +105,7 @@ const Sidebar = ({ sidebarOpen, setSidebarOpen }: SidebarProps) => {
'bg-graydark dark:bg-meta-4'
}`}
>
-
+
仪表盘
@@ -140,19 +117,7 @@ const Sidebar = ({ sidebarOpen, setSidebarOpen }: SidebarProps) => {
'bg-graydark dark:bg-meta-4'
}`}
>
-
+
创作
diff --git a/src/pages/Create/index.tsx b/src/pages/Create/index.tsx
index 11bce78..4f27e07 100644
--- a/src/pages/Create/index.tsx
+++ b/src/pages/Create/index.tsx
@@ -1,15 +1,15 @@
-import Breadcrumb from '../../components/Breadcrumbs/Breadcrumb';
-import { Button } from 'antd';
+import Breadcrumb from '@/components/Breadcrumbs/Breadcrumb';
+import { Card } from 'antd';
const Create = () => {
return (
<>
-
-
-
-
-
-
+
}>
+
+
Card content
+
Card content
+
Card content
+
>
);
};