Skip to content

Commit

Permalink
COnflicts resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhum-ika committed Oct 7, 2024
2 parents 0b61ffa + b375054 commit 48a08ce
Show file tree
Hide file tree
Showing 2 changed files with 580 additions and 493 deletions.
215 changes: 145 additions & 70 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,31 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="BuddyTrail is a travel agency website that helps you pick out your holiday vacation" />
content="BuddyTrail is a travel agency website that helps you pick out your holiday vacation"
/>
<meta name="robots" content="index,follow" />
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Pattaya&family=Poppins:wght@400;500&display=swap"
rel="stylesheet"/>
<link rel="icon" href="/icons/airplane.svg"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"/>

<link
href="https://fonts.googleapis.com/css2?family=Pattaya&family=Poppins:wght@400;500&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="/icons/airplane.svg" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>

<title>BuddyTrail</title>
</head>
<body class="light-mode">
<button id="scrollTopBtn" class="scroll-top-btn">↑ Scroll to Top</button>
<button id="scrollTopBtn" class="scroll-top-btn">
<i class="fa-solid fa-arrow-up"></i>
</button>

<!-- Google Translate Button -->
<div class="translate-container">
Expand Down Expand Up @@ -261,73 +271,125 @@ <h3>Romantic Getaway</h3>
</div>
</div>
</section>

<!-- Cab or Auto Booking -->
<section id="cab-booking" class="cab-booking-section">
<h2 style="font-size: 3em; font-weight: normal; margin-left: 40px">
<section
id="cab-booking"
class="cab-booking-section"
style="
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 10px;
"
>
<h2
style="
font-size: 3em;
font-weight: 700;
margin-left: 40px;
margin-top: 10px;
"
>
Book a Cab or Auto
</h2>
<p style="margin-left: 40px; font-size: 1.5em">
<p style="margin-left: 40px; font-size: 1.5em; margin-bottom: 10px">
Book a cab or auto with ease
</p>

<form action="/book-cab" method="POST" style="margin-left: 40px">
<label style="font-size: 1.5em" for="pickup-location"
>Pickup Location:</label
>
<input
style="height: 29px; width: 200px"
type="text"
id="pickup-location"
name="pickup-location"
placeholder="Enter pickup location"
required /><br /><br />

<label style="font-size: 1.5em" for="drop-location"
>Drop Location:</label
>
<input
style="height: 29px; width: 200px"
type="text"
id="drop-location"
name="drop-location"
placeholder="Enter drop location"
required /><br /><br />

<label style="font-size: 1.5em" for="vehicle-type"
>Vehicle Type:</label
>
<select id="vehicle-type" name="vehicle-type" required>
<option value="cab">Cab</option>
<option value="auto">Auto</option></select
><br /><br />

<label style="font-size: 1.5em" for="travel-date">Travel Date:</label>
<input
style="height: 29px; width: 200px"
type="date"
id="travel-date"
name="travel-date"
required /><br /><br />

<label style="font-size: 1.5em" for="travel-time">Travel Time:</label>
<input
style="height: 29px; width: 200px"
type="time"
id="travel-time"
name="travel-time"
required /><br /><br />

<input
<form
action="/book-cab"
method="POST"
style="
margin-left: 40px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
"
>
<div>
<label style="font-size: 1.5em" for="pickup-location"
>Pickup Location:</label
>
<input
style="height: 29px; width: 200px"
type="text"
id="pickup-location"
name="pickup-location"
placeholder="Enter pickup location"
required
/><br /><br />
</div>
<div>
<label style="font-size: 1.5em" for="drop-location"
>Drop Location:</label
>
<input
style="height: 29px; width: 200px"
type="text"
id="drop-location"
name="drop-location"
placeholder="Enter drop location"
required
/><br /><br />
</div>
<div style="display: flex">
<label style="font-size: 1.5em" for="vehicle-type"
>Vehicle Type:</label
>
<select id="vehicle-type" name="vehicle-type" required>
<option value="cab">Cab</option>
<option value="auto">Auto</option></select
><br /><br />
</div>

<div>
<label style="font-size: 1.5em" for="travel-date"
>Travel Date:</label
>
<input
style="height: 29px; width: 200px"
type="date"
id="travel-date"
name="travel-date"
required
/><br /><br />
</div>

<div>
<label style="font-size: 1.5em" for="travel-time"
>Travel Time:</label
>
<input
style="height: 29px; width: 200px"
type="time"
id="travel-time"
name="travel-time"
required
/><br /><br />
</div>
<button
style="
background-color: #007bff;
color: white;
border: none;
width: 200px;
border-radius: 5px;
height: 30px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
cursor: pointer;
align-self: center;
padding: 10px;
margin-bottom: 20px;
"
type="submit"
value="Book Now" />
>
Book now
</button>
</form>
</section>

Expand Down Expand Up @@ -386,7 +448,8 @@ <h2>Explore Popular Destinations</h2>
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCYcdQdpiSF7BjZl6JF_pyucrblrUCZMxc&callback=initMap"
async
defer></script>
defer
></script>

<section id="contact">
<div class="form-wrapper">
Expand Down Expand Up @@ -441,7 +504,8 @@ <h3 class="review-h3">Rate your experience</h3>
id="complaint"
name="complaint"
rows="3"
placeholder="Describe any issue with the staff here. Please explain every single detail ex:location,name of the person"></textarea>
placeholder="Describe any issue with the staff here. Please explain every single detail ex:location,name of the person"
></textarea>

<div class="review-form-button">
<button type="submit">Send</button>
Expand Down Expand Up @@ -502,13 +566,23 @@ <h4>Aditi Patel - New York</h4>
<footer>
<div class="footer-wrapper">
<h5>BuddyTrail &copy;</h5>
<div class="social-icons">
<a href="#"><i class="fa-brands fa-linkedin"></i></a>
<a href="#"><i class="fa-brands fa-youtube"></i></a>
<a href="#"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fa-brands fa-instagram"></i></a>
</div>

<ul>
<li>
<a href="#" class="twitter" id="social-icons"
><img src="icons/twitter.svg"
/></a>
</li>
<li>
<a href="#" class="instagram" id="social-icons"
><img src="icons/instagram.svg"
/></a>
</li>
<li>
<a href="#" class="youtube" id="social-icons"
><img src="icons/youtube.svg"
/></a>
</li>
</ul>
</div>
</footer>
<!-- Deals and Offers Popup -->
Expand All @@ -521,7 +595,8 @@ <h2>Exclusive Deals and Offers!</h2>
out on our limited-time discounts. Plan your trip now!
</p>
<button
onclick="document.getElementById('dealsPopup').style.display = 'none'; window.location.href='#deals'">
onclick="document.getElementById('dealsPopup').style.display = 'none'; window.location.href='#deals'"
>
Check Out Deals
</button>
</div>
Expand Down
Loading

0 comments on commit 48a08ce

Please sign in to comment.