Skip to content

Commit

Permalink
Merge pull request #1097 from Vin205/main
Browse files Browse the repository at this point in the history
feat: Added hotels & Resort page
  • Loading branch information
apu52 authored Jul 17, 2024
2 parents 6e3e9a4 + 9063a57 commit 4f5074f
Show file tree
Hide file tree
Showing 9 changed files with 167 additions and 0 deletions.
Binary file added Thank You.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions Thank.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank You</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
.container {
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<h1>Thank You</h1>
<img src="./t.png" alt="Thank">
</div>
</body>
</html>

Binary file added h1.png
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 h2.png
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 h3.png
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 h4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
107 changes: 107 additions & 0 deletions hotel.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hotel Booking Form</title>
<style>
a:link, a:visited {
background-color: #068e04;
color: white;
padding: 14px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
}

a:hover, a:active {
background-color: rgb(8, 233, 23);
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
padding: 20px;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
max-width: 600px;
margin: auto;
}
h2 {
text-align: center;
color: #333;
}
label {
display: block;
margin-bottom: 8px;
font-weight: bold;
}
input[type="text"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>

<div class="container">
<h2>Hotel Booking Form</h2>
<form action="#" method="post">
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your first name.." required>

<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" placeholder="Your last name.." required>

<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Your email.." required>

<label for="phone">Phone Number</label>
<input type="text" id="phone" name="phone" placeholder="Your phone number.." required>

<label for="checkin">Check-in Date</label>
<input type="date" id="checkin" name="checkin" required>

<label for="checkout">Check-out Date</label>
<input type="date" id="checkout" name="checkout" required>

<label for="adults">Number of Adults</label>
<input type="number" id="adults" name="adults" min="1" max="10" required>

<label for="children">Number of Children</label>
<input type="number" id="children" name="children" min="0" max="10">

<label for="room">Room Type</label>
<select id="room" name="room" required>
<option value="single">Single Room</option>
<option value="double">Double Room</option>
<option value="suite">Suite</option>
</select>

<label for="special-requests">Special Requests</label>
<textarea id="special-requests" name="special_requests" placeholder="Any special requests.." style="height:100px"></textarea>
<a href="./Thank.html" target="_blank">Book Now</a>
</form>
</div>

</body>
</html>
31 changes: 31 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ <h1>TourGuide . . .</h1>
<li class="link" data-aos=""><a href="#trip">Prices</a></li>
<li class="link" data-aos=""><a href="#ReviewGallery">Trip Gallery</a></li>
<li class="link" data-aos=""><a href="#tourist">Tourist Guide</a></li>
<li class="link" data-aos=""><a href="#hotel">Hotel & Resort</a></li>
<li class="link" data-aos=""><a href="#testimonials">Testimonial</a></li>
<li class="link" data-aos=""><a href="feedback.html">Rate Us</a></li>
<li class="link" data-aos=""><a href="#cnt-form">Contact Us</a></li>
Expand Down Expand Up @@ -969,6 +970,36 @@ <h4 style="color: rgb(231, 62, 118); font-style: italic;font-family: cursive;">H
</div>
</section>
<br /><br /><br /><br />

<!-- Hotel & Resort Section -->
<section class="hotel" id ="hotel">
<h2 class="tourist-heading section__title" align-items="center" data-aos="fade-in">Hotels & Resorts</h2>

<br></br>
<h3 style="color: rgb(151, 6, 241); font-style: italic;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">Best Place for Beautiful Trip</h3>
<br></br>
<div class="center-card">
<img src="./h1.png" alt="hr1"/>
<br></br>
<a class="btn btn-primary" href="./hotel.html" role="button">Book Now</a>
<br></br>
<br></br>
<img src="./h2.png" alt="hr2"/>
<br></br>
<a class="btn btn-primary" href="./hotel.html" role="button">Book Now</a>
<br></br>
<br></br>
<img src="./h3.png" alt="hr3"/>
<br></br>
<a class="btn btn-primary" href="./hotel.html" role="button">Book Now</a>
<br></br>
<br></br>
<img src="./h4.png" alt="hr4"/>
<br></br>
<a class="btn btn-primary" href="./hotel.html" role="button">Book Now</a>
</div>
</section>
<br /><br /><br /><br />
<!-- Testimonials Section -->

<section class="testimonials" id="testimonials">
Expand Down
Binary file added t.png
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 4f5074f

Please sign in to comment.