From f0901c462f1a9a591364c84e23630d7cc968c1db Mon Sep 17 00:00:00 2001 From: Mehtarishita Date: Fri, 18 Oct 2024 15:20:28 +0530 Subject: [PATCH] fixed search icon --- frontend/index.html | 3 ++- frontend/src/Pages/Herosection.jsx | 1 + frontend/src/Pages/hamburger.jsx | 21 +-------------------- frontend/src/components/navbar.jsx | 1 + 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 7bc3bbd..d3a1492 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -51,7 +51,8 @@ #google_translate_element { position: absolute; /* top: 20px; Space from the top */ - right: 20px; /* Space from the right */ + left: 20px; /* Space from the right */ + top: 60px; background-color: #3b82f6; padding: 10px 15px; /* Padding for better spacing inside the button */ border-radius: 8px; /* Rounded corners */ diff --git a/frontend/src/Pages/Herosection.jsx b/frontend/src/Pages/Herosection.jsx index c373614..a8e41a1 100644 --- a/frontend/src/Pages/Herosection.jsx +++ b/frontend/src/Pages/Herosection.jsx @@ -52,6 +52,7 @@ const Herosection = () => {
+

Namaste !! Yatree

diff --git a/frontend/src/Pages/hamburger.jsx b/frontend/src/Pages/hamburger.jsx index 9a67896..840834a 100644 --- a/frontend/src/Pages/hamburger.jsx +++ b/frontend/src/Pages/hamburger.jsx @@ -215,26 +215,7 @@ const Hamburger = () => { return (
- - - - - - - - - {open && } - - - - ← - - Home - Settings - Help - About - Contact - + diff --git a/frontend/src/components/navbar.jsx b/frontend/src/components/navbar.jsx index 8905c39..9403835 100644 --- a/frontend/src/components/navbar.jsx +++ b/frontend/src/components/navbar.jsx @@ -1,5 +1,6 @@ import React, { useState } from 'react'; import { FaBars, FaTimes, FaUser, FaMoneyCheckAlt, FaHandsHelping, FaBell, FaCogs, FaInfoCircle } from 'react-icons/fa'; +import Hamburger from '../Pages/hamburger'; const Navbar = () => { const [isOpen, setIsOpen] = useState(false);