-
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 branch 'develop' into feat/#42/api-jaeguk
- Loading branch information
Showing
3 changed files
with
107 additions
and
0 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,72 @@ | ||
import { TIPS } from '@/constants/About'; | ||
import { CommonInner } from '@/style/common'; | ||
import { H2 } from '@/style/fonts/StyledFonts'; | ||
import styled from 'styled-components'; | ||
|
||
const Tips = () => { | ||
return ( | ||
<Container> | ||
<CommonInner> | ||
<H2 $fontColor="#15191d"> | ||
👉 선정될 수 있는 지원서 작성 꿀팁을 알려드릴게요! | ||
</H2> | ||
<TipContainer> | ||
{TIPS.map(tip => ( | ||
<TipCard key={tip.title}> | ||
<TitleTag>{tip.title}</TitleTag> | ||
<div className="description">{tip.description}</div> | ||
</TipCard> | ||
))} | ||
</TipContainer> | ||
</CommonInner> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default Tips; | ||
|
||
const Container = styled.div` | ||
margin-top: 219px; | ||
margin-bottom: 224px; | ||
body:not(&) { | ||
background-color: var(--color_background); | ||
} | ||
`; | ||
|
||
const TipContainer = styled.div` | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
gap: 36px 32px; | ||
margin-top: 40px; | ||
`; | ||
|
||
const TipCard = styled.div` | ||
border-radius: 20px; | ||
border: 0.5px solid var(--grey-200, #e3e7ed); | ||
background: var(--main_1, #fff); | ||
padding: 40px 56px; | ||
width: 682px; | ||
height: 332px; | ||
.description { | ||
color: var(--grey-700, #53575c); | ||
font-family: SUIT-Medium; | ||
font-size: 18px; | ||
font-style: normal; | ||
line-height: 160%; /* 28.8px */ | ||
} | ||
`; | ||
|
||
const TitleTag = styled.div` | ||
border-radius: 10px; | ||
background-color: #e9f4ff; | ||
padding: 8px 16px; | ||
width: max-content; | ||
color: var(--color_main1); | ||
font-family: SUIT-Bold; | ||
font-size: 20px; | ||
font-style: normal; | ||
line-height: 150%; /* 30px */ | ||
`; |