Chrome extension works
This commit is contained in:
@@ -13,6 +13,7 @@ import RecruitmentBanner from './injected/RecruitmentBanner/RecruitmentBanner';
|
|||||||
import TableHead from './injected/TableHead';
|
import TableHead from './injected/TableHead';
|
||||||
import TableRow from './injected/TableRow/TableRow';
|
import TableRow from './injected/TableRow/TableRow';
|
||||||
import TableSubheading from './injected/TableSubheading/TableSubheading';
|
import TableSubheading from './injected/TableSubheading/TableSubheading';
|
||||||
|
import CourseCatalogInjectedPopup from './injected/CourseCatalogInjectedPopup/CourseCatalogInjectedPopup';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
support: SiteSupport.COURSE_CATALOG_DETAILS | SiteSupport.COURSE_CATALOG_LIST;
|
support: SiteSupport.COURSE_CATALOG_DETAILS | SiteSupport.COURSE_CATALOG_LIST;
|
||||||
@@ -79,7 +80,7 @@ export default function CourseCatalogMain({ support }: Props) {
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
{selectedCourse && (
|
{selectedCourse && (
|
||||||
<CoursePopup
|
<CourseCatalogInjectedPopup
|
||||||
course={selectedCourse}
|
course={selectedCourse}
|
||||||
activeSchedule={activeSchedule}
|
activeSchedule={activeSchedule}
|
||||||
onClose={handleClearSelectedCourse}
|
onClose={handleClearSelectedCourse}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export default function PopupMain() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ExtensionRoot>
|
<ExtensionRoot>
|
||||||
<div className="p-4 bg-white max-w-sm mx-auto rounded-lg shadow-md">
|
<div className="mx-auto max-w-sm rounded-lg bg-white p-4 shadow-md">
|
||||||
<div className="mb-2 flex items-center justify-between bg-white">
|
<div className="mb-2 flex items-center justify-between bg-white">
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<img src={logoImage} alt="Logo" style={{ width: '40px', height: '40px', marginRight: '8px' }} />
|
<img src={logoImage} alt="Logo" style={{ width: '40px', height: '40px', marginRight: '8px' }} />
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ const HeadingAndActions: React.FC<HeadingAndActionProps> = ({ course, onClose, a
|
|||||||
<Button color='ut-burntorange' variant='single' icon={Copy} onClick={handleCopy}>
|
<Button color='ut-burntorange' variant='single' icon={Copy} onClick={handleCopy}>
|
||||||
{uniqueId}
|
{uniqueId}
|
||||||
</Button>
|
</Button>
|
||||||
<button className='btn bg-transparent p-0' onClick={onClose}>
|
<button className='bg-transparent p-0 btn' onClick={onClose}>
|
||||||
<CloseIcon className='h-7 w-7' />
|
<CloseIcon className='h-7 w-7' />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user