-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
770f154
commit 97b10dd
Showing
5 changed files
with
60 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,45 @@ | ||
import KakaoLoginButton, { KakaoLoginButtonProps } from '@components/KakaoLoginButton'; | ||
import KakaoLoginButton, { | ||
KakaoLoginButtonProps, | ||
} from '@components/KakaoLoginButton'; | ||
import { css } from '@emotion/react'; | ||
import { FC } from 'react'; | ||
import background from '../../assets/images/background_landing.png'; | ||
|
||
interface PreLoginTemplateProps extends KakaoLoginButtonProps { } | ||
interface PreLoginTemplateProps extends KakaoLoginButtonProps {} | ||
|
||
const PreLogin: FC<PreLoginTemplateProps> = ({ setLandingFunnelState }) => { | ||
return ( | ||
<div css={css` | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
height: 100vh; | ||
position: relative; | ||
return ( | ||
<div | ||
css={css` | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
height: 100vh; | ||
position: relative; | ||
background-image: url('/src/assets/images/background_landing.png'); | ||
background-size: cover; | ||
`}> | ||
<section css={css` | ||
padding-top: 20vh; | ||
padding-left: 20%; | ||
padding-right: 20%; | ||
@media screen and (max-width: 480px) { | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
} | ||
`}> | ||
<img src="/src/assets/images/kakao_landing.png" alt="kakao login background" width={"100%"} /> | ||
</section> | ||
<KakaoLoginButton setLandingFunnelState={setLandingFunnelState} /> | ||
</div> | ||
); | ||
background-image: url(${background}); | ||
background-size: cover; | ||
`} | ||
> | ||
<section | ||
css={css` | ||
padding-top: 20vh; | ||
padding-left: 20%; | ||
padding-right: 20%; | ||
@media screen and (max-width: 480px) { | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
} | ||
`} | ||
> | ||
<img | ||
src="/src/assets/images/kakao_landing.png" | ||
alt="kakao login background" | ||
width={'100%'} | ||
/> | ||
</section> | ||
<KakaoLoginButton setLandingFunnelState={setLandingFunnelState} /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default PreLogin; | ||
export default PreLogin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters