continue
This commit is contained in:
parent
06a9e7be9b
commit
40fa485dfc
1340
package-lock.json
generated
1340
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -3,11 +3,14 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@ant-design/compatible": "^1.0.8",
|
||||
"@ant-design/icons": "^4.3.0",
|
||||
"@craco/craco": "^5.9.0",
|
||||
"@testing-library/jest-dom": "^5.11.6",
|
||||
"@testing-library/react": "^11.2.2",
|
||||
"@testing-library/user-event": "^12.3.0",
|
||||
"antd": "^4.9.1",
|
||||
"craco": "0.0.3",
|
||||
"craco-less": "^1.17.1",
|
||||
"echarts": "^4.9.0",
|
||||
"echarts-for-react": "^2.0.16",
|
||||
|
@ -39,7 +42,6 @@
|
|||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^4.6.1",
|
||||
"@typescript-eslint/parser": "^4.6.1",
|
||||
"eslint": "^7.13.0",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"prettier": "2.1.2"
|
||||
}
|
||||
|
|
15
src/Home.js
15
src/Home.js
|
@ -1,10 +1,13 @@
|
|||
|
||||
import React from 'react';
|
||||
import { Button, Layout, Menu } from 'antd';
|
||||
import { Button, Image, Layout, Menu } from 'antd';
|
||||
// import Icon from '@ant-design/compatible';
|
||||
import Icon from '@ant-design/icons';
|
||||
import {
|
||||
MenuUnfoldOutlined,
|
||||
MenuFoldOutlined,
|
||||
UserOutlined,
|
||||
|
||||
VideoCameraOutlined,
|
||||
UploadOutlined,
|
||||
} from '@ant-design/icons';
|
||||
|
@ -14,13 +17,15 @@ import config from './Config.js';
|
|||
import Trend from './charts/Trend';
|
||||
import { ConfigConsumer } from 'antd/lib/config-provider';
|
||||
import Playerduo from './pages/playerduo.js';
|
||||
import playerduo_logo from "./pages/playerduo_logo.svg";
|
||||
import { IconMap } from 'antd/lib/result';
|
||||
|
||||
|
||||
const { Header, Sider, Content } = Layout;
|
||||
|
||||
class Home extends React.Component {
|
||||
state = {
|
||||
collapsed: false,
|
||||
collapsed: true,
|
||||
};
|
||||
|
||||
toggle = () => {
|
||||
|
@ -48,9 +53,9 @@ class Home extends React.Component {
|
|||
<Link to="/"></Link>
|
||||
</HashRouter>
|
||||
</Menu.Item> */}
|
||||
<Menu.Item key="#/playerduo" icon={<VideoCameraOutlined />}>
|
||||
playerduo
|
||||
<HashRouter>
|
||||
<Menu.Item key="#/playerduo" title="playerduo" icon={ <Image width={32} height={32} src={playerduo_logo}></Image> }>
|
||||
|
||||
<HashRouter>
|
||||
<Link to={{ pathname: "/playerduo" }}></Link>
|
||||
</HashRouter>
|
||||
</Menu.Item>
|
||||
|
|
86
src/pages/playerduo_logo.svg
Normal file
86
src/pages/playerduo_logo.svg
Normal file
|
@ -0,0 +1,86 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 200 200"
|
||||
height="200"
|
||||
width="200"
|
||||
id="svg2"
|
||||
version="1.1">
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<image
|
||||
y="0"
|
||||
x="0"
|
||||
id="image10"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAABMlBM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Epg1+zPDQ6x8eCNvzbI7E
|
||||
vlKb/DmOfILwyWc2m8HzPN1wm0jlC3XsAtzVJEtgQbzO97yxb70oo0nbRRwWK8743h5ya7mYI67F
|
||||
GTouzBh4XgfzS8U9KiF/x7tMbBbjfBfgfUEOeFkv9pE7+btLNotyLNV3ZYYScmWn+Ee35WvF9a+9
|
||||
u91NEAbDMPzQAvJhIgytiKAiItPwnv/pLUv2Y9myRZDWtnqdQUNS2v547+szjDc06V7iPccIUHuG
|
||||
sqIjI3SWDC4uLBklzfHF9J3L0zrrdruLUcWnv1WWJAkYbnfW+UB/xgAlaau0JKSyw0A5aSm3JDZ0
|
||||
tCT/FNkS5Aowiq/Z74T7GKnVaiW8xWitRidh3r7Cjp8CTfauH6lNY+N1a/xiZL4utyQQvLMk2by1
|
||||
I6K96l9Zc51eJC6YXOaScm6GobSMp8WQ5M0lhVY1vjH3o8SQKhOkhOggW8pIOpZCgaA5kVSnJoAa
|
||||
y2JO8mzOUMfLJS1lfvCg1nsxo8mdCg/qLRNGk2KLJR4kFTQZkeKRspjTBFic4eHKQ0h3CQ8l9BBs
|
||||
c04j8XwbQCddcnRoIEckHTTU1sma0Y3YOqlbaKy/NlW0p3/so6q59jCC39fpYlOJyGWh48xmjhMy
|
||||
NxLVZpHWvQ8ZPgCwZvG1Wu/+SgAAAABJRU5ErkJggg==
|
||||
"
|
||||
style="image-rendering:optimizeQuality"
|
||||
preserveAspectRatio="none"
|
||||
height="200"
|
||||
width="200" />
|
||||
</svg>
|
After Width: | Height: | Size: 4.6 KiB |
Loading…
Reference in New Issue
Block a user