diff --git a/frontend/index.html b/frontend/index.html index d3a1492..d5e63b6 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -61,7 +61,7 @@ font-family: 'Arial', sans-serif; /* Custom font for better readability */ font-size: 14px; /* Adjust font size */ cursor: pointer; /* Pointer for clickable look */ - z-index: 9999; /* Ensures it stays on top */ + z-index: 15; /* Ensures it stays on top */ transition: transform 0.3s ease-in-out; /* Smooth animation on hover */ } diff --git a/frontend/src/Pages/Herosection.jsx b/frontend/src/Pages/Herosection.jsx index a8e41a1..8663a99 100644 --- a/frontend/src/Pages/Herosection.jsx +++ b/frontend/src/Pages/Herosection.jsx @@ -54,7 +54,7 @@ const Herosection = () => {
Welcome to StationSaarthi, your comprehensive navigation and assistance platform designed to revolutionize the Indian Railway Station experience. We combine advanced technology with user-centric design to ensure seamless travel for everyone. @@ -38,4 +53,4 @@ const About = () => { ); }; -export default About; +export default About; \ No newline at end of file diff --git a/frontend/src/components/navbar.jsx b/frontend/src/components/navbar.jsx index b4cb6d0..bc4c924 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, FaStar, FaCogs, FaInfoCircle, FaCreditCard } from 'react-icons/fa'; +import { FaBars, FaTimes, FaUser, FaMoneyCheckAlt, FaHandsHelping, FaBell, FaStar, FaCogs, FaInfoCircle, FaCreditCard } from 'react-icons/fa'; +import { IoSettings } from "react-icons/io5"; import { useNavigate } from 'react-router-dom'; // Import useNavigate for routing import Hamburger from '../Pages/hamburger'; @@ -49,7 +50,11 @@ const Navbar = () => { }; const handleAboutUsClick = () => { - navigate('/about-us'); + navigate('/about'); + setIsOpen(false); + }; + const handleOpenSetting = () => { + navigate('/Settings'); setIsOpen(false); }; @@ -61,9 +66,9 @@ const Navbar = () => { return ( <> {/* Navigation Toggle for All Screens (Mobile and Larger Screens) */} -
Yatree
@@ -88,31 +93,35 @@ const Navbar = () => { {/* Menu Items */} {/* Footer */} -