From fa5b1d96729b29c90dc93352c7d2b47f319d36fa Mon Sep 17 00:00:00 2001 From: Raja Abrar Khan Date: Tue, 8 Oct 2024 00:58:33 +0530 Subject: [PATCH 1/2] Made more buttons in the landing page and rn they all go to the Same place in the next Pr I am going to make the new routes that navigate to contributor etc pages/components --- frontend/src/Pages/Herosection.jsx | 16 +++++++++------- frontend/src/Pages/stations.jsx | 1 + 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/frontend/src/Pages/Herosection.jsx b/frontend/src/Pages/Herosection.jsx index 6d510e5..c842807 100644 --- a/frontend/src/Pages/Herosection.jsx +++ b/frontend/src/Pages/Herosection.jsx @@ -26,6 +26,7 @@ const Herosection = () => { const StationCLick = () => { navigate('/Stations'); // Navigates to the login page }; + return ( <> @@ -49,15 +50,16 @@ const Herosection = () => {
-

Navigation

-

Booking

+
+

-
-

3D Map

-

Schedule

-

Notification

+
+
+
+
+
-

Contributors

+ diff --git a/frontend/src/Pages/stations.jsx b/frontend/src/Pages/stations.jsx index f89e896..83cb148 100644 --- a/frontend/src/Pages/stations.jsx +++ b/frontend/src/Pages/stations.jsx @@ -66,6 +66,7 @@ const RailwayStations = () => { 'Madurai Junction', 'Rourkela Junction', 'Jodhpur Junction', + 'Shri Mata Vaishno Devi Katra Railway Station', // Add more stations as needed ]; From 6545ae22873d2060adba80bbbc3ca8dbf8025bef Mon Sep 17 00:00:00 2001 From: Dhairya Gothi <142989448+dhairyagothi@users.noreply.github.com> Date: Tue, 8 Oct 2024 21:07:46 +0530 Subject: [PATCH 2/2] Update Herosection.jsx --- frontend/src/Pages/Herosection.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/Pages/Herosection.jsx b/frontend/src/Pages/Herosection.jsx index c842807..a681926 100644 --- a/frontend/src/Pages/Herosection.jsx +++ b/frontend/src/Pages/Herosection.jsx @@ -57,13 +57,13 @@ const Herosection = () => {
-
+ - +

Contributors

); }; -export default Herosection; \ No newline at end of file +export default Herosection;