From d0b24f511049e09f6ec823f93ae0d621eea2c253 Mon Sep 17 00:00:00 2001 From: useruseruse Date: Fri, 2 Feb 2024 20:53:02 +0900 Subject: [PATCH] fix redirect to portal --- src/common/constants.js | 1 + src/components/sections/main/AcademicScheduleSection.jsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/constants.js b/src/common/constants.js index e6808cf..0dc10d0 100644 --- a/src/common/constants.js +++ b/src/common/constants.js @@ -1,4 +1,5 @@ export const CONTACT = 'otlplus@sparcs.org'; +export const PORTAL = 'https://cais.kaist.ac.kr'; export const TIMETABLE_START_HOUR = 8; export const TIMETABLE_END_HOUR = 24; diff --git a/src/components/sections/main/AcademicScheduleSection.jsx b/src/components/sections/main/AcademicScheduleSection.jsx index dac2da0..76218cd 100644 --- a/src/components/sections/main/AcademicScheduleSection.jsx +++ b/src/components/sections/main/AcademicScheduleSection.jsx @@ -8,6 +8,7 @@ import { appBoundClassNames as classNames } from '../../../common/boundClassName import semesterShape from '../../../shapes/model/subject/SemesterShape'; import { getCurrentSchedule, getSemesterName } from '../../../utils/semesterUtils'; +import { PORTAL } from '@/common/constants'; class AcademicScheduleSection extends Component { constructor(props) { @@ -91,7 +92,7 @@ class AcademicScheduleSection extends Component { {getAcademicScheduleContent()}