diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 0656284..b0d12fb 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -1,9 +1,7 @@ import { Link } from 'react-router-dom'; -import DropdownMessage from './DropdownComment'; -import DropdownNotification from './DropdownNotification'; import DropdownUser from './DropdownUser'; -import LogoIcon from '../../images/logo/logo-icon.svg'; import DarkModeSwitcher from './DarkModeSwitcher'; +import logo from '@/images/logo/logo.png' const Header = (props: { sidebarOpen: string | boolean | undefined; @@ -12,55 +10,55 @@ const Header = (props: { return (
-
- {/* */} - - {/* */} + - - Logo - + + logo + +
+ +
再渺小的星光,也有属于他的光芒!
-
再渺小的星光,也有属于他的光芒!
-
diff --git a/src/pages/Stats/components/NewOldVisitors/ChartTwo.tsx b/src/pages/Dashboard/components/Stats/components/NewOldVisitors/ChartTwo.tsx similarity index 100% rename from src/pages/Stats/components/NewOldVisitors/ChartTwo.tsx rename to src/pages/Dashboard/components/Stats/components/NewOldVisitors/ChartTwo.tsx diff --git a/src/pages/Stats/components/NewOldVisitors/chart.d.ts b/src/pages/Dashboard/components/Stats/components/NewOldVisitors/chart.d.ts similarity index 100% rename from src/pages/Stats/components/NewOldVisitors/chart.d.ts rename to src/pages/Dashboard/components/Stats/components/NewOldVisitors/chart.d.ts diff --git a/src/pages/Stats/components/NewOldVisitors/index.tsx b/src/pages/Dashboard/components/Stats/components/NewOldVisitors/index.tsx similarity index 100% rename from src/pages/Stats/components/NewOldVisitors/index.tsx rename to src/pages/Dashboard/components/Stats/components/NewOldVisitors/index.tsx diff --git a/src/pages/Stats/components/VisitorsStatisChat/index.tsx b/src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/index.tsx similarity index 100% rename from src/pages/Stats/components/VisitorsStatisChat/index.tsx rename to src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/index.tsx diff --git a/src/pages/Stats/components/VisitorsStatisChat/type.d.ts b/src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/type.d.ts similarity index 100% rename from src/pages/Stats/components/VisitorsStatisChat/type.d.ts rename to src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/type.d.ts diff --git a/src/pages/Stats/index.tsx b/src/pages/Dashboard/components/Stats/index.tsx similarity index 100% rename from src/pages/Stats/index.tsx rename to src/pages/Dashboard/components/Stats/index.tsx diff --git a/src/pages/Stats/type.d.ts b/src/pages/Dashboard/components/Stats/type.d.ts similarity index 100% rename from src/pages/Stats/type.d.ts rename to src/pages/Dashboard/components/Stats/type.d.ts diff --git a/src/pages/Dashboard/index.tsx b/src/pages/Dashboard/index.tsx index 91b84d8..68aea68 100644 --- a/src/pages/Dashboard/index.tsx +++ b/src/pages/Dashboard/index.tsx @@ -1,5 +1,6 @@ import { Card } from 'antd'; import HeaderInfo from './components/HeaderInfo'; +import Stats from './components/Stats'; const Home = () => { return ( @@ -8,9 +9,7 @@ const Home = () => { - - 暂时没有灵感,先空着 - + ); }; diff --git a/tailwind.config.cjs b/tailwind.config.cjs index cffb95b..8419dd0 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -15,6 +15,7 @@ module.exports = { screens: { '2xsm': '375px', xsm: '425px', + xs: '550px', '3xl': '2000px', ...defaultTheme.screens, },