|
|
@@ -1,10 +1,19 @@
|
|
|
-const titleStyle = {
|
|
|
- fontSize: "48px",
|
|
|
- color: "red",
|
|
|
-};
|
|
|
+import { Button, Result } from "antd";
|
|
|
+import { Link } from "react-router-dom";
|
|
|
|
|
|
const Widget = () => {
|
|
|
- return <div style={titleStyle}>forbidden</div>;
|
|
|
+ return (
|
|
|
+ <Result
|
|
|
+ status="404"
|
|
|
+ title="404"
|
|
|
+ subTitle="Sorry, the page you visited does not exist."
|
|
|
+ extra={
|
|
|
+ <Link to="/">
|
|
|
+ <Button type="primary">Back Home</Button>
|
|
|
+ </Link>
|
|
|
+ }
|
|
|
+ />
|
|
|
+ );
|
|
|
};
|
|
|
|
|
|
export default Widget;
|