-
Notifications
You must be signed in to change notification settings - Fork 1
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 #60 from KUSITMS-29th-TEAM-D/develop
v0.2.0
- Loading branch information
Showing
52 changed files
with
2,111 additions
and
637 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
import { useNavigate } from 'react-router-dom'; | ||
import { styled } from 'styled-components'; | ||
|
||
import backgroundImg from '@/assets/backgrounds/designStartBackground.png'; | ||
import { PlainButton } from '@/components/common/Button/PlainButton'; | ||
|
||
export const DesignStartView = () => { | ||
const navigate = useNavigate(); | ||
|
||
const handleClick = () => { | ||
navigate('/test/design/2'); | ||
}; | ||
return ( | ||
<div> | ||
<ViewContainer> | ||
<Styled1Container> | ||
<TopContainer> | ||
<TitleTextContainer> | ||
<TitleContainer> | ||
<br /> | ||
어떤 브랜더가 되고 싶나요? | ||
</TitleContainer> | ||
<SubTitleContainer> | ||
문항은 <span className="highlight">총 3문항</span>으로, 앞으로 만들어 갈 나의 브랜드 | ||
방향성을 설정하는 첫 걸음이에요. | ||
<br /> | ||
설계하기 테스트를 통해 나의 브랜드 컨셉을 정해보고,{' '} | ||
<span className="highlight">브랜딩을 시작해보세요!</span> | ||
</SubTitleContainer> | ||
</TitleTextContainer> | ||
<PlainButton variant="gray" width="376px" height="48px" onClick={handleClick}> | ||
시작하기 | ||
</PlainButton> | ||
</TopContainer> | ||
</Styled1Container> | ||
</ViewContainer> | ||
</div> | ||
); | ||
}; | ||
|
||
const TitleTextContainer = styled.div` | ||
align-self: stretch; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: flex-start; | ||
gap: 16px; | ||
display: flex; | ||
`; | ||
|
||
const TitleContainer = styled.div` | ||
width: 100%; | ||
color: ${({ theme }) => `${theme.color.gray900}`}; | ||
${({ theme }) => theme.font.desktop.h2}; | ||
`; | ||
|
||
const SubTitleContainer = styled.div` | ||
width: 100%; | ||
color: ${({ theme }) => `${theme.color.gray700}`}; | ||
${({ theme }) => theme.font.desktop.body1m}; | ||
word-wrap: break-word; | ||
.highlight { | ||
color: ${({ theme }) => `${theme.color.primary700}`}; | ||
} | ||
`; | ||
|
||
const TopContainer = styled.div` | ||
width: 100%; | ||
height: 100%; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: flex-start; | ||
gap: 48px; | ||
display: flex; | ||
`; | ||
|
||
const Styled1Container = styled.div` | ||
width: 100%; | ||
height: 100%; | ||
padding: 64px; | ||
padding-top: 118px; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
align-items: flex-start; | ||
gap: 24px; | ||
display: inline-flex; | ||
`; | ||
|
||
export const ViewContainer = styled.div` | ||
height: 100vh; | ||
background-image: url(${backgroundImg}); | ||
background-size: cover; | ||
background-position: right; | ||
display: flex; | ||
overflow-x: auto; | ||
`; |
Oops, something went wrong.