diff --git a/src/frontend/src/pages/AdminToolsPage/RecruitmentConfig/AdminToolsRecruitmentConfig.tsx b/src/frontend/src/pages/AdminToolsPage/RecruitmentConfig/AdminToolsRecruitmentConfig.tsx index 202baf67a8..f1c86e7c23 100644 --- a/src/frontend/src/pages/AdminToolsPage/RecruitmentConfig/AdminToolsRecruitmentConfig.tsx +++ b/src/frontend/src/pages/AdminToolsPage/RecruitmentConfig/AdminToolsRecruitmentConfig.tsx @@ -8,6 +8,7 @@ import { useCurrentOrganization, useSetOrganizationImages } from '../../../hooks import LoadingIndicator from '../../../components/LoadingIndicator'; import { useGetImageUrl } from '../../../hooks/onboarding.hooks'; import ErrorPage from '../../ErrorPage'; +import ApplicationLinkTable from './ApplicationLinkTable'; const AdminToolsRecruitmentConfig: React.FC = () => { const { @@ -71,98 +72,105 @@ const AdminToolsRecruitmentConfig: React.FC = () => { return ( - - Recruitment Config - - + + + FAQs + - + + + Milestones + - - - Recruitment Images - - - - - - Apply Interest Image + + + + + + Recruitment Images - {isUploadingApply ? ( - - - - ) : ( - <> - {!addedImage1 && applyInterestImageUrl && ( - + + + + Apply Interest Image + + {isUploadingApply ? ( + + + + ) : ( + <> + {!addedImage1 && applyInterestImageUrl && ( + + )} + { + if (e.target.files) { + setAddedImage1(e.target.files[0]); + } + }} + onSubmit={() => { + if (addedImage1) { + handleFileUpload([addedImage1], 'applyInterest'); + setAddedImage1(undefined); + } + }} + addedImage={addedImage1} + setAddedImage={setAddedImage1} + /> + )} - { - if (e.target.files) { - setAddedImage1(e.target.files[0]); - } - }} - onSubmit={() => { - if (addedImage1) { - handleFileUpload([addedImage1], 'applyInterest'); - setAddedImage1(undefined); - } - }} - addedImage={addedImage1} - setAddedImage={setAddedImage1} - /> - - )} - - - - - Explore As Guest Image - - {isUploadingExplore ? ( - - - ) : ( - <> - {!addedImage2 && exploreGuestImageUrl && ( - + + + + Explore As Guest Image + + {isUploadingExplore ? ( + + + + ) : ( + <> + {!addedImage2 && exploreGuestImageUrl && ( + + )} + { + if (e.target.files) { + setAddedImage2(e.target.files[0]); + } + }} + onSubmit={() => { + if (addedImage2) { + handleFileUpload([addedImage2], 'exploreAsGuest'); + setAddedImage2(undefined); + } + }} + addedImage={addedImage2} + setAddedImage={setAddedImage2} + /> + )} - { - if (e.target.files) { - setAddedImage2(e.target.files[0]); - } - }} - onSubmit={() => { - if (addedImage2) { - handleFileUpload([addedImage2], 'exploreAsGuest'); - setAddedImage2(undefined); - } - }} - addedImage={addedImage2} - setAddedImage={setAddedImage2} - /> - - )} - - + + + + ); };