-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9192223
commit 21e2c84
Showing
114 changed files
with
2,732 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<h1 align='center'><b>💥 TSPOT Travel App 💥</b></h1> | ||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
<h3 align='center'>Tech Stack Used 🎮</h3> | ||
<!-- enlist all the technologies used to create this project from them (Remove comment using 'ctrl+z' or 'command+z') --> | ||
|
||
<div align='center'> | ||
|
||
![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white) | ||
![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white) | ||
![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) | ||
![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB) | ||
</div> | ||
|
||
|
||
![Line](https://github.com/Avdhesh-Varshney/WebMasterLog/assets/114330097/4b78510f-a941-45f8-a9d5-80ed0705e847) | ||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
## :zap: Description 📃 | ||
|
||
<div> | ||
<!-- <p>Add Description of the project</p> --> | ||
<p>This is a website made using reactjs to showcase the different places of the world to the tourist to go there for a tour. | ||
</p> | ||
</div></p> | ||
</div> | ||
|
||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
## :zap: How to run it? 🕹️ | ||
|
||
<!-- Add steps how to run this project --> | ||
Steps to run this website in your local machine is as follows : | ||
1. Fork this repository | ||
2. Save the code on your local machine you can also clone the repository | ||
3. Open terminal | ||
4. Run following commands in the terminal : | ||
5. npm install | ||
6. npm run dev | ||
7. Make sure you have installed node js before entering these code in the terminal | ||
|
||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
## :zap: Screenshots 📸 | ||
<!-- add the screenshot of the project (Mandatory) --> | ||
|
||
<img src='./screenshot.webp'> | ||
|
||
|
||
![Line](https://github.com/Avdhesh-Varshney/WebMasterLog/assets/114330097/4b78510f-a941-45f8-a9d5-80ed0705e847) | ||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
<h4 align='center'>Developed By <b><i>Maheshwari Love</i></b> 👦</h4> | ||
<p align='center'> | ||
<a href='https://www.linkedin.com/in/maheshwari-love/'> | ||
<img src='https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white' /> | ||
</a> | ||
<a href='https://github.com/Maheshwari-Love/'> | ||
<img src='https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white' /> | ||
</a> | ||
</p> | ||
|
||
<h4 align='center'>Happy Coding 🧑💻</h4> | ||
|
||
<h3 align="center">Show some ❤️ by 🌟 this repository!</h3> |
2 changes: 2 additions & 0 deletions
2
React-JS-Projects/Intermediate/Tspot-Travel-App/final-readme.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
A react based travel website where everything is a component starting from the Navbar and ending with footer. Props are also passed down from one component to another. BrowserRouter, Link, Switch, Route are used to navigate between components or should I say pages. I've also created the sub-pages and added some additional features like photo gallery with filter, etc. I've also used useState hook for state management and useEffect to re-render while user-interaction :) | ||
https://tspot-travel-app.netlify.app/ |
48 changes: 48 additions & 0 deletions
48
React-JS-Projects/Intermediate/Tspot-Travel-App/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "react-travel-website", | ||
"version": "0.1.0", | ||
"private": true, | ||
"dependencies": { | ||
"@material-ui/core": "^4.12.1", | ||
"@material-ui/icons": "^4.11.2", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/react": "^11.2.7", | ||
"@testing-library/user-event": "^12.8.3", | ||
"bootstrap": "^5.0.2", | ||
"node-sass": "^6.0.1", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-inner-image-zoom": "^2.0.2", | ||
"react-router": "^5.2.0", | ||
"react-router-dom": "^5.2.0", | ||
"react-scripts": "4.0.3", | ||
"reactstrap": "^8.9.0", | ||
"simple-react-lightbox": "^3.6.6", | ||
"styled-components": "^5.3.0", | ||
"web-vitals": "^1.1.2" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"react-app", | ||
"react-app/jest" | ||
] | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
} |
Binary file not shown.
Binary file added
BIN
+58.2 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img01.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.3 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img02.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.2 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img03.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+90.4 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img04.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+82.7 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img05.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+89.6 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img06.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.4 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img07.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+92.3 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img08.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img09.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+51.8 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img10.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.2 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img11.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+89.2 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img12.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+85.5 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img13.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.2 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img14.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+60.5 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img15.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+84.8 KB
...-JS-Projects/Intermediate/Tspot-Travel-App/public/images/destination-img16.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.03 MB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.05 MB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.21 MB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.97 MB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.08 MB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.23 MB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+564 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+434 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+466 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+612 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/img-home.jpg
Oops, something went wrong.
Binary file added
BIN
+61.3 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s1-img1.jpg
Oops, something went wrong.
Binary file added
BIN
+46.7 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s1-img2.jpg
Oops, something went wrong.
Binary file added
BIN
+55.8 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s1-img3.jpg
Oops, something went wrong.
Binary file added
BIN
+100 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s2-img1.jpg
Oops, something went wrong.
Binary file added
BIN
+156 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s2-img2.jpg
Oops, something went wrong.
Binary file added
BIN
+95 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s2-img3.jpg
Oops, something went wrong.
Binary file added
BIN
+120 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s3-img1.jpg
Oops, something went wrong.
Binary file added
BIN
+107 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s3-img2.jpg
Oops, something went wrong.
Binary file added
BIN
+86.8 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s3-img3.jpg
Oops, something went wrong.
Binary file added
BIN
+59.7 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s4-img1.jpg
Oops, something went wrong.
Binary file added
BIN
+62.3 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s4-img2.jpg
Oops, something went wrong.
Binary file added
BIN
+59.5 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s4-img3.jpg
Oops, something went wrong.
Binary file added
BIN
+57.6 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s5-img1.jpg
Oops, something went wrong.
Binary file added
BIN
+52.6 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s5-img2.jpg
Oops, something went wrong.
Binary file added
BIN
+47.1 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s5-img3.jpg
Oops, something went wrong.
Binary file added
BIN
+73.5 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s6-img1.jpg
Oops, something went wrong.
Binary file added
BIN
+60.2 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s6-img2.jpg
Oops, something went wrong.
Binary file added
BIN
+85.5 KB
React-JS-Projects/Intermediate/Tspot-Travel-App/public/images/s6-img3.jpg
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
React-JS-Projects/Intermediate/Tspot-Travel-App/public/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta | ||
name="description" | ||
content="Web site created using create-react-app" | ||
/> | ||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> | ||
<!-- | ||
manifest.json provides metadata used when your web app is installed on a | ||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ | ||
--> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> | ||
<!-- | ||
Notice the use of %PUBLIC_URL% in the tags above. | ||
It will be replaced with the URL of the `public` folder during the build. | ||
Only files inside the `public` folder can be referenced from the HTML. | ||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will | ||
work correctly both with client-side routing and a non-root public URL. | ||
Learn how to configure a non-root public URL by running `npm run build`. | ||
--> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> | ||
<title>TSPOT app</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
<!-- | ||
This HTML file is a template. | ||
If you open it directly in the browser, you will see an empty page. | ||
You can add webfonts, meta tags, or analytics to this file. | ||
The build step will place the bundled scripts into the <body> tag. | ||
To begin the development, run `npm start` or `yarn start`. | ||
To create a production bundle, use `npm run build` or `yarn build`. | ||
--> | ||
</body> | ||
</html> |
Oops, something went wrong.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
React-JS-Projects/Intermediate/Tspot-Travel-App/public/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"short_name": "React App", | ||
"name": "Create React App Sample", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
}, | ||
{ | ||
"src": "logo192.png", | ||
"type": "image/png", | ||
"sizes": "192x192" | ||
}, | ||
{ | ||
"src": "logo512.png", | ||
"type": "image/png", | ||
"sizes": "512x512" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
3 changes: 3 additions & 0 deletions
3
React-JS-Projects/Intermediate/Tspot-Travel-App/public/robots.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://www.robotstxt.org/robotstxt.html | ||
User-agent: * | ||
Disallow: |
Binary file not shown.
38 changes: 38 additions & 0 deletions
38
React-JS-Projects/Intermediate/Tspot-Travel-App/src/App.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.App { | ||
text-align: center; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
React-JS-Projects/Intermediate/Tspot-Travel-App/src/App.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import {BrowserRouter as Router, Switch, Route, Link} from 'react-router-dom'; | ||
|
||
import './App.scss'; | ||
import Navbar from './components/Navbar' | ||
import Footer from './components/Footer'; | ||
import Home from './components/pages/Home'; | ||
import Products from './components/pages/Products'; | ||
import ProductDetail from './components/pages/ProductDetail'; | ||
import Services from './components/pages/Services'; | ||
import Destinations from './components/pages/Destinations'; | ||
import SignUp from './components/pages/SignUp'; | ||
import Login from './components/pages/Login'; | ||
function App() { | ||
return ( | ||
<div className="App"> | ||
<Router> | ||
<Navbar/> | ||
<Switch> | ||
<Route path="/" exact component={Home}/> | ||
<Route path="/services" exact component={Services}/> | ||
<Route path="/services" exact component={Services}/> | ||
<Route path="/products" exact component={Products}/> | ||
<Route path="/destinations" exact component={Destinations}/> | ||
<Route path="/sign-up" exact component={SignUp}/> | ||
<Route path="/login" exact component={Login}/> | ||
<Route path="/products/:id" component={ProductDetail}/> | ||
</Switch> | ||
<Footer/> | ||
</Router> | ||
</div> | ||
); | ||
} | ||
|
||
export default App; |
Oops, something went wrong.