-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from tomvin/create-new-job
Add "Create new job" button in JobPostingsPage
- Loading branch information
Showing
4 changed files
with
48 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react'; | ||
import pageWrapper from '../../shared/components/PageWrapper/PageWrapper' | ||
import { EUserType } from '../../../models/UserType' | ||
|
||
const CreateNewJob = () => { | ||
return <div> | ||
<p>Create new job page</p> | ||
</div>; | ||
}; | ||
|
||
export default pageWrapper(CreateNewJob, { authorisedUserTypes: [EUserType.Company] }) |
21 changes: 21 additions & 0 deletions
21
src/modules/company/containers/JobPostingsPage/JobPostingsPage.scss
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,21 @@ | ||
.job-postings { | ||
text-align: center; | ||
|
||
&__new { | ||
padding: 12px 48px; | ||
display: inline-block; | ||
margin-bottom: var(--spacing-3); | ||
border-radius: 16px; | ||
color: var(--gray-800); | ||
border: 1px solid var(--gray-800); | ||
|
||
&:visited { | ||
color: var(--gray-800); | ||
text-decoration: none; | ||
} | ||
|
||
&:hover { | ||
background: var(--purple-300); | ||
} | ||
} | ||
} |
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