diff --git a/package.json b/package.json index 0e8daac..b35068a 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "@next/bundle-analyzer": "^12.1.0", "aos": "^3.0.0-beta.6", "axios": "^0.26.0", + "dayjs": "^1.11.10", "editorjs-html": "^3.4.3", "lodash-es": "^4.17.21", "lottie-web": "^5.9.1", diff --git a/pages/index.tsx b/pages/index.tsx index ccd07f2..a7b0453 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -6,7 +6,6 @@ import { RecruitingOpenHero, RecruitingPeriod, RecruitingRemainder, - NotRecruitmentPeriod, } from '@/components'; import { useAOS } from '@/hooks'; @@ -17,7 +16,6 @@ import { useEffect, useState } from 'react'; const Home = () => { useAOS(); - const [isOpenNotRecruitMentModal, setIsOpenNotRecruitmentModal] = useState(true); const [recruitingProgressStatus, setRecruitingProgressStatus] = useState< RecruitingProgressStatus | 'NOT_INITIALIZED' >('NOT_INITIALIZED'); @@ -36,9 +34,6 @@ const Home = () => { - {isOpenNotRecruitMentModal && ( - - )} )} diff --git a/src/components/common/Footer/Footer.component.tsx b/src/components/common/Footer/Footer.component.tsx index 0225c3a..9c4081f 100644 --- a/src/components/common/Footer/Footer.component.tsx +++ b/src/components/common/Footer/Footer.component.tsx @@ -19,7 +19,7 @@ const Footer = () => { - © Mash-Up 2023. Made in Seoul. + © Mash-Up 2024. Made in Seoul. { @@ -18,7 +18,7 @@ const RecruitingOpenHero = () => { data-aos="fade-up" data-aos-duration={AOS_DEFAULT_DURATION + AOS_BASE_DURATION_DISTANCE} > - 13th + {CURRENT_GENERATION}th { + const { RECRUITMENT_START_KST_DATE, RECRUITMENT_END_KST_DATE } = RECRUIT_DATE; + + const DAYJS_RECRUITMENT_START_KST_DATE = dayjs(RECRUITMENT_START_KST_DATE); + const DAYJS_RECRUITMENT_END_KST_DATE = dayjs(RECRUITMENT_END_KST_DATE); + return ( Start Date - 2023년 1월 11일 - @@ -24,9 +32,11 @@ const RecruitingPeriod = () => { data-aos-duration={AOS_DEFAULT_DURATION + AOS_BASE_DURATION_DISTANCE} > End Date - 2023년 1월 25일 -