diff --git a/lazy-timer-fe/src/App.js b/lazy-timer-fe/src/App.js index fc9612c..6bfa38d 100644 --- a/lazy-timer-fe/src/App.js +++ b/lazy-timer-fe/src/App.js @@ -66,7 +66,7 @@ const App = () => { {/* dashboard */} )} /> - )} /> + )} /> {/* pages */} } /> diff --git a/lazy-timer-fe/src/components/Footer.jsx b/lazy-timer-fe/src/components/Footer.jsx index fab337a..455dfb3 100644 --- a/lazy-timer-fe/src/components/Footer.jsx +++ b/lazy-timer-fe/src/components/Footer.jsx @@ -3,7 +3,7 @@ import React from 'react'; const Footer = () => (

- © 2022 All rights reserved by Shoppy.com + © 2022 All rights reserved by 1836891291@qq.com

); diff --git a/lazy-timer-fe/src/components/Sidebar.jsx b/lazy-timer-fe/src/components/Sidebar.jsx index 6817233..a60c3dc 100644 --- a/lazy-timer-fe/src/components/Sidebar.jsx +++ b/lazy-timer-fe/src/components/Sidebar.jsx @@ -46,8 +46,8 @@ const Sidebar = () => {

{item.links.map((link) => ( ({ backgroundColor: isActive ? currentColor : '', diff --git a/lazy-timer-fe/src/data/dummy.js b/lazy-timer-fe/src/data/dummy.js index 92823bd..01545d8 100644 --- a/lazy-timer-fe/src/data/dummy.js +++ b/lazy-timer-fe/src/data/dummy.js @@ -471,87 +471,102 @@ export const employeesGrid = [ export const links = [ { - title: 'Dashboard', + title: '数据面板', links: [ { - name: 'ecommerce', + name: '总览', + englishName: 'overview', icon: , }, - ], - }, - - { - title: 'Pages', - links: [ { - name: 'orders', + name: '表格', + englishName: 'customers', + icon: , + }, + { + name: '屏幕使用时间', + englishName: 'orders', icon: , }, { - name: 'employees', + name: '第一次屏幕使用', + englishName: 'employees', icon: , }, { - name: 'customers', + name: '最后一次屏幕使用', + englishName: 'customers', icon: , }, ], }, { - title: 'Apps', + title: '标签', links: [ { - name: 'calendar', + name: '学习', + englishName: 'calendar', icon: , }, { - name: 'kanban', + name: '工作', + englishName: 'kanban', icon: , }, { - name: 'editor', + name: '娱乐', + englishName: 'editor', icon: , }, { - name: 'color-picker', + name: '生活', + englishName: 'color-picker', icon: , }, ], }, { - title: 'Charts', + title: '单项', links: [ { name: 'line', + englishName: 'line', icon: , }, { name: 'area', + englishName: 'area', icon: , }, { name: 'bar', + englishName: 'bar', icon: , }, { name: 'pie', + englishName: 'pie', icon: , }, { name: 'financial', + englishName: 'financial', icon: , }, { name: 'color-mapping', + englishName: 'color-mapping', icon: , }, { name: 'pyramid', + englishName: 'pyramid', icon: , }, { name: 'stacked', + englishName: 'stacked', icon: , }, ],