From aa1421f5fe3271d89863356127e0b723a749a65d Mon Sep 17 00:00:00 2001
From: priyachau12 <125198162+priyachau12@users.noreply.github.com>
Date: Sun, 27 Oct 2024 23:03:59 +0530
Subject: [PATCH] I have added newsletter page in tool tab
---
package-lock.json | 10 +++
package.json | 1 +
src/App.jsx | 2 +
src/components/Navbar.jsx | 163 +++++++++++++++++++++++++++++++-------
src/pages/Newsletter.css | 104 ++++++++++++++++++++++++
src/pages/Newsletter.jsx | 39 +++++++++
6 files changed, 290 insertions(+), 29 deletions(-)
create mode 100644 src/pages/Newsletter.css
create mode 100644 src/pages/Newsletter.jsx
diff --git a/package-lock.json b/package-lock.json
index f8ee67a..fcc2e77 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -26,6 +26,7 @@
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.3.1",
+ "react-icons": "^5.3.0",
"react-router-dom": "^6.27.0",
"twind": "^0.16.19"
},
@@ -5599,6 +5600,15 @@
"react": "^18.3.1"
}
},
+ "node_modules/react-icons": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.3.0.tgz",
+ "integrity": "sha512-DnUk8aFbTyQPSkCfF8dbX6kQjXA9DktMeJqfjrg6cK9vwQVMxmcA3BfP4QoiztVmEHtwlTgLFsPuH2NskKT6eg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "*"
+ }
+ },
"node_modules/react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
diff --git a/package.json b/package.json
index 576714d..b0c5b29 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,7 @@
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.3.1",
+ "react-icons": "^5.3.0",
"react-router-dom": "^6.27.0",
"twind": "^0.16.19"
},
diff --git a/src/App.jsx b/src/App.jsx
index c34129b..44d106e 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -16,6 +16,7 @@ import LandingPage from "./pages/LandingPage"; // Ensure this path is correct
import Signup from "./pages/SignUp";
import Login from "./pages/Login";
+import Newsletter from "./pages/Newsletter";
function App() {
return (
@@ -31,6 +32,7 @@ function App() {