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

feat: 개인정보 수집 안내 페이지 상수 데이터 업데이트 #170

Merged
merged 2 commits into from
Aug 29, 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
6 changes: 4 additions & 2 deletions frontend/app/application/consent/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import Txt from "@/components/common/Txt.component";
import { CURRENT_GENERATION } from "@/src/constants";
import { FINAL_DATE } from "@/src/constants/application/27";
import { replaceTwoString } from "@/src/functions/replacer";

const ApplicationConsentPage = () => {
const ApplicationConsentPage = async () => {
const { FINAL_DATE } = await import(
`@/src/constants/application/${CURRENT_GENERATION}`
);
const generation = `${CURRENT_GENERATION}`;
const finalDate = `${FINAL_DATE.year}.${replaceTwoString(
FINAL_DATE.month
Expand Down
19 changes: 15 additions & 4 deletions frontend/src/constants/application/28.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,24 @@ export const APPLICATION_TIMELINE: ApplicationTimeline = {
disableTime: [],
};

/**
* @description 개인정보 수집에 대한 1차 모집 마감일 상수 데이터
* @property {month}: 1차 모집 마감 달 (1-12)
* @property {date}: 1차 모집 마감 날짜 (1-31)
*/
export const END_DATE = {
month: 3,
date: 18,
month: 9,
date: 15,
};

/**
* @description 개인정보 수집에 대한 최종 마감일 상수 데이터
* @property {number} year - 최종 모집 마감 연도
* @property {number} month - 최종 모집 마감 월 (1-12)
* @property {number} date - 최종 모집 마감 일 (1-31)
*/
export const FINAL_DATE = {
year: 2024,
month: 3,
date: 25,
month: 9,
date: 30,
};