Skip to content

Commit

Permalink
Merge pull request #213 from MissionBit/update-career-prep
Browse files Browse the repository at this point in the history
added new dates / form assembly for SDR class
  • Loading branch information
coramonokandilos authored Dec 5, 2020
2 parents 51584b6 + 7614af0 commit 106c596
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions components/programs/ClassInstanceData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ export const FallDatesExtended: ClassDates = {
registrationDeadline: Date.parse("2020-08-30T20:00:00-07:00"),
};

export const FallSDRDates: BaseClassDates = {
registrationDeadline: Date.parse("2020-09-13T20:00:00-07:00"),
export const SDRDates: BaseClassDates = {
registrationDeadline: Date.parse("2021-01-17T20:00:00-07:00"),
interview: Date.parse("2020-09-082T13:00:00-07:00"),
};

Expand Down Expand Up @@ -644,7 +644,7 @@ function fallClass(
};
}

function fallSDRClass(
function SDRClass(
course: Course,
campus: Campus,
formAssemblyId: string
Expand All @@ -653,7 +653,7 @@ function fallSDRClass(
type: "class",
course,
campus,
classDates: FallSDRDates,
classDates: SDRDates,
meets: (
<>
Tuesday, Wednesday, Thursday{" "}
Expand All @@ -662,8 +662,8 @@ function fallSDRClass(
</Box>
</>
),
startDate: "September (Date TBD)",
endDate: "December (Date TBD)",
startDate: "February 8th",
endDate: "May (Date TBD)",
buttonText: "Apply",
signupUrl: `https://www.tfaforms.com/4843869?tfa_2013=${formAssemblyId}`,
};
Expand Down Expand Up @@ -697,7 +697,7 @@ export const FallClassInstances: ClassOrWorkshopInstance[] = [
];

export const FallSDRClassInstances: ClassOrWorkshopInstance[] = [
fallSDRClass(Courses.sdr_class, Campuses.online, "tfa_2242"),
SDRClass(Courses.sdr_class, Campuses.online, "tfa_1"),
];

function workshop({
Expand Down
4 changes: 2 additions & 2 deletions components/programs/Enroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { makeStyles } from "@material-ui/core/styles";
import Container from "@material-ui/core/Container";
import {
FallDates,
FallSDRDates,
SDRDates,
FallDatesExtended,
SectionIds,
SectionId,
Expand Down Expand Up @@ -99,7 +99,7 @@ const SectionCopy: React.FC<{ id: SectionId }> = ({ id }) => {
<span className={classes.deadlineEmphasis}>
Application deadline:
</span>{" "}
{LongDateTimeFormat.format(FallSDRDates.registrationDeadline)}
{LongDateTimeFormat.format(SDRDates.registrationDeadline)}
<br />
</Typography>
);
Expand Down

0 comments on commit 106c596

Please sign in to comment.