File tree Expand file tree Collapse file tree 3 files changed +25
-22
lines changed Expand file tree Collapse file tree 3 files changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,15 @@ module.exports = {
55    return  config ; 
66  } , 
77  images : { 
8-     domains : [ 
9-       'lh3.googleusercontent.com' , 
10-       'd3sbrbqucv1146.cloudfront.net' , 
11-       'd1s5j3nmszux84.cloudfront.net' , 
8+     remotePatterns : [ 
9+       { 
10+         protocol : 'https' , 
11+         hostname : 'lh3.googleusercontent.com' , 
12+       } , 
13+       { 
14+         protocol : 'https' , 
15+         hostname : 'd3sbrbqucv1146.cloudfront.net' , 
16+       } , 
1217    ] , 
1318  } , 
1419  reactStrictMode : false , 
Original file line number Diff line number Diff line change 1- 'use client' ; 
21import  Image  from  'next/image' ; 
32import  getGoogleLogin  from  '@/src/api/auth/getGoogleLogin' ; 
43import  svgs  from  '@/public/svgs/login' ; 
@@ -17,27 +16,24 @@ const Login = () => {
1716  return  ( 
1817    < div  className = "fixed inset-0 flex items-center justify-center bg-black bg-opacity-50" > 
1918      < div 
20-         className = " bg-white rounded-lg w-[800px ] h-[530px] py-10 box-border" 
19+         className = " bg-white rounded-lg w-[750px ] h-[530px] py-10 box-border" 
2120        id = "modal-container" 
2221      > 
2322        < div  className = "w-full h-full flex items-center box-border py-8" > 
2423          { /* LEFT */ } 
2524          < div  className = "w-3/5 h-full text-center flex flex-col justify-between " > 
2625            < div > 
27-               < div  className = "text-4xl font-semibold pt-4" > 
28-                 미노리에서 학습을 시작하세요!
26+               < div  className = "text-4xl font-semibold leading-tight" > 
27+                 미노리에서 학습을
28+                 < br  />  시작하세요!
2929              </ div > 
30-               < div  className = "text-sm text-neutral-400 my -2" > 
30+               < div  className = "text-sm text-neutral-400 py -2" > 
3131                소셜 로그인으로 간편하게 즐길 수 있습니다.
3232              </ div > 
3333            </ div > 
34-             < Image 
35-               src = { svgs . login } 
36-               alt = "logo" 
37-               width = { 450 } 
38-               height = { 450 } 
39-               className = "w-full" 
40-             /> 
34+             < div  className = "w-full flex justify-center items-center" > 
35+               < Image  src = { svgs . login }  alt = "logo"  width = { 370 }  height = { 370 }  /> 
36+             </ div > 
4137          </ div > 
4238          { /* RIGHT */ } 
4339          < div  className = "w-2/5 h-full flex justify-center" > 
Original file line number Diff line number Diff line change 11'use client' ; 
22import  { useEffect ,  useState }  from  'react' ; 
33import  Image  from  'next/image' ; 
4- import  intro  from  '@/public/svgs/intro' ; 
54import  { Login }  from  './components/login' ; 
5+ import  intro  from  '@/public/svgs/intro' ; 
66
77const  Page  =  ( )  =>  { 
88  const  [ isOpen ,  setIsOpen ]  =  useState ( false ) ; 
@@ -23,13 +23,15 @@ const Page = () => {
2323  } ; 
2424
2525  useEffect ( ( )  =>  { 
26-     document . addEventListener ( 'mousedown' ,  handleOutsideClick ) ; 
26+     if  ( typeof  window  !==  'undefined' )  { 
27+       document . addEventListener ( 'mousedown' ,  handleOutsideClick ) ; 
2728
28-     localStorage . clear ( ) ; 
29+        localStorage . clear ( ) ; 
2930
30-     return  ( )  =>  { 
31-       document . removeEventListener ( 'mousedown' ,  handleOutsideClick ) ; 
32-     } ; 
31+       return  ( )  =>  { 
32+         document . removeEventListener ( 'mousedown' ,  handleOutsideClick ) ; 
33+       } ; 
34+     } 
3335  } ,  [ ] ) ; 
3436  return  ( 
3537    < main  className = "flex h-screen justify-center items-center" > 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments