Skip to content

Commit 6e423e6

Browse files
committed
Remove Typography from CliAuthPage
1 parent b402226 commit 6e423e6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

site/src/components/Welcome/Welcome.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import Typography from "@mui/material/Typography";
21
import { type FC, type PropsWithChildren } from "react";
3-
import { css, useTheme } from "@emotion/react";
2+
import { useTheme } from "@emotion/react";
43
import { CoderIcon } from "../Icons/CoderIcon";
54

65
const Language = {
@@ -31,22 +30,23 @@ export const Welcome: FC<
3130
}}
3231
/>
3332
</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,
4142

42-
& strong {
43-
font-weight: 600;
44-
}
45-
`}
46-
variant="h1"
43+
"& strong": {
44+
fontWeight: 600,
45+
},
46+
}}
4747
>
4848
{message}
49-
</Typography>
49+
</h1>
5050
</div>
5151
);
5252
};

0 commit comments

Comments
 (0)