Skip to content

Commit

Permalink
Merge pull request #552 from josum06/sumit
Browse files Browse the repository at this point in the history
Added new plantrip page
  • Loading branch information
apu52 authored May 26, 2024
2 parents 51314f4 + 64d3af2 commit ea9455c
Show file tree
Hide file tree
Showing 5 changed files with 225 additions and 1 deletion.
Binary file added Tourguide (2).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h1 data-aos="fade-in">Find Your Perfect Getaway<br />Discover the World's Best
</p>
<div class="action__btns">
<a href="pricing/index.html"><button class="btn" data-aos="fade-in" id="btn-style" style="box-shadow: 2px 2px 8px red;">Membership</button></a>
<button class="btn" data-aos="fade-in" id="btn-style" onclick="planTrip()" style="box-shadow: 2px 2px 8px red;">Plan a Trip</button>
<a href="newplantrip.html"><button class="btn" data-aos="fade-in" id="btn-style" style="box-shadow: 2px 2px 8px red;">Plan a Trip</button></a>
<a href="./payment.html"><button class="btn" data-aos="fade-in" id="btn-style" style="box-shadow: 2px 2px 8px red;">Book Now</button></a>
</div>

Expand Down
56 changes: 56 additions & 0 deletions newplantrip.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="newplantripstyle.css">
</head>
<body>
<div class="navbar">
<div class="nav">
<div class="plantrip">
<img src="Tourguide (2).jpg" alt="">
<h1>Tour Planner</h1>
</div>
<input type="checkbox" id="nav-toggle" class="nav-toggle">
<label for="nav-toggle" class="burger-menu"></label>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="story.html">About</a></li>
<li><a href="payment.html">Payment</a></li>
<li class="nav-button"><a href="newLogin.html">Login</a></li>
</ul>
</div>
</div>

<div class="background">
<img src="ronin-06roiCfSCiU-unsplash (1).jpg" alt="#">
</div>

<div class="form-container">
<form>
<label for="destination">Destination:</label>
<input type="text" id="destination" name="destination" required>

<label for="startDate">Start Date:</label>
<input type="date" id="startDate" name="startDate" required>

<label for="endDate">End Date:</label>
<input type="date" id="endDate" name="endDate" required>

<label for="budget">Budget:</label>
<input type="number" id="budget" name="budget" required>

<label for="accommodation">Accommodation:</label>
<select id="accommodation" name="accommodation">
<option value="hotel">Hotel</option>
<option value="apartment">Apartment</option>
<option value="hostel">Hostel</option>
</select>

<button type="submit">Plan My Trip</button>
</form>
</div>
</body>
</html>
168 changes: 168 additions & 0 deletions newplantripstyle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
* {
margin: 0;
padding: 0;
text-decoration: none;
box-sizing: border-box;
}

html, body {
height: 100%;
overflow: hidden;
}

.navbar {
font-family: Calibri, "Segoe UI", Candara, "Bitstream Vera Sans", sans-serif;
background-color: #6bafea;
color: black;
padding: 1rem;
height: 15%;
}

.nav {
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.plantrip{
display: flex;
justify-content: space-between;
gap: 2px;
}
.plantrip h1 {
font-size: 3rem;
color: white;
}
.plantrip img{
width: 100px;
height: 70px;
margin-bottom: 15px;
}
.nav-links {
display: flex;
align-items: center;
}

li {
list-style: none;
display: inline-block;
}

li a {
font-size: 1.75rem;
margin-right: 50px;
font-weight: bold;
color: black;
}
.nav-button a {
padding: 10px;
border-radius: 10px;
background-color: black;
color: white;
}

.burger-menu {
display: none;
font-size: 2rem;
background: none;
border: none;
cursor: pointer;
}

.nav-toggle {
display: none;
}

@media (max-width: 768px) {
.nav-links {
display: none;
flex-direction: column;
width: 100%;
text-align: center;
background-color: cyan;
position: absolute;
top: 70px;
left: 0;
z-index: 10;
}

.nav-links li {
margin: 15px 0;
}

.nav-toggle:checked + .burger-menu + .nav-links {
display: flex;
}

.burger-menu {
display: block;
}
}

.background {
width: 100%;
height: 100vh; /* Full viewport height */
overflow: hidden;
position: relative; /* Ensure the navbar is above the background */
}

.background img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image covers the entire container */
display: block;
}

.form-container {
position: absolute;
top: 40%; /* Adjust this value as needed */
left: 50%;
transform: translate(-50%, -50%);
z-index: 1; /* Ensure the form is above the image */
width: 80%;
height: 60%;
max-width: 600px;
/* background-color: #add8e6e3; */
padding: 20px;
border-radius: 8px;
/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}


form {
max-width: 600px;
margin: 20px auto;
background-color: #6fb3ed;
padding: 20px;
border-radius: 25px;
box-shadow: 10px 10px 8px 10px #3887cb;
}

label {
display: block;
margin-bottom: 8px;
}

input,
select {
width: calc(100% - 20px); /* Adjusted width to accommodate padding */
padding: 10px;
margin-bottom: 16px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}

button {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}

button:hover {
background-color: #45a049;
}
Binary file added ronin-06roiCfSCiU-unsplash (1).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea9455c

Please sign in to comment.