Commit 52c14ea1 authored by afc163's avatar afc163

Use public and assets resource, close #299

parent b3d25473
// It is a sample script
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
<title>图形</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="AntDesign-Pro-Footer&amp;Global-Header" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Global-Header" transform="translate(-144.000000, -312.000000)">
<g id="Global-Header-元素属性" transform="translate(0.000000, 271.000000)">
<g id="Logo" transform="translate(144.000000, 41.000000)">
<g id="图形">
<path d="M14.1648281,0.0258959538 C13.8312891,0.0292947977 13.4988984,0.156508671 13.2442734,0.407537572 L0.386859375,13.0916994 C-0.128953125,13.6003931 -0.128953125,14.425341 0.386859375,14.9343584 L13.2442734,27.6183584 C13.76025,28.1272139 14.5964766,28.1272139 15.112125,27.6183584 L20.6070703,22.197526 C21.1228828,21.6888324 21.1228828,20.8638844 20.6070703,20.3550289 C20.0912578,19.8461734 19.2551953,19.8461734 18.7392187,20.3550289 L15.112125,23.9332023 C14.5964766,24.4420578 13.76025,24.4420578 13.2442734,23.9332023 L4.12239844,14.9343584 C3.60658594,14.425341 3.60658594,13.6003931 4.12239844,13.0916994 L13.2442734,4.09269364 C13.76025,3.584 14.5964766,3.584 15.112125,4.09269364 L18.7392187,7.67086705 C19.2551953,8.17972254 20.0912578,8.17972254 20.6070703,7.67086705 C21.1228828,7.16201156 21.1228828,6.33706358 20.6070703,5.82820809 L15.112125,0.407537572 C14.8576641,0.156508671 14.5252734,0.0292947977 14.1917344,0.0258959538 L14.1648281,0.0258959538 Z" id="Clip-2" fill="#1890FF"></path>
<path d="M22.2531161,9.12628075 C21.7489613,9.62798843 21.7489613,10.4411889 22.2531161,10.9428966 L22.2531161,10.9428966 L23.9718913,12.6541921 C24.4760461,13.1557402 24.4760461,13.9691002 23.9718913,14.4709675 L23.9718913,14.4709675 L22.2531161,16.1819438 C21.7489613,16.6838111 21.7489613,17.4971711 22.2531161,17.9987192 L22.2531161,17.9987192 C22.7571106,18.5004269 23.5740177,18.5004269 24.0780122,17.9987192 L24.0780122,17.9987192 L27.6220041,14.4709675 C27.8698335,14.2242626 27.9958321,13.9022378 28,13.5789364 L28,13.5789364 L28,13.5460636 C27.9958321,13.2227622 27.8698335,12.9007374 27.6220041,12.6541921 L27.6220041,12.6541921 L24.0780122,9.12628075 C23.826015,8.87542692 23.4957896,8.75 23.1655642,8.75 L23.1655642,8.75 C22.8353388,8.75 22.5051134,8.87542692 22.2531161,9.12628075" id="Fill-4" fill="#F5222D"></path>
<path d="M9.625,14.0000858 C9.625,16.41637 11.58363,18.375 13.9999142,18.375 L13.9999142,18.375 C16.4161984,18.375 18.375,16.41637 18.375,14.0000858 L18.375,14.0000858 C18.375,11.5838016 16.4161984,9.625 13.9999142,9.625 L13.9999142,9.625 C11.58363,9.625 9.625,11.5838016 9.625,14.0000858 M11.7258855,14.0000858 C11.7258855,12.7441534 12.7441534,11.7262286 13.9999142,11.7262286 L13.9999142,11.7262286 C15.2558466,11.7262286 16.2737714,12.7441534 16.2737714,14.0000858 L16.2737714,14.0000858 C16.2737714,15.2558466 15.2558466,16.2741145 13.9999142,16.2741145 L13.9999142,16.2741145 C12.7441534,16.2741145 11.7258855,15.2558466 11.7258855,14.0000858" id="Fill-6" fill="#F5222D"></path>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
......@@ -5,11 +5,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ant Design Pro</title>
<link rel="icon" href="https://gw.alipayobjects.com/zos/rmsportal/IOtlElCiWVIOZqgDslYd.png" type="image/x-icon">
<link rel="icon" href="/favicon.png" type="image/x-icon">
</head>
<body>
<div id="root"></div>
<script src="https://gw.alipayobjects.com/as/g/??datavis/g2/2.3.12/index.js,datavis/g-cloud/1.0.2/index.js,datavis/g2-plugin-slider/1.2.1/slider.js"></script>
</body>
</html>
......@@ -14,6 +14,7 @@ import NoticeIcon from '../components/NoticeIcon';
import GlobalFooter from '../components/GlobalFooter';
import NotFound from '../routes/Exception/404';
import styles from './BasicLayout.less';
import logo from '../assets/logo.svg';
const { Header, Sider, Content } = Layout;
const { SubMenu } = Menu;
......@@ -270,7 +271,7 @@ class BasicLayout extends React.PureComponent {
>
<div className={styles.logo}>
<Link to="/">
<img src="https://gw.alipayobjects.com/zos/rmsportal/iwWyPinUoseUxIAeElSx.svg" alt="logo" />
<img src={logo} alt="logo" />
<h1>Ant Design Pro</h1>
</Link>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment