Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hacktoberfest #57

Merged
merged 2 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 41 additions & 12 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"projectName": "StationGuide",
"projectOwner": "Dhairya Gothi",
"repoType": "github",
"repoHost": "https://station-guide.vercel.app/",
"repoHost": "https://github.com/",
"files": [
"README.md"
],
Expand All @@ -15,72 +15,101 @@
"name": "Dhairya Gothi",
"avatar_url": "https://avatars.githubusercontent.com/dhairyagothi",
"profile": "https://github.com/dhairyagothi",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "tarunkumar2005",
"name": "Tarun Kumar",
"avatar_url": "https://avatars.githubusercontent.com/tarunkumar2005",
"profile": "https://github.com/tarunkumar2005",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "ShivaniNikam1",
"name": "Shivani Nikam",
"avatar_url": "https://avatars.githubusercontent.com/ShivaniNikam1",
"profile": "https://github.com/ShivaniNikam1",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "1-SubhamSingh",
"name": "Subham Singh",
"avatar_url": "https://avatars.githubusercontent.com/1-SubhamSingh",
"profile": "https://github.com/1-SubhamSingh",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "Premkolte",
"name": "Prem Kolte",
"avatar_url": "https://avatars.githubusercontent.com/Premkolte",
"profile": "https://github.com/Premkolte",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "MihirSaiDudekula",
"name": "Mihir Sai Dudekula",
"avatar_url": "https://avatars.githubusercontent.com/MihirSaiDudekula",
"profile": "https://github.com/MihirSaiDudekula",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "RiddhiM170904",
"name": "Riddhi M",
"avatar_url": "https://avatars.githubusercontent.com/RiddhiM170904",
"profile": "https://github.com/RiddhiM170904",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "Mehtarishita",
"name": "Rishita Mehta",
"avatar_url": "https://avatars.githubusercontent.com/Mehtarishita",
"profile": "https://github.com/Mehtarishita",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "shreyad2806",
"name": "Shreya D",
"avatar_url": "https://avatars.githubusercontent.com/shreyad2806",
"profile": "https://github.com/shreyad2806",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "MrityunjaySingh09",
"name": "Mrityunjay Singh",
"avatar_url": "https://avatars.githubusercontent.com/MrityunjaySingh09",
"profile": "https://github.com/MrityunjaySingh09",
"contributions": ["code"]
"contributions": [
"code"
]
},
{
"login": "itsbhh",
"name": "itsbhh",
"avatar_url": "https://avatars.githubusercontent.com/itsbhh",
"profile": "https://github.com/itsbhh",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"linkToUsage": true
}
}
30 changes: 19 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-11-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors-)


[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-)


<!-- ALL-CONTRIBUTORS-BADGE:END -->

<a href="[https://github.com/Dhairyagoth](https://github.com/dhairyagothi)i"><img src="https://readme-typing-svg.demolab.com?font=Fira+Code&pause=1000&color=DEF72C&random=false&center=false &width=1000&lines=Station Saarthi %2C+Your+Platform+Guide" alt="Typing SVG" /></a>
Expand Down Expand Up @@ -209,21 +216,22 @@ Thanks goes to these wonderful people ( [emoji key](https://allcontributors.org
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dhairyagothi"><img src="https://avatars.githubusercontent.com/dhairyagothi?s=30" width="30px;" alt="Dhairya Gothi"/><br /><sub><b>Dhairya Gothi</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=dhairyagothi" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tarunkumar2005"><img src="https://avatars.githubusercontent.com/tarunkumar2005?s=30" width="30px;" alt="Tarun Kumar"/><br /><sub><b>Tarun Kumar</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=tarunkumar2005" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ShivaniNikam1"><img src="https://avatars.githubusercontent.com/ShivaniNikam1?s=30" width="30px;" alt="Shivani Nikam"/><br /><sub><b>Shivani Nikam</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=ShivaniNikam1" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/1-SubhamSingh"><img src="https://avatars.githubusercontent.com/1-SubhamSingh?s=30" width="30px;" alt="Subham Singh"/><br /><sub><b>Subham Singh</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=1-SubhamSingh" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Premkolte"><img src="https://avatars.githubusercontent.com/Premkolte?s=30" width="30px;" alt="Prem Kolte"/><br /><sub><b>Prem Kolte</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=Premkolte" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MihirSaiDudekula"><img src="https://avatars.githubusercontent.com/MihirSaiDudekula?s=30" width="30px;" alt="Mihir Sai Dudekula"/><br /><sub><b>Mihir Sai Dudekula</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=MihirSaiDudekula" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RiddhiM170904"><img src="https://avatars.githubusercontent.com/RiddhiM170904?s=30" width="30px;" alt="Riddhi M"/><br /><sub><b>Riddhi M</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=RiddhiM170904" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dhairyagothi"><img src="https://avatars.githubusercontent.com/dhairyagothi?s=30" width="30px;" alt="Dhairya Gothi"/><br /><sub><b>Dhairya Gothi</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=dhairyagothi" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tarunkumar2005"><img src="https://avatars.githubusercontent.com/tarunkumar2005?s=30" width="30px;" alt="Tarun Kumar"/><br /><sub><b>Tarun Kumar</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=tarunkumar2005" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ShivaniNikam1"><img src="https://avatars.githubusercontent.com/ShivaniNikam1?s=30" width="30px;" alt="Shivani Nikam"/><br /><sub><b>Shivani Nikam</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=ShivaniNikam1" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/1-SubhamSingh"><img src="https://avatars.githubusercontent.com/1-SubhamSingh?s=30" width="30px;" alt="Subham Singh"/><br /><sub><b>Subham Singh</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=1-SubhamSingh" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Premkolte"><img src="https://avatars.githubusercontent.com/Premkolte?s=30" width="30px;" alt="Prem Kolte"/><br /><sub><b>Prem Kolte</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=Premkolte" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MihirSaiDudekula"><img src="https://avatars.githubusercontent.com/MihirSaiDudekula?s=30" width="30px;" alt="Mihir Sai Dudekula"/><br /><sub><b>Mihir Sai Dudekula</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=MihirSaiDudekula" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RiddhiM170904"><img src="https://avatars.githubusercontent.com/RiddhiM170904?s=30" width="30px;" alt="Riddhi M"/><br /><sub><b>Riddhi M</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=RiddhiM170904" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Mehtarishita"><img src="https://avatars.githubusercontent.com/Mehtarishita?s=30" width="30px;" alt="Rishita Mehta"/><br /><sub><b>Rishita Mehta</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=Mehtarishita" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/shreyad2806"><img src="https://avatars.githubusercontent.com/shreyad2806?s=30" width="30px;" alt="Shreya D"/><br /><sub><b>Shreya D</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=shreyad2806" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MrityunjaySingh09"><img src="https://avatars.githubusercontent.com/MrityunjaySingh09?s=30" width="30px;" alt="Mrityunjay Singh"/><br /><sub><b>Mrityunjay Singh</b></sub></a><br /><a href="https://station-guide.vercel.app//Dhairya Gothi/StationGuide/commits?author=MrityunjaySingh09" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Mehtarishita"><img src="https://avatars.githubusercontent.com/Mehtarishita?s=30" width="30px;" alt="Rishita Mehta"/><br /><sub><b>Rishita Mehta</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=Mehtarishita" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/shreyad2806"><img src="https://avatars.githubusercontent.com/shreyad2806?s=30" width="30px;" alt="Shreya D"/><br /><sub><b>Shreya D</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=shreyad2806" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MrityunjaySingh09"><img src="https://avatars.githubusercontent.com/MrityunjaySingh09?s=30" width="30px;" alt="Mrityunjay Singh"/><br /><sub><b>Mrityunjay Singh</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=MrityunjaySingh09" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/itsbhh"><img src="https://avatars.githubusercontent.com/itsbhh?s=30" width="30px;" alt="itsbhh"/><br /><sub><b>itsbhh</b></sub></a><br /><a href="https://github.com//Dhairya Gothi/StationGuide/commits?author=itsbhh" title="Code">💻</a></td>
</tr>
</tbody>

</table>

<!-- markdownlint-restore -->
Expand Down
3 changes: 3 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# Lock files
package-lock.json
1 change: 1 addition & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import LoginPage from './Pages/LoginPage';
import Register from './Pages/Register';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import chatbotsvg from './assets/svg/chatbot.svg';

import { useNavigate, Outlet } from 'react-router-dom';
import './App.css'

function App() {
Expand All @@ -19,7 +19,7 @@ function App() {

{/* This route is just for testing protected routes it can be removed later when there is a route other than login or signup */}
<Route element={<ProtectedRoute />}>
<Route path="/logged-in" element={<div className='flex items-end p-10 justify-center w-screen h-screen'><h1 className='text-7xl text-red-500'>Logged in</h1></div>} />
<Route path="/logged-in" element={<div className='flex items-end justify-center w-screen h-screen p-10'><h1 className='text-red-500 text-7xl'>Logged in</h1></div>} />
</Route>

</Routes>
Expand All @@ -35,7 +35,7 @@ function App() {

export default App;

import { useNavigate, Outlet } from 'react-router-dom';


export function ProtectedRoute() {
const navigate = useNavigate();
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/Pages/Herosection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ const Herosection = () => {

<div className='relative z-50 flex items-center justify-betweenv'>
<div><HamburgerMenu /></div>
<div className='cursor-pointer ml-auto mr-8'>
<img src={searchsvg} alt="" srcset="" /></div>
</div>
<h1 className='pl-4 text-2xl font-extrabold text-center text-white '>Namaste !! Yatree </h1>
<h1 className='pl-4 text-2xl font-extrabold text-center text-white '>Namaste !! Yatree </h1>
<div className="relative flex items-center justify-center bg-center bg-cover herosection">

<div className='relative z-10 grid justify-items-center'>
Expand Down
Loading