瀏覽代碼

fe-36 修改网页图标和logo

master
Chunxian Zhang 2 年之前
父節點
當前提交
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;

Loading…
取消
儲存