Skip to content

Commit

Permalink
update copy and designs of modal pages
Browse files Browse the repository at this point in the history
  • Loading branch information
KobeZ123 committed Nov 3, 2024
1 parent 30da862 commit c2cfdd6
Showing 1 changed file with 34 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
Box,
Button,
HStack,
Image,
Expand All @@ -7,6 +8,7 @@ import {
ModalHeader,
Stack,
Text,
chakra,
} from "@chakra-ui/react";
import { ModalBodyPagination } from "./ModalBodyPagination";
import InProgressIndicatorImage from "../../public/in-progress-indicator.png";
Expand Down Expand Up @@ -60,10 +62,10 @@ const InProgressIndicatorFeaturePage: React.FC = () => {
Want to know which major requirements are still in progress?
</Text>
<Text>
Look for the new
<span>
<InfoOutlineIcon />
</span>
Look for the new{""}
<chakra.span px="1">
<InProgressIcon />
</chakra.span>{" "}
icon to know which requirements are currently in-progress.
</Text>
</Stack>
Expand All @@ -84,9 +86,9 @@ const SearchNEUIntegrationFeaturePage: React.FC = () => {
</Text>
<Text>
Click on the new{" "}
<span>
<chakra.span px="1">
<InfoOutlineIcon />
</span>{" "}
</chakra.span>{" "}
button to read more about a class on SearchNEU.
</Text>
</Stack>
Expand Down Expand Up @@ -145,3 +147,29 @@ const NewFeatureText: React.FC<NewFeatureTextProps> = ({
</Stack>
);
};

const InProgressIcon: React.FC = () => {
return (
<Box
bg="orange"
borderColor="orange"
color="white"
borderWidth="1px"
width="18px"
height="18px"
display="inline-flex"
alignItems="center"
justifyContent="center"
transition="background 0.25s ease, color 0.25s ease, border 0.25s ease"
transitionDelay="0.1s"
borderRadius="2xl"
p="xs"
position="relative"
verticalAlign="middle"
>
<Text fontSize="s" boxSize="34px" color="white">
...
</Text>
</Box>
);
};

0 comments on commit c2cfdd6

Please sign in to comment.