From f27c9d99a4441f5d1831b7f0da209a3b34e3f5f1 Mon Sep 17 00:00:00 2001 From: Shariq Date: Sun, 3 Nov 2024 23:59:31 +0530 Subject: [PATCH] Remove the Dark Mode and Chatbot --- frontend/src/components/models/Fertilizer.jsx | 57 +++++-------------- 1 file changed, 14 insertions(+), 43 deletions(-) diff --git a/frontend/src/components/models/Fertilizer.jsx b/frontend/src/components/models/Fertilizer.jsx index 2c8047a3..01da0e16 100644 --- a/frontend/src/components/models/Fertilizer.jsx +++ b/frontend/src/components/models/Fertilizer.jsx @@ -5,7 +5,6 @@ import jsPDF from "jspdf"; export default function Component() { const [loading, setLoading] = useState(true) - const [darkMode, setDarkMode] = useState(false) const [showSpan, setShowSpan] = useState(false); const [formData, setFormData] = useState({ Temparature: "", @@ -101,7 +100,7 @@ export default function Component() { }; return ( -
+

Fertilizer Prediction

Growing Season: Spring - Summer

@@ -111,7 +110,7 @@ export default function Component() {
-
+

Soil Analysis

@@ -128,7 +127,7 @@ export default function Component() {
{['Nitrogen', 'Phosphorus', 'Potassium'].map((nutrient) => ( -
+

{nutrient}

@@ -142,11 +141,11 @@ export default function Component() { ))}
-
+

Crop Growth Stage

-
+
@@ -155,7 +154,7 @@ export default function Component() {

Germination

-
+
@@ -164,7 +163,7 @@ export default function Component() {

Seedling

-
+
@@ -198,7 +197,7 @@ export default function Component() {
-
+

Weather

@@ -222,7 +221,7 @@ export default function Component() {
-
+

Predict Fertilizer

@@ -273,7 +272,7 @@ export default function Component() {
+

Prediction Result

{isLoading ? (

Predicting...

@@ -449,12 +448,12 @@ export default function Component() {
-
+

Smart Suggestions

Based on current weather patterns and market prices, we recommend considering these alternative fertilizers...

-
+

Nutrient History

Interactive Nutrient History Graph

@@ -463,34 +462,6 @@ export default function Component() {
-
- -
- -
-
- setDarkMode(!darkMode)} - /> - -
- -
-