diff --git a/apps/university-web/public/images/univs/chungang.png b/apps/university-web/public/images/univs/chungang.png new file mode 100644 index 00000000..1ce0f9bb Binary files /dev/null and b/apps/university-web/public/images/univs/chungang.png differ diff --git a/apps/university-web/src/constants/university.ts b/apps/university-web/src/constants/university.ts index 4d2de055..af854716 100644 --- a/apps/university-web/src/constants/university.ts +++ b/apps/university-web/src/constants/university.ts @@ -17,6 +17,7 @@ export const REGIONS_KO = ["유럽권", "미주권", "아시아권", "중국권" export const HOME_UNIVERSITY_SLUG_MAP: Record = { inha: HomeUniversity.INHA, kyunghee: HomeUniversity.KYUNGHEE, + chungang: HomeUniversity.CHUNGANG, }; /** @@ -25,6 +26,7 @@ export const HOME_UNIVERSITY_SLUG_MAP: Record = { [HomeUniversity.INHA]: "inha", [HomeUniversity.KYUNGHEE]: "kyunghee", + [HomeUniversity.CHUNGANG]: "chungang", }; /** @@ -59,6 +61,15 @@ export const HOME_UNIVERSITY_LIST: HomeUniversityInfo[] = [ description: "경희대학교 교환학생 프로그램", color: "#8C1515", }, + { + homeUniversityId: 3, + name: HomeUniversity.CHUNGANG, + slug: "chungang", + shortName: "중앙대", + logoUrl: "/images/univs/chungang.png", + description: "중앙대학교 교환학생 프로그램", + color: "#006DB4", + }, ]; /** @@ -104,7 +115,7 @@ export const getHomeUniversitySlugByName = (value: string | null | undefined): H /** * 유효한 홈 대학교 슬러그 목록 */ -export const HOME_UNIVERSITY_SLUGS: HomeUniversitySlug[] = ["inha", "kyunghee"]; +export const HOME_UNIVERSITY_SLUGS: HomeUniversitySlug[] = ["inha", "kyunghee", "chungang"]; export const COUNTRIES_KO = [ // 2024-2 기준 diff --git a/apps/university-web/src/types/university.ts b/apps/university-web/src/types/university.ts index fb3791d3..7d650456 100644 --- a/apps/university-web/src/types/university.ts +++ b/apps/university-web/src/types/university.ts @@ -3,11 +3,12 @@ export type RegionKo = "유럽권" | "미주권" | "아시아권"; export enum HomeUniversityName { INHA = "인하대학교", KYUNGHEE = "경희대학교", + CHUNGANG = "중앙대학교", } export { HomeUniversityName as HomeUniversity }; -export type HomeUniversitySlug = "inha" | "kyunghee"; +export type HomeUniversitySlug = "inha" | "kyunghee" | "chungang"; export interface RegionOption { value: string;