-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'aa-staging/recruitment' into aa-master
merging from aa-staging/recruitment to aa-master
- Loading branch information
Showing
119 changed files
with
5,361 additions
and
1,045 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
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import Page from '@devlaunchers/dev-recruiters/src/pages/[slug]/apply'; | ||
import App from '@devlaunchers/dev-recruiters/src/pages/_app'; | ||
export { getStaticProps, getStaticPaths } from '@devlaunchers/dev-recruiters/src/pages/[slug]/apply'; | ||
export { | ||
getStaticProps, | ||
getStaticPaths, | ||
} from '@devlaunchers/dev-recruiters/src/pages/[slug]/apply'; | ||
|
||
///////////////////////////////////////// | ||
|
||
import { constructAppPage } from '../../../utils/routingTools.js'; | ||
export default constructAppPage(App, Page); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import Page from '@devlaunchers/dev-recruiters/src/pages/confirmation'; | ||
import App from '@devlaunchers/dev-recruiters/src/pages/_app'; | ||
//import App from '@devlaunchers/dev-recruiters/_app.js'; | ||
import App from '../../../dev-recruiters/src/pages/_app'; | ||
export { getStaticProps } from '@devlaunchers/dev-recruiters/src/pages/confirmation'; | ||
|
||
///////////////////////////////////////// | ||
|
||
import { constructAppPage } from '../../utils/routingTools.js'; | ||
export default constructAppPage(App, Page); | ||
|
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,8 @@ | ||
import Page from '@devlaunchers/dev-recruiters/src/pages/filter'; | ||
import App from '@devlaunchers/dev-recruiters/src/pages/_app'; | ||
export { getStaticProps } from '@devlaunchers/dev-recruiters/src/pages/filter'; | ||
|
||
///////////////////////////////////////// | ||
|
||
import { constructAppPage } from '../../utils/routingTools.js'; | ||
export default constructAppPage(App, Page); |
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import Page from '@devlaunchers/dev-recruiters/src/pages/index'; | ||
import App from '@devlaunchers/dev-recruiters/src/pages/_app'; | ||
//import App from '@devlaunchers/dev-recruiters/src/pages/_app'; | ||
import App from '../../../dev-recruiters/src/pages/_app'; | ||
export { getStaticProps } from '@devlaunchers/dev-recruiters/src/pages/index'; | ||
|
||
///////////////////////////////////////// | ||
|
||
import { constructAppPage } from '../../utils/routingTools.js'; | ||
export default constructAppPage(App, Page); | ||
|
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,8 @@ | ||
import Page from '@devlaunchers/dev-recruiters/src/pages/oldjoin'; | ||
import App from '@devlaunchers/dev-recruiters/src/pages/_app'; | ||
export { getStaticProps } from '@devlaunchers/dev-recruiters/src/pages/oldjoin'; | ||
|
||
///////////////////////////////////////// | ||
|
||
import { constructAppPage } from '../../utils/routingTools.js'; | ||
export default constructAppPage(App, Page); |
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import Page from '@devlaunchers/site-projects/src/pages/[slug]'; | ||
import App from '@devlaunchers/site-projects/src/pages/_app'; | ||
export { getStaticPaths, getStaticProps } from '@devlaunchers/site-projects/src/pages/[slug]'; | ||
export { | ||
getStaticPaths, | ||
getStaticProps, | ||
} from '@devlaunchers/site-projects/src/pages/[slug]'; | ||
|
||
///////////////////////////////////////// | ||
|
||
import { constructAppPage } from '../../utils/routingTools.js'; | ||
export default constructAppPage(App, Page); | ||
export default constructAppPage(App, Page); |
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
44 changes: 44 additions & 0 deletions
44
apps/dev-recruiters/src/components/modules/DetailedPage/Confirmation/ConfirmationModal.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,44 @@ | ||
import { ApplyButton } from '../../FilterPage/RolesFilterComponent/RolesFilterList/SearchRoles/RoleModal/StyledRoleModal'; | ||
import { GradientLine } from '../../FormPage/styledSignupForm'; | ||
import Modal from '../PositionPopupModal/Modal'; | ||
import { | ||
ConfirmationModalSection, | ||
confirmationModalStyles, | ||
} from './StyledConfirmationModal'; | ||
|
||
interface Props { | ||
showModal: Boolean; | ||
handleOpenModal: () => void; | ||
handleCloseModal: () => void; | ||
} | ||
const ConfirmationModal = ({ | ||
showModal, | ||
handleOpenModal, | ||
handleCloseModal, | ||
}: Props) => { | ||
return ( | ||
<Modal | ||
modalIsOpen={showModal} | ||
closeModal={handleCloseModal} | ||
customModalStyles={confirmationModalStyles} | ||
handleOpenModal={handleOpenModal} | ||
modalContent={ | ||
<ConfirmationModalSection> | ||
<h3>Thank you!</h3> | ||
<GradientLine height={'5px'} /> | ||
<p> | ||
Your application has been received and is now being reviewed. After | ||
the product owner reviews your application, they will reach out | ||
through the email address you have provided. | ||
</p> | ||
|
||
<ApplyButton color="DarkElectricBlue" onClick={handleCloseModal}> | ||
Return to search results | ||
</ApplyButton> | ||
</ConfirmationModalSection> | ||
} | ||
/> | ||
); | ||
}; | ||
|
||
export default ConfirmationModal; |
51 changes: 51 additions & 0 deletions
51
...v-recruiters/src/components/modules/DetailedPage/Confirmation/StyledConfirmationModal.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,51 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const confirmationModalStyles = { | ||
content: { | ||
position: 'absolute', | ||
width: '700px', | ||
height: '350px', | ||
top: '50%', | ||
left: '50%', | ||
right: 'auto', | ||
bottom: 'auto', | ||
marginRight: '-50%', | ||
transform: 'translate(-50%, -50%)', | ||
}, | ||
overlay: { zIndex: 1000, backgroundColor: 'rgba(0,0,0,.75)' }, | ||
}; | ||
|
||
export const ConfirmationModalSection = styled.div` | ||
height: 100%; | ||
font-family: ${(props) => props.theme?.fonts?.normal}; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: 22px; | ||
align-items: center; | ||
text-align: center; | ||
justifycontent: center; | ||
display: flex; | ||
flex-direction: column; | ||
margin: 0px 10px; | ||
& h3 { | ||
font-family: ${(props) => props.theme?.fonts?.normal}; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-size: 36px; | ||
line-height: 22px; | ||
padding: 30px 0px 20px 0px; | ||
} | ||
& p { | ||
font-family: ${(props) => props.theme?.fonts?.normal}; | ||
font-style: normal; | ||
font-size: 14px; | ||
font-weight: 500; | ||
line-height: 19px; | ||
line-height: 1.125rem; | ||
max-width: 28rem; | ||
overflow: hidden; | ||
margin: 40px 0px; | ||
} | ||
`; |
1 change: 1 addition & 0 deletions
1
apps/dev-recruiters/src/components/modules/DetailedPage/Confirmation/index.js
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 @@ | ||
export { default } from './ConfirmationModal'; |
34 changes: 34 additions & 0 deletions
34
apps/dev-recruiters/src/components/modules/DetailedPage/PositionCard/Modal.css
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,34 @@ | ||
/* styles.css */ | ||
.custom-modal-content { | ||
width: 50px; /* Set the desired width */ | ||
height: 100px; /* Set the desired height */ | ||
/* Add any other desired styling */ | ||
} | ||
/* Modal.css */ | ||
.modal-overlay { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.modal { | ||
background-color: white; | ||
padding: 20px; | ||
border-radius: 4px; | ||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.close-button { | ||
background: none; | ||
border: none; | ||
cursor: pointer; | ||
position: absolute; | ||
top: 10px; | ||
right: 10px; | ||
} |
Oops, something went wrong.