File tree Expand file tree Collapse file tree 1 file changed +9
-22
lines changed
Expand file tree Collapse file tree 1 file changed +9
-22
lines changed Original file line number Diff line number Diff line change 11"use client" ;
22
3- import { Box , Button , Link , Typography } from "@mui/material" ;
3+ import { Button , Link , Typography } from "@mui/material" ;
44import { GoogleAuthProvider , signInWithPopup } from "firebase/auth" ;
55import { useRouter } from "next/navigation" ;
66import { useSnackbar } from "notistack" ;
@@ -125,34 +125,21 @@ export default function Login() {
125125 return (
126126 < NavigateByAuthState type = "toHomeForAuthenticated" >
127127 < Header title = "CourseMate" />
128- < Box
129- sx = { {
130- position : "absolute" ,
131- top : "56px" ,
132- bottom : 0 ,
133- left : 0 ,
134- right : 0 ,
135- overflowY : "auto" ,
136- display : "flex" ,
137- flexDirection : "column" ,
138- alignItems : "center" ,
139- justifyContent : "space-around" ,
140- } }
141- >
142- < Box textAlign = "center" >
128+ < div className = "absolute top-14 right-0 bottom-0 left-0 flex flex-col items-center justify-around overflow-y-auto" >
129+ < div className = "text-center" >
143130 < CourseMateIcon width = "200px" height = "200px" />
144- </ Box >
145- < Box textAlign = " left">
131+ </ div >
132+ < div className = "text- left">
146133 < Typography variant = "h4" >
147134 CourseMateを使って
148135 < br />
149136 同じ授業の人と
150137 < br />
151138 友達になろう
152139 </ Typography >
153- </ Box >
140+ </ div >
154141
155- < Box sx = { { width : "80%" } } textAlign = " center">
142+ < div className = "w-4/5 text- center">
156143 < button
157144 className = "gsi-material-button"
158145 onClick = { logInByGoogle }
@@ -227,8 +214,8 @@ export default function Login() {
227214 >
228215 初めての方はこちら
229216 </ Link >
230- </ Box >
231- </ Box >
217+ </ div >
218+ </ div >
232219 </ NavigateByAuthState >
233220 ) ;
234221}
You can’t perform that action at this time.
0 commit comments