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() {
|
export default function Error() {
|
||||||
return (
|
return (
|
||||||
<div style={styles.container}>
|
<div style={styles.content_center}>
|
||||||
<NotFoundIcon size={64} color="#a44141" />
|
<div style={styles.content_column}>
|
||||||
<p style={styles.text}>Could not find the requested page</p>
|
<NotFoundIcon size={64} color="#a44141" />
|
||||||
|
<p style={styles.text}>Could not find the requested page</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,15 +7,6 @@ const styles: { [key: string]: React.CSSProperties } = {
|
||||||
height: "100%",
|
height: "100%",
|
||||||
backgroundColor: "#0b2322",
|
backgroundColor: "#0b2322",
|
||||||
},
|
},
|
||||||
container: {
|
|
||||||
display: "flex",
|
|
||||||
flexDirection: "column",
|
|
||||||
flex: 1,
|
|
||||||
height: "100%",
|
|
||||||
alignItems: "center",
|
|
||||||
paddingTop: 0,
|
|
||||||
paddingLeft: 16,
|
|
||||||
},
|
|
||||||
text_tiny: {
|
text_tiny: {
|
||||||
fontSize: "0.6vw",
|
fontSize: "0.6vw",
|
||||||
color: "white",
|
color: "white",
|
||||||
|
@ -130,6 +121,11 @@ const styles: { [key: string]: React.CSSProperties } = {
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
lineHeight: 0,
|
lineHeight: 0,
|
||||||
},
|
},
|
||||||
|
content_center: {
|
||||||
|
display: "flex",
|
||||||
|
justifyContent: "center",
|
||||||
|
textAlign: "center",
|
||||||
|
},
|
||||||
flex_row: {
|
flex_row: {
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
|
|
Loading…
Reference in a new issue