Browse Source
* fix #4565,add 404 page * fix codacy warning * add 404 in fetch:blocks * rm NoticeIconView importpull/4592/head
committed by
GitHub
6 changed files with 36 additions and 1 deletions
@ -0,0 +1,24 @@ |
|||||
|
import React from 'react'; |
||||
|
import { Button } from 'antd'; |
||||
|
|
||||
|
// 这里应该使用 antd 的 404 result 组件,
|
||||
|
// 但是还没发布,先来个简单的。
|
||||
|
|
||||
|
const NoFoundPage: React.FC<{}> = () => ( |
||||
|
<div |
||||
|
style={{ |
||||
|
height: '100vh', |
||||
|
padding: 80, |
||||
|
textAlign: 'center', |
||||
|
}} |
||||
|
> |
||||
|
<img src="https://gw.alipayobjects.com/zos/antfincdn/wsE2Pw%243%26L/noFound.svg" alt="404" /> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<h1>404</h1> |
||||
|
<p>Sorry, the page you visited does not exist.</p> |
||||
|
<Button type="primary">Back Home</Button> |
||||
|
</div> |
||||
|
); |
||||
|
|
||||
|
export default NoFoundPage; |
||||
Loading…
Reference in new issue