11import { useState } from 'react' ;
22import type { ActivityComponentType } from '@stackflow/react' ;
3+ import Btn from '@/common/components/Button' ;
34import { useFlow } from '@/libs/routes/stack' ;
45
56// CSS μ¬μ©νλ μ»΄ν¬λνΈμμλ μ΄λ° μμΌλ‘ λΆλ¬μ€κΈ°
@@ -11,6 +12,7 @@ import SelectButton from '@/common/components/SelectButton';
1112import TestAPIButton from '@/common/components/TestAPIButton' ;
1213import useGetIsLogin from '@/common/hooks/apis/useGetIsLogin' ;
1314
15+
1416const HomePage : ActivityComponentType = ( ) => {
1517 const { push } = useFlow ( ) ;
1618 const { data : isLogin } = useGetIsLogin ( ) ;
@@ -24,17 +26,26 @@ const HomePage: ActivityComponentType = () => {
2426 { isLogin ? (
2527 < TestAPIButton />
2628 ) : (
27- < div className = { s . LoginBtn } >
29+ < div className = { s . LoginBtn } style = { { margin : '1rem' } } >
2830 < a href = { `${ import . meta. env . VITE_API_URL } /oauth2/authorization/kakao` } > μΉ΄μΉ΄μ€ν‘ λ‘κ·ΈμΈ</ a >
2931 < a href = { `${ import . meta. env . VITE_API_URL } /oauth2/authorization/google` } > κ΅¬κΈ λ‘κ·ΈμΈ</ a >
32+ < i className = { s . Container } > λ°±μλμλͺ½ λ‘κ·ΈμΈ κ³ μ³μ€</ i >
33+ < button onClick = { ( ) => push ( 'PostPage' , { } ) } > μ΄λ</ button >
3034 </ div >
3135 ) }
32- < button onClick = { ( ) => push ( 'PostPage' , { } ) } > μ΄λ</ button >
3336 </ div >
3437 < Chip color = "main" > μΆκ΅¬</ Chip >
3538 < SelectButton active = { active } onClick = { ( ) => setActive ( ! active ) } >
3639 μ’
λͺ©
3740 </ SelectButton >
41+ < div style = { { display : 'flex' , justifyContent : 'space-evenly' } } >
42+ < Btn color = 'softgray' style = { { width : '5.875rem' } } > γ
μ±ν
</ Btn >
43+ < Btn color = 'main' style = { { width : '15.8125rem' } } > λμ¬μΌμμ ν</ Btn >
44+ </ div >
45+ < div style = { { display : 'flex' , flexDirection :'column' , marginTop : '1rem' , gap : '0.5rem' } } >
46+ < Btn color = 'gray' > μλ
νμΈμ</ Btn >
47+ < Btn color = 'deemedgray' > λ°κ°μμ...</ Btn >
48+ </ div >
3849 </ AppScreenWithSafeArea >
3950 ) ;
4051} ;
0 commit comments