mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-17 06:39:25 +08:00
Fixed Error 404 page
This commit is contained in:
parent
b4b8b3e03d
commit
c08d927f01
2 changed files with 10 additions and 12 deletions
|
@ -4,9 +4,11 @@ import NotFoundIcon from "../../Components/Icons/NotFoundIcon/NotFoundIcon";
|
|||
|
||||
export default function Error() {
|
||||
return (
|
||||
<div style={styles.container}>
|
||||
<NotFoundIcon size={64} color="#a44141" />
|
||||
<p style={styles.text}>Could not find the requested page</p>
|
||||
<div style={styles.content_center}>
|
||||
<div style={styles.content_column}>
|
||||
<NotFoundIcon size={64} color="#a44141" />
|
||||
<p style={styles.text}>Could not find the requested page</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -7,15 +7,6 @@ const styles: { [key: string]: React.CSSProperties } = {
|
|||
height: "100%",
|
||||
backgroundColor: "#0b2322",
|
||||
},
|
||||
container: {
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
flex: 1,
|
||||
height: "100%",
|
||||
alignItems: "center",
|
||||
paddingTop: 0,
|
||||
paddingLeft: 16,
|
||||
},
|
||||
text_tiny: {
|
||||
fontSize: "0.6vw",
|
||||
color: "white",
|
||||
|
@ -130,6 +121,11 @@ const styles: { [key: string]: React.CSSProperties } = {
|
|||
flexDirection: "column",
|
||||
lineHeight: 0,
|
||||
},
|
||||
content_center: {
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
textAlign: "center",
|
||||
},
|
||||
flex_row: {
|
||||
display: "flex",
|
||||
flexDirection: "row",
|
||||
|
|
Loading…
Reference in a new issue