line height text, refactored course schedule, added string representation functions to course meeting
This commit is contained in:
@@ -25,6 +25,7 @@ export default function Text(props: PropsWithChildren<TextProps>) {
|
||||
style.color ??= colors?.[props.color ?? 'charcoal'];
|
||||
style.fontSize ??= fonts?.[`${props.size ?? 'medium'}_size`];
|
||||
style.fontWeight ??= fonts?.[`${props.weight ?? 'regular'}_weight`];
|
||||
style.lineHeight ??= fonts?.[`${props.size ?? 'medium'}_line_height`];
|
||||
|
||||
if (props.span) {
|
||||
return (
|
||||
|
||||
@@ -16,6 +16,7 @@ interface Props {
|
||||
* The popup that appears when the user clicks on a course for more details.
|
||||
*/
|
||||
export default function CoursePopup({ course, onClose }: Props) {
|
||||
console.log(course);
|
||||
return (
|
||||
<Popup className={styles.popup} overlay>
|
||||
<Icon className={styles.close} size='large' name='close' onClick={onClose} />
|
||||
|
||||
Reference in New Issue
Block a user