1- import React , { Component } from 'react' ;
1+ import { Component } from 'react' ;
22import { useLocation } from 'react-router' ;
33import { connect } from 'react-redux' ;
44import PropTypes from 'prop-types' ;
@@ -24,6 +24,8 @@ import SummarySubSection from '../components/sections/planner/plannerandinfos/Su
2424import TrackSettingsSection from '../components/sections/planner/TrackSettingsSection' ;
2525import BetaPopup from '../components/BetaPopup' ;
2626
27+ import styles from './PlannerPage.module.scss' ;
28+
2729class PlannerPage extends Component {
2830 componentWillUnmount ( ) {
2931 const {
@@ -43,36 +45,35 @@ class PlannerPage extends Component {
4345 const { isTrackSettingsSectionOpen, selectedPlanner } = this . props ;
4446
4547 return (
46- < >
47- < section className = { classNames ( 'content' , 'content--no-scroll' ) } >
48- < div className = { classNames ( 'page-grid' , 'page-grid--planner' ) } >
49- < PlannerTabs />
50- < CourseListTabs />
51- < div className = { classNames ( 'section' , 'section--planner-and-infos' ) } >
52- < PlannerSubSection />
53- < Divider
54- orientation = { {
55- desktop : Divider . Orientation . VERTICAL ,
56- mobile : Divider . Orientation . HORIZONTAL ,
57- } }
58- isVisible = { {
59- desktop : true ,
60- mobile : false ,
61- } }
62- gridArea = "divider-main"
63- />
64- < TrackSubSection />
65- < Divider
66- orientation = { Divider . Orientation . HORIZONTAL }
67- isVisible = { {
68- desktop : true ,
69- mobile : false ,
70- } }
71- gridArea = "divider-sub-1"
72- />
73- < SummarySubSection />
74- { /* TODO: Implement ShareSubSection */ }
75- { /* <Divider
48+ < section className = { classNames ( 'content' , 'content--no-scroll' ) } >
49+ < div className = { styles . grid } >
50+ < PlannerTabs />
51+ < CourseListTabs />
52+ < div className = { classNames ( 'section' , styles . planner ) } >
53+ < PlannerSubSection />
54+ < Divider
55+ orientation = { {
56+ desktop : Divider . Orientation . VERTICAL ,
57+ mobile : Divider . Orientation . HORIZONTAL ,
58+ } }
59+ isVisible = { {
60+ desktop : true ,
61+ mobile : false ,
62+ } }
63+ gridArea = "divider-main"
64+ />
65+ < TrackSubSection />
66+ < Divider
67+ orientation = { Divider . Orientation . HORIZONTAL }
68+ isVisible = { {
69+ desktop : true ,
70+ mobile : false ,
71+ } }
72+ gridArea = "divider-sub-1"
73+ />
74+ < SummarySubSection />
75+ { /* TODO: Implement ShareSubSection */ }
76+ { /* <Divider
7677 orientation={Divider.Orientation.HORIZONTAL}
7778 isVisible={{
7879 desktop: true,
@@ -81,21 +82,20 @@ class PlannerPage extends Component {
8182 gridArea="divider-sub-2"
8283 />
8384 <ShareSubSection /> */ }
84- </ div >
85- < CourseListSection />
86- < CourseManageSection />
87- { isTrackSettingsSectionOpen && selectedPlanner && < TrackSettingsSection /> }
8885 </ div >
89- < BetaPopup
90- title = "졸업플래너 베타 서비스 안내"
91- content = { [
92- '졸업플레너 서비스는 현재 베타 상태입니다.' ,
93- '일부 학점 계산이 정확하지 않거나 기능 사용이 불편할 수 있으며, 이는 정식 출시 때 개선될 예정입니다.' ,
94- ] }
95- link = "https://sparcs.page.link/otl-feedback"
96- />
97- </ section >
98- </ >
86+ < CourseListSection />
87+ < CourseManageSection />
88+ { isTrackSettingsSectionOpen && selectedPlanner && < TrackSettingsSection /> }
89+ </ div >
90+ < BetaPopup
91+ title = "졸업플래너 베타 서비스 안내"
92+ content = { [
93+ '졸업플레너 서비스는 현재 베타 상태입니다.' ,
94+ '일부 학점 계산이 정확하지 않거나 기능 사용이 불편할 수 있으며, 이는 정식 출시 때 개선될 예정입니다.' ,
95+ ] }
96+ link = "https://sparcs.page.link/otl-feedback"
97+ />
98+ </ section >
9999 ) ;
100100 }
101101}
0 commit comments