Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

모집 기간이 아님을 알리는 Dialog 추가 기능 배포 #282

Merged
merged 4 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
RecruitingOpenHero,
RecruitingPeriod,
RecruitingRemainder,
NotRecruitmentPeriod,
} from '@/components';
import { CURRENT_GENERATION } from '@/constants';

Expand All @@ -28,6 +29,8 @@ const Home = ({ recruitScheduleArray }: HomeProps) => {

const recruitSchedule = generateRecruitSchedule(recruitScheduleArray);

const [isOpenNotRecruitMentModal, setIsOpenNotRecruitmentModal] = useState(true);

const [recruitingProgressStatus, setRecruitingProgressStatus] = useState<
RecruitingProgressStatus | 'NOT_INITIALIZED'
>('NOT_INITIALIZED');
Expand All @@ -53,6 +56,10 @@ const Home = ({ recruitScheduleArray }: HomeProps) => {
<RecruitingPeriod recruitSchedule={recruitSchedule} />
<RecruitingProcess recruitSchedule={recruitSchedule} />
<RecruitingDetailNavigation />

{isOpenNotRecruitMentModal && (
<NotRecruitmentPeriod setIsOpenModal={setIsOpenNotRecruitmentModal} />
)}
</HomeLayout>
)}
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const NotRecruitmentPeriod = ({ setIsOpenModal }: NotRecruitmentPeriodProps) =>
<Styled.Dialog>
<Styled.Notify>지금은 모집 기간이 아니에요!</Styled.Notify>
<Styled.Paragraph>
다음 기수 모집 시작은{'\n'}24년 1분기로 예정되어 있습니다.
다음 기수 모집 시작은{'\n'}25년 1분기로 예정되어 있습니다.
</Styled.Paragraph>
<Styled.GoToOfficialPage href="https://mash-up.kr/">
공식 홈페이지 바로가기
Expand All @@ -35,7 +35,7 @@ const NotRecruitmentPeriod = ({ setIsOpenModal }: NotRecruitmentPeriodProps) =>
priority
/>
<Styled.SpeechBubble>
<Styled.Speech>현재 13기가 활발히 활동 중이에요</Styled.Speech>
<Styled.Speech>현재 14기가 활발히 활동 중이에요</Styled.Speech>
<Styled.SpeechDotBig />
<Styled.SpeechDotSmall />
</Styled.SpeechBubble>
Expand Down
2 changes: 1 addition & 1 deletion src/constants/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import favicon from 'public/favicon.ico';
import ogImage from '@/assets/images/open-graph-image.png';
import { DefaultSEOProps } from '@/components/seo/SEO';

export const titleTemplate = 'Mash-up Recruit | ';
export const titleTemplate = 'Mash-Up Recruit | ';

export const defaultSEOConfig: DefaultSEOProps = {
title: 'IT 연합 동아리',
Expand Down
Loading