chore: update 404 page style
This commit is contained in:
parent
cac5ac88e4
commit
6562beebbe
@ -1,19 +1,12 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Segment, Header } from 'semantic-ui-react';
|
import { Message } from 'semantic-ui-react';
|
||||||
|
|
||||||
const NotFound = () => (
|
const NotFound = () => (
|
||||||
<>
|
<>
|
||||||
<Header
|
<Message negative>
|
||||||
block
|
<Message.Header>页面不存在</Message.Header>
|
||||||
as="h4"
|
<p>请检查你的浏览器地址是否正确</p>
|
||||||
content="404"
|
</Message>
|
||||||
attached="top"
|
|
||||||
icon="info"
|
|
||||||
className="small-icon"
|
|
||||||
/>
|
|
||||||
<Segment attached="bottom">
|
|
||||||
未找到所请求的页面
|
|
||||||
</Segment>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user