-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added nupath side bar to course modal, adjusted styling of add button…
…s on queried courses, adjusted component for search bar to match new mockups
- Loading branch information
Showing
4 changed files
with
220 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
packages/frontend-v2/components/AddCourseModal/NUPathCheckBox.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Checkbox, HStack, Text } from "@chakra-ui/react"; | ||
|
||
interface NUPathCheckProps { | ||
abbreviation: string; | ||
label: string; | ||
} | ||
|
||
export const NUPathCheckBox: React.FC<NUPathCheckProps> = ({ | ||
abbreviation, | ||
label, | ||
}) => { | ||
return ( | ||
<Checkbox size="lg" colorScheme="blue"> | ||
<HStack> | ||
<Text fontWeight="bold" color="blue.500" fontSize="sm" margin="0"> | ||
{abbreviation} | ||
</Text> | ||
<Text fontSize="xs">{label}</Text> | ||
</HStack> | ||
</Checkbox> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters