-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
14 changed files
with
649 additions
and
79 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,82 @@ | ||
import { Button, Flex, Input, Typo } from '@/components/common'; | ||
import Footer from '@/features/layout/footer'; | ||
import Header from '@/features/layout/Header'; | ||
import styled from '@emotion/styled'; | ||
|
||
export const PostNotice = () => { | ||
return ( | ||
<> | ||
<Header /> | ||
<section> | ||
<Flex direction="column" alignItems="center"> | ||
<LineWrapper> | ||
<Flex direction="column" justifyContent="space-between" alignItems="center" style={{ width: '100%' }}> | ||
<Typo element="h1" size="20px" style={{ marginBottom: '24px' }}> | ||
๊ตฌ์ธ ๊ธ ์ ๋ก๋ | ||
</Typo> | ||
<InputContainer> | ||
<Typo element="p" size="16px" style={{ fontWeight: 'bold' }}> | ||
๊ธ์ฌ | ||
</Typo> | ||
<Input style={{ width: '700px', height: '48px', marginTop: '12px' }}></Input> | ||
</InputContainer> | ||
<InputContainer> | ||
<Typo element="p" size="16px" style={{ fontWeight: 'bold' }}> | ||
๊ทผ๋ฌด๊ธฐ๊ฐ | ||
</Typo> | ||
<Input style={{ width: '700px', height: '48px', marginTop: '12px' }}></Input> | ||
</InputContainer> | ||
<InputContainer> | ||
<Typo element="p" size="16px" style={{ fontWeight: 'bold' }}> | ||
๊ทผ๋ฌด์์ผ | ||
</Typo> | ||
<Input style={{ width: '700px', height: '48px', marginTop: '12px' }}></Input> | ||
</InputContainer> | ||
<InputContainer> | ||
<Typo element="p" size="16px" style={{ fontWeight: 'bold' }}> | ||
๊ทผ๋ฌด์๊ฐ | ||
</Typo> | ||
<Input style={{ width: '700px', height: '48px', marginTop: '12px' }}></Input> | ||
</InputContainer> | ||
<InputContainer> | ||
<Typo element="p" size="16px" style={{ fontWeight: 'bold' }}> | ||
๊ณ ์ฉํํ | ||
</Typo> | ||
<Input style={{ width: '700px', height: '48px', marginTop: '12px' }}></Input> | ||
</InputContainer> | ||
<InputContainer> | ||
<Typo element="p" size="16px" style={{ fontWeight: 'bold' }}> | ||
๋น์์กฐ๊ฑด | ||
</Typo> | ||
<Input style={{ width: '700px', height: '48px', marginTop: '12px' }}></Input> | ||
</InputContainer> | ||
<InputContainer> | ||
<Typo element="p" size="16px" style={{ fontWeight: 'bold' }}> | ||
์ฐ๋์ฌํญ | ||
</Typo> | ||
<Input style={{ width: '700px', height: '48px', marginTop: '12px' }}></Input> | ||
</InputContainer> | ||
<Button theme="default" style={{ marginTop: '52px' }}> | ||
๋ฑ๋กํ๊ธฐ | ||
</Button> | ||
</Flex> | ||
</LineWrapper> | ||
</Flex> | ||
</section> | ||
<Footer /> | ||
</> | ||
); | ||
}; | ||
|
||
const LineWrapper = styled.div` | ||
border: 1px solid #e9e9e9; | ||
border-radius: 3px; | ||
padding: 100px 200px; | ||
margin: 52px 0; | ||
`; | ||
|
||
const InputContainer = styled.div` | ||
width: 700px; | ||
align-items: start; | ||
margin-top: 32px; | ||
`; |
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,122 @@ | ||
import { Button } from '@/components/common'; | ||
import instagram from '@assets/styles/images/features/layout/footer/instagram_Icon.svg'; | ||
import cat from './cat.jpg'; | ||
import styled from '@emotion/styled'; | ||
import { RecruitCardProps } from './index'; | ||
|
||
const initialData = { | ||
title: '๊น๋ฐฅ์ฒ๊ตญ ์ฑ์ฉ (1๋ ๊ณ์ฝ์ง)', | ||
companySize: '๋๊ธฐ์ ', | ||
area: '๋๊ตฌ ๋ฌ์๊ตฌ', | ||
requestedCareer: '๊ฒฝ๋ ฅ 1~2๋ ', | ||
}; | ||
|
||
export default function RecruitCard({ | ||
title = initialData.title, | ||
companySize = initialData.companySize, | ||
area = initialData.area, | ||
requestedCareer = initialData.requestedCareer, | ||
companyImage = cat, | ||
}: RecruitCardProps) { | ||
return ( | ||
<RecruitContainer> | ||
<CompanyImg alt="a" src={companyImage} /> | ||
<Info_Div> | ||
<Info_p> | ||
<p>{title}</p> | ||
<p>{`${companySize} | ${area} | ${requestedCareer}`}</p> | ||
</Info_p> | ||
<Info_Btn> | ||
<CustomBtn background="#0a65cc">์ง์ํ๊ธฐ</CustomBtn> | ||
<CustomBtn color="0a65cc" width="10px"> | ||
<img src={instagram} /> | ||
</CustomBtn> | ||
</Info_Btn> | ||
</Info_Div> | ||
</RecruitContainer> | ||
); | ||
} | ||
|
||
const RecruitContainer = styled.div` | ||
margin: 100px 0 0; | ||
width: 100%; | ||
max-width: 680px; | ||
display: flex; | ||
flex-direction: column; | ||
@media (max-width: 768px) { | ||
max-width: 380px; | ||
} | ||
@media (max-width: 480px) { | ||
max-width: 280px; | ||
} | ||
`; | ||
|
||
const CompanyImg = styled.img<React.ImgHTMLAttributes<HTMLImageElement>>` | ||
width: 100%; | ||
height: 380px; | ||
border-radius: 20px; | ||
object-fit: cover; | ||
@media (max-width: 768px) { | ||
height: 300px; | ||
} | ||
@media (max-width: 480px) { | ||
height: 220px; | ||
} | ||
`; | ||
|
||
const Info_Div = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 30px; | ||
@media (max-width: 768px) { | ||
gap: 5px; | ||
} | ||
`; | ||
const Info_p = styled.div` | ||
margin-top: 30px; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 18px; | ||
p:nth-of-type(1) { | ||
font-size: 24px; | ||
} | ||
p:nth-of-type(2) { | ||
font-size: 18px; | ||
opacity: 0.8; | ||
} | ||
@media (max-width: 768px) { | ||
p:nth-of-type(1) { | ||
font-size: 20px; | ||
} | ||
p:nth-of-type(2) { | ||
font-size: 14px; | ||
} | ||
} | ||
`; | ||
const Info_Btn = styled.div` | ||
margin-top: 30px; | ||
width: 100%; | ||
display: flex; | ||
gap: 10px; | ||
`; | ||
|
||
const CustomBtn = styled(Button)<{ background?: string; color?: string; width?: string }>` | ||
background: ${(props) => props.background || ''}; | ||
color: ${(props) => props.color || 'white'}; | ||
width: ${(props) => props.width || '190px'}; | ||
height: 56px; | ||
border-radius: 4px; | ||
display: flex; | ||
&:hover { | ||
opacity: 0.8; | ||
} | ||
@media (max-width: 768px) { | ||
width: ${(props) => props.width || '160px'}; | ||
} | ||
`; |
Oops, something went wrong.