-
+
Home
-
+
Crop
-
+
Disease
-
+
Fertilizer
-
+
Soil
-
+
Price
-
+
Forecast
-
+
Rotation
-
+
Irrigation
From 566d9ff0d2871a44ccc0f19edbf24f9f6bcd867d Mon Sep 17 00:00:00 2001
From: manikumarreddyu <133508962+manikumarreddyu@users.noreply.github.com>
Date: Wed, 9 Oct 2024 12:18:29 +0530
Subject: [PATCH 2/2] hover effect changed
---
frontend/src/components/Navbar.jsx | 106 ++++++++++++++++++++---------
1 file changed, 74 insertions(+), 32 deletions(-)
diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx
index 25ce4731..ca1f9ef2 100644
--- a/frontend/src/components/Navbar.jsx
+++ b/frontend/src/components/Navbar.jsx
@@ -1,14 +1,10 @@
import { useState } from 'react';
-import { Link } from 'react-router-dom';
-// import { FaSun, FaMoon } from 'react-icons/fa'; // Import icons from react-icons
+import { NavLink } from 'react-router-dom';
import icon from '../assets/favicon2.png';
import GoogleTranslate from './GoogleTranslate';
-// import useTheme from '../hooks/useTheme'; // Import useTheme hook
-
const Navbar = () => {
const [isMenuOpen, setIsMenuOpen] = useState(false);
- // const { theme, toggleTheme } = useTheme(); // Use useTheme hook
const toggleMenu = () => {
setIsMenuOpen(!isMenuOpen);
@@ -17,10 +13,9 @@ const Navbar = () => {
const closeMenu = () => {
setIsMenuOpen(false);
};
- //via-[#3ff132] -->from-[#11cb46] via-[#3ff132] to-[#04ba10]
return (
-