-
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.
Merge pull request #21 from EFUB-TEAM4/issue-17
#17 [Vote] PC, Mobile UI
- Loading branch information
Showing
8 changed files
with
468 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* eslint-disable import/no-unresolved */ | ||
import React from 'react'; | ||
import { SaveBear, WhiteClose } from 'assets'; | ||
import { | ||
StyledRoot, | ||
MainText, | ||
ImgBox, | ||
HomeButton, | ||
Text, | ||
ExitButton, | ||
ButtonBox, | ||
} from './style'; | ||
|
||
function SaveComplete() { | ||
return ( | ||
<StyledRoot> | ||
<ButtonBox> | ||
<button type="button"> | ||
<ExitButton src={WhiteClose} alt="์ฐฝ ๋ซ๊ธฐ ๋ฒํผ" /> | ||
</button> | ||
</ButtonBox> | ||
<MainText>๋ ์จ ๊ธฐ๋ก์ด ์ ์ฅ๋์์ด์</MainText> | ||
<ImgBox> | ||
<img src={SaveBear} alt="์ ์ฅํ๋ ๊ณฐ๋์ด ์ด๋ฏธ์ง" /> | ||
</ImgBox> | ||
<HomeButton> | ||
<Text>ํ์ผ๋ก ๋์๊ฐ๊ธฐ</Text> | ||
</HomeButton> | ||
</StyledRoot> | ||
); | ||
} | ||
|
||
export default SaveComplete; |
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,103 @@ | ||
/* eslint-disable import/no-unresolved */ | ||
import styled from 'styled-components'; | ||
import { applyMediaQuery } from 'styles/mediaQuery'; | ||
|
||
const StyledRoot = styled.div` | ||
width: 100vw; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background: ${({ theme: { color } }) => color.greenDarker}; | ||
`; | ||
|
||
const ButtonBox = styled.div` | ||
${applyMediaQuery('mobile')} { | ||
button { | ||
margin-bottom: 3rem; | ||
margin-left: 37rem; | ||
} | ||
} | ||
`; | ||
|
||
const ExitButton = styled.img` | ||
${applyMediaQuery('desktop')} { | ||
display: none; | ||
} | ||
${applyMediaQuery('mobile')} { | ||
width: 3rem; | ||
height: 3rem; | ||
} | ||
`; | ||
|
||
const MainText = styled.p` | ||
font-family: 'Cafe24Ssurround'; | ||
font-size: ${({ theme: { font } }) => font.size.large}; | ||
color: ${({ theme: { color } }) => color.white}; | ||
/* margin-top: 7rem; */ | ||
margin-bottom: 5rem; | ||
${applyMediaQuery('mobile')} { | ||
font-size: ${({ theme: { font } }) => font.size.semiLarge}; | ||
margin-bottom: 4rem; | ||
} | ||
`; | ||
|
||
const ImgBox = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 40rem; | ||
height: 40rem; | ||
background-color: ${({ theme: { color } }) => color.white}; | ||
border-radius: 0.6rem; | ||
margin: 0rem; | ||
img { | ||
width: 92%; | ||
height: 92%; | ||
} | ||
${applyMediaQuery('mobile')} { | ||
width: 40rem; | ||
height: 40rem; | ||
} | ||
`; | ||
|
||
const HomeButton = styled.button` | ||
width: 20rem; | ||
height: 5rem; | ||
margin-top: 5rem; | ||
border-radius: 0.6rem; | ||
background-color: ${({ theme: { color } }) => color.white}; | ||
${applyMediaQuery('mobile')} { | ||
margin-top: 3rem; | ||
width: 40rem; | ||
height: 5rem; | ||
} | ||
`; | ||
|
||
const Text = styled.p` | ||
font-family: 'Cafe24Ssurround'; | ||
font-size: ${({ theme: { font } }) => font.size.small}; | ||
color: ${({ theme: { color } }) => color.greenDarker}; | ||
${applyMediaQuery('mobile')} { | ||
font-family: 'Noto'; | ||
font-size: ${({ theme: { font } }) => font.size.small}; | ||
font-weight: ${({ theme: { font } }) => font.weight.bold}; | ||
} | ||
`; | ||
|
||
export { | ||
StyledRoot, | ||
ButtonBox, | ||
ExitButton, | ||
MainText, | ||
ImgBox, | ||
HomeButton, | ||
Text, | ||
}; |
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 @@ | ||
/* eslint-disable import/no-unresolved */ | ||
import React from 'react'; | ||
import { | ||
StyledRoot, | ||
MainText, | ||
ContentBox, | ||
Clothes, | ||
Place, | ||
HomeButton, | ||
Text, | ||
} from './style'; | ||
|
||
function VoteComplete() { | ||
return ( | ||
<StyledRoot> | ||
<MainText>ํฌํ๊ฐ ๋ฑ๋ก๋์์ด์</MainText> | ||
<ContentBox> | ||
<Clothes>์ค๋ ์ฃผ๊ฒฝ๋ฐ๋ง</Clothes> | ||
<Place>์กฐํ์์ ๊ด์์ ํ, ๋ถํ?</Place> | ||
</ContentBox> | ||
<HomeButton> | ||
<Text>ํ์ผ๋ก ๋์๊ฐ๊ธฐ</Text> | ||
</HomeButton> | ||
</StyledRoot> | ||
); | ||
} | ||
|
||
export default VoteComplete; |
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,86 @@ | ||
/* eslint-disable import/no-unresolved */ | ||
import styled from 'styled-components'; | ||
import { applyMediaQuery } from 'styles/mediaQuery'; | ||
|
||
const StyledRoot = styled.div` | ||
width: 100vw; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background: ${({ theme: { color } }) => color.greenDarker}; | ||
`; | ||
|
||
const MainText = styled.p` | ||
font-family: 'Cafe24Ssurround'; | ||
font-size: ${({ theme: { font } }) => font.size.semiLarge}; | ||
color: ${({ theme: { color } }) => color.white}; | ||
margin-bottom: 10.2rem; | ||
`; | ||
|
||
const ContentBox = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: 56rem; | ||
height: 20rem; | ||
border-radius: 0.6rem; | ||
background-color: ${({ theme: { color } }) => color.greenLighter}; | ||
${applyMediaQuery('mobile')} { | ||
width: 40rem; | ||
height: 15rem; | ||
} | ||
`; | ||
|
||
const Clothes = styled.p` | ||
font-family: 'Noto'; | ||
font-size: ${({ theme: { font } }) => font.size.semiMedium}; | ||
color: ${({ theme: { color } }) => color.greenDarker}; | ||
margin-bottom: 2rem; | ||
${applyMediaQuery('mobile')} { | ||
font-size: ${({ theme: { font } }) => font.size.regular}; | ||
margin-bottom: 1rem; | ||
} | ||
`; | ||
|
||
const Place = styled.p` | ||
font-family: 'Noto'; | ||
font-size: ${({ theme: { font } }) => font.size.semiMedium}; | ||
color: ${({ theme: { color } }) => color.greenDarker}; | ||
${applyMediaQuery('mobile')} { | ||
font-size: ${({ theme: { font } }) => font.size.regular}; | ||
} | ||
`; | ||
|
||
const HomeButton = styled.button` | ||
width: 20rem; | ||
height: 5rem; | ||
margin-top: 13.5rem; | ||
border-radius: 0.6rem; | ||
background-color: ${({ theme: { color } }) => color.white}; | ||
${applyMediaQuery('mobile')} { | ||
margin-top: 3rem; | ||
width: 40rem; | ||
height: 5rem; | ||
} | ||
`; | ||
|
||
const Text = styled.p` | ||
font-family: 'Cafe24Ssurround'; | ||
font-size: ${({ theme: { font } }) => font.size.small}; | ||
color: ${({ theme: { color } }) => color.greenDarker}; | ||
${applyMediaQuery('mobile')} { | ||
font-family: 'Noto'; | ||
font-size: ${({ theme: { font } }) => font.size.small}; | ||
font-weight: ${({ theme: { font } }) => font.weight.bold}; | ||
} | ||
`; | ||
|
||
export { StyledRoot, MainText, ContentBox, Clothes, Place, HomeButton, Text }; |
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
Oops, something went wrong.