diff --git a/src/components/MyActiveJobs/MyActiveJobTable.jsx b/src/components/MyActiveJobs/MyActiveJobTable.jsx index 6707ff7..743d3b1 100644 --- a/src/components/MyActiveJobs/MyActiveJobTable.jsx +++ b/src/components/MyActiveJobs/MyActiveJobTable.jsx @@ -4,6 +4,7 @@ import dataImage2 from "../../assets/images/data-table-user-2.png"; import dataImage3 from "../../assets/images/data-table-user-3.png"; import dataImage4 from "../../assets/images/data-table-user-4.png"; import SelectBox from "../Helpers/SelectBox"; +import ActiveJobsPopout from "../jobPopout/ActiveJobsPopout"; import PaginatedList from "../Pagination/PaginatedList"; import { handlePagingFunc } from "../Pagination/HandlePagination"; @@ -12,6 +13,8 @@ export default function MyActiveJobTable({MyJobList, className }) { const filterCategories = ["All Categories", "Explore", "Featured"]; const [selectedCategory, setCategory] = useState(filterCategories[0]); + let [jobPopout,setJobPopout] = useState({show:false, data:{}}) // STATE TO HOLD THE VALUE OF THE ALERT DETAILS AND DETERMINE WHEN TO SHOW + const [currentPage, setCurrentPage] = useState(0); const indexOfFirstItem = Number(currentPage); const indexOfLastItem = Number(indexOfFirstItem)+Number(process.env.REACT_APP_ITEM_PER_PAGE); @@ -79,6 +82,7 @@ export default function MyActiveJobTable({MyJobList, className }) { + + +
+ +
+ +
+ +
+ + + + ) +} + +export default ActiveJobsPopout \ No newline at end of file diff --git a/src/components/jobPopout/popoutcomponent/Detail.jsx b/src/components/jobPopout/popoutcomponent/Detail.jsx new file mode 100644 index 0000000..918d135 --- /dev/null +++ b/src/components/jobPopout/popoutcomponent/Detail.jsx @@ -0,0 +1,12 @@ +import React from 'react' + +function Detail({label, value, bg}) { + return ( + <> + +

{value}

+ + ) +} + +export default Detail \ No newline at end of file diff --git a/src/index.css b/src/index.css index b717d6d..f82b867 100644 --- a/src/index.css +++ b/src/index.css @@ -732,4 +732,18 @@ TODO: Responsive =========================== /* For IE10 */ .content-wrapper select::-ms-expand { display: none; -} \ No newline at end of file +} + +/* JOBS DETAILS ALERT */ +.alert-box{ + animation-name: scale; + animation-duration: .5s; + animation-timing-function: linear; +} + +@keyframes scale { + 0%{transform: scale(0)} + 50%{transform: scale(1.1)} + 100%{transform: scale(1)} +} +/* END OF JOBS DETAILS ALERT */ \ No newline at end of file