File tree 1 file changed +15
-15
lines changed
site/src/components/Welcome 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
- import Typography from "@mui/material/Typography" ;
2
1
import { type FC , type PropsWithChildren } from "react" ;
3
- import { css , useTheme } from "@emotion/react" ;
2
+ import { useTheme } from "@emotion/react" ;
4
3
import { CoderIcon } from "../Icons/CoderIcon" ;
5
4
6
5
const Language = {
@@ -31,22 +30,23 @@ export const Welcome: FC<
31
30
} }
32
31
/>
33
32
</ div >
34
- < Typography
35
- css = { css `
36
- text-align : center;
37
- font-size : 32px ;
38
- font-weight : 400 ;
39
- margin : 16px 0 32px ;
40
- line-height : 1.25 ;
33
+ < h1
34
+ css = { {
35
+ textAlign : "center" ,
36
+ fontSize : 32 ,
37
+ fontWeight : 400 ,
38
+ margin : 0 ,
39
+ marginTop : 16 ,
40
+ marginBottom : 32 ,
41
+ lineHeight : 1.25 ,
41
42
42
- & strong {
43
- font-weight : 600 ;
44
- }
45
- ` }
46
- variant = "h1"
43
+ "& strong" : {
44
+ fontWeight : 600 ,
45
+ } ,
46
+ } }
47
47
>
48
48
{ message }
49
- </ Typography >
49
+ </ h1 >
50
50
</ div >
51
51
) ;
52
52
} ;
You can’t perform that action at this time.
0 commit comments