-
Notifications
You must be signed in to change notification settings - Fork 2
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 #240 from mash-up-kr/develop
Release v1.1.0 배포
- Loading branch information
Showing
9 changed files
with
165 additions
and
3 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 +1 @@ | ||
* @mango906 @Baek2back @HaJunRyu @sanoopark | ||
* @Baek2back @HaJunRyu @sanoopark @kikiyeom |
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.
File renamed without changes
2 changes: 1 addition & 1 deletion
2
src/components/applyStatus/StatusDetailBackground/StatusDetailBackground.component.tsx
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
40 changes: 40 additions & 0 deletions
40
src/components/home/NotRecruitmentPeriod/NotRecruitmentPeriod.component.tsx
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,40 @@ | ||
import { Modal } from '@/components'; | ||
import mashong from '@/assets/images/mashong-coffee-3x-min.png'; | ||
import { Dispatch, SetStateAction } from 'react'; | ||
import Image from 'next/image'; | ||
import * as Styled from './NotRecruitmentPeriod.styled'; | ||
|
||
interface NotRecruitmentPeriodProps { | ||
setIsOpenModal: Dispatch<SetStateAction<boolean>>; | ||
} | ||
|
||
const NotRecruitmentPeriod = ({ setIsOpenModal }: NotRecruitmentPeriodProps) => { | ||
const handleCloseModal = () => { | ||
setIsOpenModal(false); | ||
}; | ||
|
||
return ( | ||
<Modal deemClose={false} setIsOpenModal={setIsOpenModal}> | ||
<Styled.Dialog> | ||
<Styled.Notify>지금은 모집 기간이 아니에요!</Styled.Notify> | ||
<Styled.Paragraph> | ||
다음 기수 모집 시작은{'\n'}23년 11월 이후로 예정되어 있습니다. | ||
</Styled.Paragraph> | ||
<Styled.GoToOfficialPage href="https://mash-up.kr/"> | ||
공식 홈페이지 바로가기 | ||
</Styled.GoToOfficialPage> | ||
<Styled.CloseButton onClick={handleCloseModal}>지난 모집 훑어보기</Styled.CloseButton> | ||
<Styled.MashongWrapper> | ||
<Image src={mashong.src} alt="" layout="fill" priority /> | ||
<Styled.SpeechBubble> | ||
<Styled.Speech>현재 13기가 활발히 활동 중이에요</Styled.Speech> | ||
<Styled.SpeechDotBig /> | ||
<Styled.SpeechDotSmall /> | ||
</Styled.SpeechBubble> | ||
</Styled.MashongWrapper> | ||
</Styled.Dialog> | ||
</Modal> | ||
); | ||
}; | ||
|
||
export default NotRecruitmentPeriod; |
116 changes: 116 additions & 0 deletions
116
src/components/home/NotRecruitmentPeriod/NotRecruitmentPeriod.styled.ts
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,116 @@ | ||
import { css } from '@emotion/react'; | ||
import styled from '@emotion/styled'; | ||
|
||
export const Dialog = styled.div` | ||
position: relative; | ||
width: 29rem; | ||
padding: 5rem 0 3rem; | ||
text-align: center; | ||
background: #292a34; | ||
border-radius: 3rem; | ||
`; | ||
|
||
export const Notify = styled.p` | ||
${({ theme }) => css` | ||
${theme.fonts.kr.bold18}; | ||
color: #ffffff; | ||
text-align: center; | ||
`} | ||
`; | ||
|
||
export const Paragraph = styled.p` | ||
${({ theme }) => css` | ||
${theme.fonts.kr.medium14}; | ||
margin: 0.8rem 0 1.6rem; | ||
color: #ffffff; | ||
white-space: pre-wrap; | ||
text-align: center; | ||
`} | ||
`; | ||
|
||
export const GoToOfficialPage = styled.a` | ||
${({ theme }) => css` | ||
${theme.fonts.kr.medium16}; | ||
display: inline-block; | ||
width: 21rem; | ||
padding: 1.2rem 0; | ||
color: ${theme.colors.white}; | ||
letter-spacing: -0.05em; | ||
text-align: center; | ||
background: ${theme.colors.purple70}; | ||
border: 0; | ||
border-radius: 1rem; | ||
cursor: pointer; | ||
`} | ||
`; | ||
|
||
export const CloseButton = styled.button` | ||
${({ theme }) => css` | ||
${theme.fonts.kr.medium16}; | ||
display: block; | ||
width: 21rem; | ||
margin: 1rem auto 0; | ||
padding: 1.2rem 0; | ||
color: ${theme.colors.white}; | ||
letter-spacing: -0.05em; | ||
text-align: center; | ||
background: #4f5273; | ||
border: 0; | ||
border-radius: 1rem; | ||
cursor: pointer; | ||
`} | ||
`; | ||
|
||
export const MashongWrapper = styled.div` | ||
position: absolute; | ||
top: -7.2rem; | ||
left: 50%; | ||
width: 11.1rem; | ||
height: 11rem; | ||
transform: translate3d(-50%, 0, 0); | ||
`; | ||
|
||
export const SpeechBubble = styled.div` | ||
${({ theme }) => css` | ||
position: absolute; | ||
top: -8.1rem; | ||
left: -1.2rem; | ||
width: 21.1rem; | ||
background: ${theme.colors.white}; | ||
border-radius: 3rem; | ||
`} | ||
`; | ||
|
||
export const Speech = styled.span` | ||
${({ theme }) => css` | ||
${theme.fonts.kr.medium13}; | ||
display: block; | ||
padding: 1.4rem; | ||
`} | ||
`; | ||
|
||
export const SpeechDotBig = styled.div` | ||
${({ theme }) => css` | ||
position: absolute; | ||
bottom: -0.9rem; | ||
left: 50%; | ||
width: 1.8rem; | ||
height: 1.8rem; | ||
background: ${theme.colors.white}; | ||
border-radius: 50%; | ||
transform: translate3d(-50%, 0, 0); | ||
`} | ||
`; | ||
|
||
export const SpeechDotSmall = styled.div` | ||
${({ theme }) => css` | ||
position: absolute; | ||
bottom: -2.3rem; | ||
left: 45%; | ||
width: 1rem; | ||
height: 1rem; | ||
background: ${theme.colors.white}; | ||
border-radius: 50%; | ||
transform: translate3d(-50%, 0, 0); | ||
`} | ||
`; |
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