diff --git a/package-lock.json b/package-lock.json index 0711eda..df0e41d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "@fortawesome/react-fontawesome": "^0.2.2", "@testing-library/jest-dom": "^5.17.0", "@testing-library/user-event": "^13.5.0", + "axios": "^1.7.2", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "faker": "^6.6.6", @@ -6121,6 +6122,31 @@ "node": ">=4" } }, + "node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/axobject-query": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz", @@ -19087,6 +19113,12 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", diff --git a/package.json b/package.json index dacab03..8700f5c 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "@fortawesome/react-fontawesome": "^0.2.2", "@testing-library/jest-dom": "^5.17.0", "@testing-library/user-event": "^13.5.0", + "axios": "^1.7.2", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "faker": "^6.6.6", diff --git a/src/App.js b/src/App.js index 34022b5..6daae42 100644 --- a/src/App.js +++ b/src/App.js @@ -1,24 +1,24 @@ -import Home from "./Pages/Client/NewMember/Home"; import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; import Membershipform from "./Pages/Client/NewMember/Membershipform"; import Payment from "./Pages/Client/NewMember/Payment"; -import Updateform from "./Pages/Client/NewMember/Updateform"; +import Existing from "./Pages/Client/ExistingMember/Existing"; import Membershipform2 from "./Pages/Client/NewMember/Membershipform2"; import Submittedform from "./Pages/Client/NewMember/Submittedform"; +import Submittedpayment from "./Pages/Client/NewMember/Submittedpayment"; import Login from "./Pages/Client/ExistingMember/Login"; function App() { return (
- } /> } /> - } /> - } /> + } /> + } /> } /> } /> } /> + } />
diff --git a/src/Components/Navbar.jsx b/src/Components/Navbar.jsx deleted file mode 100644 index 3190c9e..0000000 --- a/src/Components/Navbar.jsx +++ /dev/null @@ -1,42 +0,0 @@ -import React, { useState } from "react"; -import logo from "../Assets/icci.jpg"; -import { Link } from "react-router-dom"; -import { faArrowRight } from "@fortawesome/free-solid-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -const Navbar = () => { - const [token, setToken] = useState(""); - - return ( -
-
- -
-
- -
-
- ); -}; - -export default Navbar; diff --git a/src/Pages/Client/ExistingMember/Existing.jsx b/src/Pages/Client/ExistingMember/Existing.jsx index e69de29..d0f8c55 100644 --- a/src/Pages/Client/ExistingMember/Existing.jsx +++ b/src/Pages/Client/ExistingMember/Existing.jsx @@ -0,0 +1,7 @@ +import React from "react"; + +const Existing = () => { + return
Existing
; +}; + +export default Existing; diff --git a/src/Pages/Client/ExistingMember/Login.jsx b/src/Pages/Client/ExistingMember/Login.jsx index ec6a29d..0ca0cbb 100644 --- a/src/Pages/Client/ExistingMember/Login.jsx +++ b/src/Pages/Client/ExistingMember/Login.jsx @@ -2,10 +2,10 @@ import React from "react"; import icci from "../../../Assets/icci.jpg"; const Login = () => { return ( -
+
- Chamber + Chamber

Log in to your account

@@ -16,9 +16,9 @@ const Login = () => {
{
+
+ +
+ +
+
+
+
+
+
+
+
+ ); +}; -export default Payment \ No newline at end of file +export default Payment; diff --git a/src/Pages/Client/NewMember/Submittedpayment.jsx b/src/Pages/Client/NewMember/Submittedpayment.jsx new file mode 100644 index 0000000..db37ebc --- /dev/null +++ b/src/Pages/Client/NewMember/Submittedpayment.jsx @@ -0,0 +1,14 @@ +import React from "react"; + +const SubmittedPayment = () => { + return ( +
+
+

Payment Submitted

+

Thank you for your payment!

+
+
+ ); +}; + +export default SubmittedPayment; diff --git a/src/Pages/Client/NewMember/Updateform.jsx b/src/Pages/Client/NewMember/Updateform.jsx deleted file mode 100644 index f70daa9..0000000 --- a/src/Pages/Client/NewMember/Updateform.jsx +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react' - -const Updateform = () => { - return ( -
Updateform
- ) -} - -export default Updateform \ No newline at end of file