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

Fix portal URL on AcademicScheduleSection #33

Merged
merged 2 commits into from
Apr 22, 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
1 change: 1 addition & 0 deletions src/common/constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const CONTACT = '[email protected]';
export const PORTAL = 'https://cais.kaist.ac.kr';

export const TIMETABLE_START_HOUR = 8;
export const TIMETABLE_END_HOUR = 24;
Expand Down
3 changes: 2 additions & 1 deletion src/components/sections/main/AcademicScheduleSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -91,7 +92,7 @@ class AcademicScheduleSection extends Component {
{getAcademicScheduleContent()}
<div className={classNames('buttons')}>
<a
href="https://ssogw6.kaist.ac.kr"
href={PORTAL}
className={classNames('text-button')}
target="_blank"
rel="noopener noreferrer">
Expand Down
Loading