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 = () => {
-

Namaste !! Yatree

+

Namaste !! Yatree

@@ -70,15 +70,11 @@ const Herosection = () => {
-
+
{ w-[64px] h-[64px] p-2 " /> -

Contributors

+

Contributors

diff --git a/frontend/src/Pages/Payment.jsx b/frontend/src/Pages/Payment.jsx index 22359e5..8919b5e 100644 --- a/frontend/src/Pages/Payment.jsx +++ b/frontend/src/Pages/Payment.jsx @@ -1,13 +1,23 @@ import React from 'react'; - +import { useNavigate } from 'react-router-dom'; +import backicon from '../assets/svg/backicon.svg'; const Payment = () => { + const navigate = useNavigate(); + + +const HomeClick = () => { + navigate('/'); // Navigates to the home page + }; return ( -
+ <> + +

Payment Page

- - + ); }; -export default Payment; +export default Payment; \ No newline at end of file diff --git a/frontend/src/components/about.jsx b/frontend/src/components/about.jsx index 2dd79d0..b51602e 100644 --- a/frontend/src/components/about.jsx +++ b/frontend/src/components/about.jsx @@ -1,9 +1,24 @@ import React from 'react'; import './about.css'; +import { useNavigate } from 'react-router-dom'; +import backicon from '../assets/svg/backicon.svg'; + + + const About = () => { + const navigate = useNavigate(); + + +const HomeClick = () => { + navigate('/'); // Navigates to the home page + }; + return (
+

ABOUT US

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) */} -

+
@@ -73,12 +78,12 @@ const Navbar = () => { {/* Close Button inside Sidebar */}
{/* Sidebar Menu Content */} -
+
{/* Profile Section */}

Yatree

@@ -88,31 +93,35 @@ const Navbar = () => { {/* Menu Items */} {/* Footer */} -
+
App version 1.0.0.0
@@ -120,9 +129,9 @@ const Navbar = () => { {/* Rating Modal */} {isModalOpen && ( -
-
-

Rate Us

+
+
+

Rate Us

{[1, 2, 3, 4, 5].map((value) => ( { ))}