From 8cbc16be10c9e080857888c32d1e28ec5180298c Mon Sep 17 00:00:00 2001 From: IZEKOR PAUL Date: Wed, 7 Dec 2022 17:15:31 +0100 Subject: [PATCH] fixed issues and added new features to this page --- Apply-For-Me-UI/package.json | 5 +---- Apply-For-Me-UI/src/components/spinner/Spinner.jsx | 2 +- .../src/pages/applications/Applications.module.css | 2 ++ .../components/ApplicationsListHeader.jsx | 8 ++++++++ .../src/pages/applications/components/Createjob.js | 14 ++++++++++++++ .../src/pages/applications/components/Table.jsx | 10 +--------- Apply-For-Me-UI/src/styles/Createjob.css | 10 ++++++++++ 7 files changed, 37 insertions(+), 14 deletions(-) create mode 100644 Apply-For-Me-UI/src/pages/applications/components/Createjob.js create mode 100644 Apply-For-Me-UI/src/styles/Createjob.css diff --git a/Apply-For-Me-UI/package.json b/Apply-For-Me-UI/package.json index a8c88daa..08d1a1b3 100644 --- a/Apply-For-Me-UI/package.json +++ b/Apply-For-Me-UI/package.json @@ -13,20 +13,17 @@ "react": "^18.2.0", "react-cookie-consent": "^8.0.1", "react-dom": "^18.2.0", - "react-hook-form": "^7.40.0", "react-icons": "^4.6.0", "react-redux": "^8.0.5", "react-router-dom": "^6.4.3", "react-scripts": "5.0.1", - "react-spinners": "^0.13.7", "react-toastify": "^9.1.1", "spinners-react": "^1.0.7", "web-vitals": "^2.1.4", "yup": "^0.32.11" }, "scripts": { - "start": "PORT=7000 react-scripts start", - "dev": "react-scripts start", + "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" diff --git a/Apply-For-Me-UI/src/components/spinner/Spinner.jsx b/Apply-For-Me-UI/src/components/spinner/Spinner.jsx index d621f2a3..8d58a544 100644 --- a/Apply-For-Me-UI/src/components/spinner/Spinner.jsx +++ b/Apply-For-Me-UI/src/components/spinner/Spinner.jsx @@ -1,7 +1,7 @@ /* eslint-disable no-unused-vars */ import React from "react"; import { useState } from "react"; -import PuffLoader from "react-spinners/PuffLoader"; +// import PuffLoader from "react-spinners/PuffLoader"; import classes from "./Spinner.module.css"; const Spinner = () => { let [color] = useState("#2E3192"); diff --git a/Apply-For-Me-UI/src/pages/applications/Applications.module.css b/Apply-For-Me-UI/src/pages/applications/Applications.module.css index e75ef451..74f0a279 100644 --- a/Apply-For-Me-UI/src/pages/applications/Applications.module.css +++ b/Apply-For-Me-UI/src/pages/applications/Applications.module.css @@ -51,12 +51,14 @@ td { } th { + width: 250px; font-weight: 500; font-size: 20px; line-height: 150%; } td { + width: 250px; font-weight: 400; font-size: 16px; line-height: 150%; diff --git a/Apply-For-Me-UI/src/pages/applications/components/ApplicationsListHeader.jsx b/Apply-For-Me-UI/src/pages/applications/components/ApplicationsListHeader.jsx index 575f37d8..28464aae 100644 --- a/Apply-For-Me-UI/src/pages/applications/components/ApplicationsListHeader.jsx +++ b/Apply-For-Me-UI/src/pages/applications/components/ApplicationsListHeader.jsx @@ -1,3 +1,4 @@ +import { HiOutlineChevronLeft, HiOutlineChevronRight } from "react-icons/hi2"; import styles from "../Applications.module.css"; import Dropdown from "./Dropdown"; import Search from "./search/Search"; @@ -9,6 +10,13 @@ const ApplicationsListHeader = () => {
+
+ {/* 1-10/60 */} + + + + +
); }; diff --git a/Apply-For-Me-UI/src/pages/applications/components/Createjob.js b/Apply-For-Me-UI/src/pages/applications/components/Createjob.js new file mode 100644 index 00000000..1adad333 --- /dev/null +++ b/Apply-For-Me-UI/src/pages/applications/components/Createjob.js @@ -0,0 +1,14 @@ +import React from 'react' +impot + +function Createjob() { + return ( +
+

Nothing to see here

+ +

to get started

+
+ ) +} + +export default Createjob diff --git a/Apply-For-Me-UI/src/pages/applications/components/Table.jsx b/Apply-For-Me-UI/src/pages/applications/components/Table.jsx index 5b06596d..ad16a767 100644 --- a/Apply-For-Me-UI/src/pages/applications/components/Table.jsx +++ b/Apply-For-Me-UI/src/pages/applications/components/Table.jsx @@ -1,5 +1,5 @@ import styles from "../Applications.module.css"; -import { HiOutlineChevronLeft, HiOutlineChevronRight } from "react-icons/hi2"; +// import { HiOutlineChevronLeft, HiOutlineChevronRight } from "react-icons/hi2"; import { useNavigate } from "react-router-dom"; import ApplicationsListHeader from "./ApplicationsListHeader"; import { applications } from "../applicationsMock"; @@ -70,14 +70,6 @@ const Table = () => { - -
- 1-10/60 - - - - -
); }; diff --git a/Apply-For-Me-UI/src/styles/Createjob.css b/Apply-For-Me-UI/src/styles/Createjob.css new file mode 100644 index 00000000..334ad53f --- /dev/null +++ b/Apply-For-Me-UI/src/styles/Createjob.css @@ -0,0 +1,10 @@ +p { + font-family: 'Outfit'; + font-style: normal; + font-weight: 400; + font-size: 24px; + line-height: 36px; + display: flex; + align-items: center; + color: #171B1D; +} \ No newline at end of file