Skip to content

Commit

Permalink
update pages to align with design
Browse files Browse the repository at this point in the history
  • Loading branch information
KobeZ123 committed Nov 3, 2024
1 parent 47e229e commit a43a443
Showing 1 changed file with 14 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export const Fall2024ReleaseModalContent: React.FC<ModalContentProps> = ({
onClose,
}) => {
const featurePages: React.ReactNode[] = [
<WhatsNewModalFeaturePage />,
<InProgressIndicatorFeaturePage />,

Check failure on line 24 in packages/frontend/components/WhatsNewModal/Fall2024ReleaseModalContent.tsx

View workflow job for this annotation

GitHub Actions / Run linting for all packages

Missing "key" prop for element in array
<SearchNEUIntegrationFeaturePage />,

Check failure on line 25 in packages/frontend/components/WhatsNewModal/Fall2024ReleaseModalContent.tsx

View workflow job for this annotation

GitHub Actions / Run linting for all packages

Missing "key" prop for element in array
];
Expand Down Expand Up @@ -51,27 +50,23 @@ export const Fall2024ReleaseModalContent: React.FC<ModalContentProps> = ({
);
};

const WhatsNewModalFeaturePage: React.FC = () => {
return (
<NewFeaturePage
title="What's New Modal"
descriptionSection={
<Text>Stay up to date with the latest changes on GraduateNU!</Text>
}
image="https://placehold.co/600x400"
/>
);
};

const InProgressIndicatorFeaturePage: React.FC = () => {
return (
<NewFeaturePage
title="In-progress Indicator"
descriptionSection={
<Text>
Have your degree audit move with you and see what requirement sections
are currently in progress!
</Text>
<Stack>
<Text>
Want to know which major requirements are still in progress?
</Text>
<Text>
Look for the new
<span>
<InfoOutlineIcon />
</span>
icon to know which requirements are currently in-progress.
</Text>
</Stack>
}
image={InProgressIndicatorImage.src}
/>
Expand All @@ -85,14 +80,14 @@ const SearchNEUIntegrationFeaturePage: React.FC = () => {
descriptionSection={
<Stack>
<Text>
Want to know more about a class before adding it to the plan?{" "}
Want to know more about a class before adding it to the plan?
</Text>
<Text>
Click on the new{" "}
<span>
<InfoOutlineIcon />
</span>{" "}
button to read more about a class on SearchNEU
button to read more about a class on SearchNEU.
</Text>
</Stack>
}
Expand Down

0 comments on commit a43a443

Please sign in to comment.