-
Notifications
You must be signed in to change notification settings - Fork 9
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
byun sumi
committed
Sep 21, 2023
1 parent
91ec204
commit f808af7
Showing
1 changed file
with
27 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,36 @@ | ||
import { css, Theme } from '@emotion/react'; | ||
|
||
import { Button } from '~/components/Button'; | ||
import { commonLayoutCss } from '~/styles/layout'; | ||
import { mediaQuery } from '~/styles/media'; | ||
|
||
export function RecruitTextSection() { | ||
return ( | ||
<section> | ||
<section css={[commonLayoutCss, layoutCss]}> | ||
<h1> | ||
서비스 런칭부터 운영까지 <br /> | ||
열정적인 여정에 지금 합류하세요 | ||
</h1> | ||
<button>14기 지원하기</button> | ||
<Button>14기 지원하기</Button> | ||
</section> | ||
); | ||
} | ||
|
||
const layoutCss = (theme: Theme) => css` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 40px; | ||
h1 { | ||
text-align: center; | ||
color: ${theme.colors.white}; | ||
${theme.typos.decimal.title2}; | ||
} | ||
${mediaQuery('mobile')} { | ||
h1 { | ||
font-size: 20px; | ||
} | ||
} | ||
`; |