-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from satyabrata-mishra/main
Add files via upload
- Loading branch information
Showing
27 changed files
with
16,946 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
{ | ||
"name": "travelwebsite", | ||
"version": "0.1.0", | ||
"private": true, | ||
"dependencies": { | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/react": "^11.2.7", | ||
"@testing-library/user-event": "^12.8.3", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-scripts": "4.0.3", | ||
"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" | ||
] | ||
} | ||
} |
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,20 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="./travellogo.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta | ||
name="Travel Website" | ||
content="Get your travel destination deatils in one page and travel in a hassel free way." | ||
/> | ||
<link rel="apple-touch-icon" href="./travellogo.png" /> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> | ||
<title>Travel Website</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
</body> | ||
</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,15 @@ | ||
{ | ||
"short_name": "React App", | ||
"name": "Create React App Sample", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
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: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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); | ||
} | ||
} |
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,17 @@ | ||
import './App.css'; | ||
import Footer from './Components/Footer'; | ||
import Navbar from './Components/Navbar' | ||
import Openingpage from './Components/Openingpage'; | ||
import Openingpage2 from './Components/Openingpage2'; | ||
// import {BrowserRouter as Router,Switch,Route} from "react-router-dom"; | ||
function App() { | ||
return ( | ||
<div className="app"> | ||
<Navbar/> | ||
<Openingpage/> | ||
<Openingpage2/> | ||
<Footer/> | ||
</div> | ||
); | ||
} | ||
export default App; |
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,8 @@ | ||
import { render, screen } from '@testing-library/react'; | ||
import App from './App'; | ||
|
||
test('renders learn react link', () => { | ||
render(<App />); | ||
const linkElement = screen.getByText(/learn react/i); | ||
expect(linkElement).toBeInTheDocument(); | ||
}); |
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 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap'); | ||
.foot{ | ||
min-height: 50vh; | ||
background-color: #2e2d2d; | ||
color: whitesmoke; | ||
text-align: center; | ||
font-family: 'Ubuntu', sans-serif; | ||
padding: 2vh 0vw; | ||
} | ||
.foot label input{ | ||
outline: none; | ||
border: none; | ||
height: 3.5vh; | ||
width: 20vw; | ||
margin: 2vh 0vw; | ||
margin-right: 1vw; | ||
border: 2px solid white; | ||
} | ||
.foot label button{ | ||
height: 4vh; | ||
background: transparent; | ||
color: white; | ||
border: 1px solid white; | ||
padding: 0vh 1vw; | ||
font-family: 'Ubuntu', sans-serif; | ||
} | ||
.foot table{ | ||
margin-top: 5vh; | ||
margin-left:22vw; | ||
} | ||
.foot table thead{ | ||
text-align: left; | ||
padding: 0vh 5vw; | ||
} | ||
.foot table tbody{ | ||
text-align: left; | ||
} | ||
.foot table thead th{ | ||
padding-right:10vw ; | ||
padding-bottom: 2vh; | ||
} | ||
.foot table tbody td{ | ||
padding-bottom: 0.4vh; | ||
} |
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,55 @@ | ||
import React from 'react' | ||
import './Footer.css' | ||
export default function Footer() { | ||
return ( | ||
<div className="foot"> | ||
<p>Join the Adventure newsletter to recieve our best vacation deals.</p> | ||
<p>You can unsubscribe any time.</p> | ||
<label htmlFor="mail"> | ||
<input type="text" name="mail" id="mail" placeholder=" Your Email"/><button>Subscribe</button> | ||
</label> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>About Us</th> | ||
<th>Contact Us</th> | ||
<th>Videos</th> | ||
<th>Social Media</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>How it works</td> | ||
<td>Contact</td> | ||
<td>Submit Videos</td> | ||
<td>Instagram</td> | ||
</tr> | ||
</tbody> | ||
<tbody> | ||
<tr> | ||
<td>Testimonials</td> | ||
<td>Support</td> | ||
<td>Ambassadors</td> | ||
<td>Facebook</td> | ||
</tr> | ||
</tbody> | ||
<tbody> | ||
<tr> | ||
<td>Carrers</td> | ||
<td>Destinations</td> | ||
<td>Agency</td> | ||
<td>Youtube</td> | ||
</tr> | ||
</tbody> | ||
<tbody> | ||
<tr> | ||
<td>Investors</td> | ||
<td>Sponshorships</td> | ||
<td>Influencer</td> | ||
<td>Twitter</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
) | ||
} |
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,41 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap'); | ||
*{ | ||
margin: 0; | ||
padding: 0; | ||
} | ||
nav{ | ||
position: fixed; | ||
width: 100%; | ||
} | ||
.flex{ | ||
display: flex; | ||
background-color: #2e2d2d; | ||
} | ||
.menu{ | ||
text-decoration: none; | ||
color: white; | ||
margin: 2vh 2vw; | ||
font-family: 'Roboto Condensed', sans-serif; | ||
} | ||
.menu1{ | ||
margin-top: 2vh; | ||
margin-left: 40vw; | ||
} | ||
.travel{ | ||
text-decoration: none; | ||
color: white; | ||
margin: 2vh 0vw; | ||
margin-left: 1vw; | ||
margin-right:15vw ; | ||
font-family: 'Roboto Condensed', sans-serif; | ||
} | ||
.signup{ | ||
text-decoration: none; | ||
background-color: #2e2d2d; | ||
color: white; | ||
margin: 2vh 0vw; | ||
border: 1px solid white; | ||
margin-left: 2vw; | ||
padding: 2px 10px; | ||
font-family: 'Roboto Condensed', sans-serif; | ||
} |
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,19 @@ | ||
import React from 'react' | ||
import './Navbar.css' | ||
export default function Navbar() { | ||
return ( | ||
<div> | ||
<nav> | ||
<ul className="flex"> | ||
<a className="travel" href="/">TRVL</a> | ||
<div className="menu1"> | ||
<a href="/" className="menu">HOME</a> | ||
<a href="/" className="menu">SERVICE</a> | ||
<a href="/" className="menu">CONTACT</a> | ||
</div> | ||
<button className="signup">SIGN UP</button> | ||
</ul> | ||
</nav> | ||
</div> | ||
) | ||
} |
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,45 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Mukta&display=swap'); | ||
.bg{ | ||
padding-top: 5vh; | ||
min-height: 100vh; | ||
background-image: url("../Images/Adventure.png"); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: cover; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
color: rgba(255, 255, 255, 0.87); | ||
font-family: 'Mukta', sans-serif; | ||
} | ||
h1{ | ||
font-size: 4rem; | ||
} | ||
h2{ | ||
font-size: 2rem; | ||
margin-top: -4vh; | ||
} | ||
.get{ | ||
height: 7vh; | ||
width:14vw; | ||
margin: 0vh 1vw; | ||
background: transparent; | ||
color: white; | ||
border: 1px solid white; | ||
font-weight:700; | ||
cursor:pointer; | ||
} | ||
.get:hover{ | ||
background-color: white; | ||
color: black; | ||
} | ||
.trailer{ | ||
height: 7vh; | ||
width:14vw; | ||
margin: 0vh 1vw; | ||
background-color: white; | ||
border: 1px solid white; | ||
font-weight:700; | ||
cursor:pointer; | ||
} |
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,14 @@ | ||
import React from 'react' | ||
import './Openingpage.css' | ||
export default function Openingpage() { | ||
return ( | ||
<div className="bg"> | ||
<h1>ADVENTURE AWAITS</h1> | ||
<h2>What are you waiting for?</h2> | ||
<div className="buts"> | ||
<button className="get">GET STARTED</button> | ||
<button className="trailer">WATCH TRAILER ‣</button> | ||
</div> | ||
</div> | ||
) | ||
} |
Oops, something went wrong.