-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Splash] 스플래시 뷰 퍼블리싱
- Loading branch information
Showing
13 changed files
with
153 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const BodyWrapper = styled.section` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
width: 100vw; | ||
height: calc(100dvh - 24.2rem); | ||
margin-bottom: 5rem; | ||
gap: 2rem; | ||
`; | ||
|
||
export const LottieWrapper = styled.article` | ||
width: 100%; | ||
height: 100%; | ||
`; | ||
|
||
export const TextWrapper = styled.article` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
`; | ||
|
||
export const Text = styled.p` | ||
${({ theme }) => theme.fonts.Title2_M_16}; | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// import Lottie from 'lottie-react' | ||
|
||
import * as S from './Body.style'; | ||
|
||
function Body() { | ||
const noteNum = 30; | ||
|
||
return ( | ||
<S.BodyWrapper> | ||
<S.LottieWrapper>{/* <Lottie animationData={}/> */}</S.LottieWrapper> | ||
|
||
<S.TextWrapper> | ||
<S.Text>지금까지 {noteNum}개의</S.Text> | ||
<S.Text>포스트잇이 붙여졌어요!</S.Text> | ||
</S.TextWrapper> | ||
</S.BodyWrapper> | ||
); | ||
} | ||
|
||
export default Body; |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const BottomWrapper = styled.button` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: calc(100% - 3rem); | ||
padding: 1.7rem 0; | ||
border-radius: 1rem; | ||
background-color: ${({ theme }) => theme.colors.BG}; | ||
${({ theme }) => theme.fonts.Head2_SB_18}; | ||
color: ${({ theme }) => theme.colors.white}; | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as S from './Bottom.style'; | ||
|
||
function Bottom() { | ||
return <S.BottomWrapper type="button">시작하기</S.BottomWrapper>; | ||
} | ||
|
||
export default Bottom; |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Header = styled.header` | ||
display: flex; | ||
justify-content: left; | ||
width: 100vw; | ||
`; | ||
|
||
export const Wrapper = styled.div` | ||
margin-bottom: 0.8rem; | ||
margin-left: 1.8rem; | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { ImgSplashLogo } from '../../../assets'; | ||
import * as S from './Header.style'; | ||
|
||
function Header() { | ||
return ( | ||
<S.Header> | ||
<S.Wrapper> | ||
<ImgSplashLogo /> | ||
</S.Wrapper> | ||
</S.Header> | ||
); | ||
} | ||
|
||
export default Header; |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Wrapper = styled.div` | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
width: 100vw; | ||
height: 100dvh; | ||
margin: 3rem 0 2rem; | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Body from '../../component/Body'; | ||
import Bottom from '../../component/Bottom'; | ||
import Header from '../../component/Header'; | ||
import * as S from './SplashPage.style' | ||
|
||
function SplashPage() { | ||
return ( | ||
<S.Wrapper> | ||
<Header /> | ||
<Body /> | ||
<Bottom /> | ||
</S.Wrapper> | ||
); | ||
} | ||
|
||
export default SplashPage; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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