From 7e330f54cbd7193d32a860ef27cd04d8c1106f79 Mon Sep 17 00:00:00 2001 From: omkieit Date: Tue, 10 Sep 2024 18:01:46 +0530 Subject: [PATCH] done --- ef-ui/dist/index.html | 16 ++++++-- ef-ui/index.html | 16 ++++++-- ef-ui/package-lock.json | 37 ++++++++++++++++-- ef-ui/package.json | 1 + ef-ui/src/components/Header.jsx | 56 +++++++++++++++++++++++++++ ef-ui/src/main.jsx | 1 + ef-ui/src/redux/features/authSlice.js | 1 + ef-ui/vite.config.js | 4 +- 8 files changed, 121 insertions(+), 11 deletions(-) create mode 100644 ef-ui/src/components/Header.jsx diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index 586ff06..2c36f56 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -13,20 +13,30 @@ + - + - + + + + + + + + + + @@ -43,4 +53,4 @@ - + \ No newline at end of file diff --git a/ef-ui/index.html b/ef-ui/index.html index e5b1b90..df19d77 100644 --- a/ef-ui/index.html +++ b/ef-ui/index.html @@ -13,20 +13,30 @@ + - + - + + + + + + + + + + @@ -42,4 +52,4 @@ - + \ No newline at end of file diff --git a/ef-ui/package-lock.json b/ef-ui/package-lock.json index ee98c80..d84a9df 100644 --- a/ef-ui/package-lock.json +++ b/ef-ui/package-lock.json @@ -11,6 +11,7 @@ "@fortawesome/react-fontawesome": "^0.2.2", "@reduxjs/toolkit": "^2.2.7", "axios": "^1.7.7", + "bootstrap": "^5.3.3", "dotenv": "^16.4.5", "ef-ui": "file:", "jwt-decode": "^4.0.0", @@ -647,10 +648,11 @@ } }, "node_modules/@popperjs/core": { - "version": "2.11.5", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", - "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==", + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", "license": "MIT", + "peer": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" @@ -1006,6 +1008,25 @@ "dev": true, "license": "MIT" }, + "node_modules/bootstrap": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.3.tgz", + "integrity": "sha512-8HLCdWgyoMguSO9o+aH+iuZ+aht+mzW0u3HIMzVu7Srrpv7EBBxTnrFlSCskwdY1+EOFQSm7uMJhNQHkdPcmjg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT", + "peerDependencies": { + "@popperjs/core": "^2.11.8" + } + }, "node_modules/brace-expansion": { "version": "1.1.11", "dev": true, @@ -2576,6 +2597,16 @@ "react-dom": "^18.1.0" } }, + "node_modules/mdb-react-ui-kit/node_modules/@popperjs/core": { + "version": "2.11.5", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", + "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/mdb-react-ui-kit/node_modules/clsx": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz", diff --git a/ef-ui/package.json b/ef-ui/package.json index 0e6aca2..31c3078 100644 --- a/ef-ui/package.json +++ b/ef-ui/package.json @@ -13,6 +13,7 @@ "@fortawesome/react-fontawesome": "^0.2.2", "@reduxjs/toolkit": "^2.2.7", "axios": "^1.7.7", + "bootstrap": "^5.3.3", "dotenv": "^16.4.5", "ef-ui": "file:", "jwt-decode": "^4.0.0", diff --git a/ef-ui/src/components/Header.jsx b/ef-ui/src/components/Header.jsx new file mode 100644 index 0000000..fb27d27 --- /dev/null +++ b/ef-ui/src/components/Header.jsx @@ -0,0 +1,56 @@ + +import { NavLink } from "react-router-dom"; + +const Header = () => { + return ( + <> + +
+