File tree 1 file changed +18
-22
lines changed
1 file changed +18
-22
lines changed Original file line number Diff line number Diff line change 1
- import { makeStyles } from "@mui/styles" ;
2
1
import Typography from "@mui/material/Typography" ;
3
- import { FC } from "react" ;
2
+ import { type FC } from "react" ;
4
3
5
4
export const NotFoundPage : FC = ( ) => {
6
- const styles = useStyles ( ) ;
7
-
8
5
return (
9
- < div className = { styles . root } >
10
- < div className = { styles . headingContainer } >
6
+ < div
7
+ css = { {
8
+ width : "100%" ,
9
+ height : "100%" ,
10
+ display : "flex" ,
11
+ flexDirection : "row" ,
12
+ justifyContent : "center" ,
13
+ alignItems : "center" ,
14
+ } }
15
+ >
16
+ < div
17
+ css = { ( theme ) => ( {
18
+ margin : theme . spacing ( 1 ) ,
19
+ padding : theme . spacing ( 1 ) ,
20
+ borderRight : theme . palette . divider ,
21
+ } ) }
22
+ >
11
23
< Typography variant = "h4" > 404</ Typography >
12
24
</ div >
13
25
< Typography variant = "body2" > This page could not be found.</ Typography >
14
26
</ div >
15
27
) ;
16
28
} ;
17
29
18
- const useStyles = makeStyles ( ( theme ) => ( {
19
- root : {
20
- width : "100%" ,
21
- height : "100%" ,
22
- display : "flex" ,
23
- flexDirection : "row" ,
24
- justifyContent : "center" ,
25
- alignItems : "center" ,
26
- } ,
27
- headingContainer : {
28
- margin : theme . spacing ( 1 ) ,
29
- padding : theme . spacing ( 1 ) ,
30
- borderRight : theme . palette . divider ,
31
- } ,
32
- } ) ) ;
33
-
34
30
export default NotFoundPage ;
You can’t perform that action at this time.
0 commit comments