Просмотр исходного кода

fe-36 修改网页图标和logo

master
Chunxian Zhang 2 лет назад
Родитель
Сommit
942ac41fff
3 измененных файлов: 34 добавлений и 1 удалений
  1. +3
    -1
      lazy-timer-fe/public/index.html
  2. +17
    -0
      lazy-timer-fe/src/components/index.jsx
  3. +14
    -0
      lazy-timer-fe/src/pages/Charts/Stacked.jsx

+ 3
- 1
lazy-timer-fe/public/index.html Просмотреть файл

@ -15,6 +15,8 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
@ -24,7 +26,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>懒人记时</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

+ 17
- 0
lazy-timer-fe/src/components/index.jsx Просмотреть файл

@ -0,0 +1,17 @@
export { default as Button } from './Button';
export { default as ThemeSettings } from './ThemeSettings';
export { default as Sidebar } from './Sidebar';
// eslint-disable-next-line import/no-cycle
export { default as Navbar } from './Navbar';
export { default as Footer } from './Footer';
export { default as Cart } from './Cart';
export { default as Chat } from './Chat';
export { default as Notification } from './Notification';
export { default as UserProfile } from './UserProfile';
export { default as SparkLine } from './Charts/SparkLine';
export { default as LineChart } from './Charts/LineChart';
export { default as Stacked } from './Charts/Stacked';
export { default as Pie } from './Charts/Pie';
export { default as ChartsHeader } from './ChartsHeader';
export { default as Header } from './Header';

+ 14
- 0
lazy-timer-fe/src/pages/Charts/Stacked.jsx Просмотреть файл

@ -0,0 +1,14 @@
import React from 'react';
import { ChartsHeader, Stacked as StackedChart } from '../../components';
const Stacked = () => (
<div className="m-4 md:m-10 mt-24 p-10 bg-white dark:bg-secondary-dark-bg rounded-3xl">
<ChartsHeader category="Stacked" title="Revenue Breakdown" />
<div className="w-full">
<StackedChart />
</div>
</div>
);
export default Stacked;

Загрузка…
Отмена
Сохранить