diff --git a/src/components/pages/SplitView.tsx b/src/components/pages/SplitView.tsx index ed64ad1b..626a90f1 100644 --- a/src/components/pages/SplitView.tsx +++ b/src/components/pages/SplitView.tsx @@ -20,9 +20,9 @@ import smsNotif from "../../media/smsNotif.svg"; import { addBanner } from "../../redux/actions/announcements"; import Banner from "../includes/Banner"; import FeedbackPrompt from "../includes/FeedbackPrompt"; -import Wrapped from "../includes/Wrapped"; -import WrappedCountdown from "../includes/WrappedCountdown"; -import { WRAPPED_START_DATE, WRAPPED_LAUNCH_DATE } from "../../constants"; +// import Wrapped from "../includes/Wrapped"; +// import WrappedCountdown from "../includes/WrappedCountdown"; +// import { WRAPPED_START_DATE, WRAPPED_LAUNCH_DATE } from "../../constants"; // Also update in the main LESS file const MOBILE_BREAKPOINT = 920; @@ -86,8 +86,8 @@ const SplitView = ({ const [removeQuestionId, setRemoveQuestionId] = useState(undefined); const [displayFeedbackPrompt, setDisplayFeedbackPrompt] = useState(false); - const [displayWrapped, setDisplayWrapped] = useState(false); - const [countdownZero, setCountdownZero] = useState(false); + // const [displayWrapped, setDisplayWrapped] = useState(false); + // const [countdownZero, setCountdownZero] = useState(false); const [removedQuestionId, setRemovedQuestionId] = useState(undefined); const [showCalendarModal, setShowCalendarModal] = useState(false); const [isDayExport, setIsDayExport] = useState(false); @@ -189,8 +189,8 @@ const SplitView = ({ } }, [addBanner, user]); - const start = new Date(WRAPPED_START_DATE); - const launch = new Date(WRAPPED_LAUNCH_DATE); + // const start = new Date(WRAPPED_START_DATE); + // const launch = new Date(WRAPPED_LAUNCH_DATE); return ( <> @@ -200,8 +200,8 @@ const SplitView = ({ context="student" courseId={match.params.courseId} course={course} - countdownZero={countdownZero} - setDisplayWrapped={setDisplayWrapped} + // countdownZero={countdownZero} + // setDisplayWrapped={setDisplayWrapped} /> {banners.map((banner, index) => ( ))} - {user && user.wrapped ? ( + {/* {user && user.wrapped ? ( - ) : null} + ) : null} */} {displayFeedbackPrompt ? ( ) : null} - {displayWrapped ? setDisplayWrapped(false)} /> : null} + {/* {displayWrapped ? setDisplayWrapped(false)} /> : null} */} ); }; diff --git a/src/constants.ts b/src/constants.ts index e5a74043..9f85a469 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,10 +1,10 @@ -export const CURRENT_SEMESTER = 'FA24'; +export const CURRENT_SEMESTER = 'SP25'; export const ALL_SEMESTERS = ['SP20', 'FA20', 'SP21', 'FA21', 'SP22', 'FA22', - 'SP23', 'FA23', 'SP24', 'FA24'] + 'SP23', 'FA23', 'SP24', 'FA24', 'SP25'] -export const START_DATE = '2024-08-19' -export const END_DATE = '2024-12-20' +export const START_DATE = '2025-01-15' +export const END_DATE = '2025-05-18' // These are the start date and launch date for QMI Wrap for the current semester -export const WRAPPED_START_DATE = "2024-11-12T00:00:00"; -export const WRAPPED_LAUNCH_DATE = "2024-11-22T00:00:00"; +export const WRAPPED_START_DATE = "2025-11-12T00:00:00"; +export const WRAPPED_LAUNCH_DATE = "2025-11-22T00:00:00";