Skip to content

Commit

Permalink
feat: 14기 지원 버튼 추가 (메인 마지막)
Browse files Browse the repository at this point in the history
  • Loading branch information
byun sumi committed Sep 21, 2023
1 parent 91ec204 commit f808af7
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions src/components/Main/RecruitTextSection.tsx
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;
}
}
`;

0 comments on commit f808af7

Please sign in to comment.