Skip to content

Commit

Permalink
Merge pull request #1750 from KrishPatel1205/branch13
Browse files Browse the repository at this point in the history
[FIXED] Feat: Make a page for Dubai #1749
  • Loading branch information
samarth-6 authored Oct 29, 2024
2 parents d97fd5a + 48acc60 commit 9628f90
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h2 class="popular-destinations">Popular Destinations</h2>
<div class="location-cards">
<div class="location-card" style="
background-image: url('https://images.unsplash.com/photo-1489516408517-0c0a15662682?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
">
" onclick="location.href='dubai.html'">
<h3>Dubai</h3>
<ul>
<li>Flight To Dubai</li>
Expand Down
212 changes: 212 additions & 0 deletions dubai.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dubai Travel - Hotels</title>

<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="./styles/popup.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"
/>
<script src="https://kit.fontawesome.com/c4254e24a8.js" crossorigin="anonymous"></script>
<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"
/>
<style>

body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
overflow-x: hidden;
}

.main-image {
width: 100%;
height: 300px;
object-fit: cover;
background-image: url('https://images.pexels.com/photos/3763190/pexels-photo-3763190.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
background-position: bottom;
}

.main-heading {
font-size: 48px;
color: white;
text-align: center;
height: 500px;
padding-top: 120px;
}

.container {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
margin: auto;
width: 100vw;
}

.card-container {
display: flex;
flex-direction: row;
width: 100vw;
align-items: center;
margin: auto;
margin-left: 100px;
}

h1 {
color: #2c3e50;
margin-bottom: 30px;
font-size: 5em;
}

.hotel-card {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin: 15px 40px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width: 450px;
height: 100%;
}

.hotel-image {
width: 100%;
max-height: 400px;
border-radius: 8px;
object-fit: cover;
}

.hotel-card h2 {
color: #2980b9;
margin: 10px 0 10px;
font-size: 3rem;
}

.hotel-card p {
color: #7f8c8d;
font-size: 18px;
}

.book-button {
background-color: #2980b9;
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}

.book-button:hover {
background-color: #1a6d99;
}
</style>
</head>
<body>
<div class="main-image">
<h1 class="main-heading">Dubai</h1>
<!-- <img src="https://images.pexels.com/photos/325193/pexels-photo-325193.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="Dubai" class="img-fluid"> -->
</div>
<br>
<br>
<h1>Top Hotels in Dubai</h1>


<div class="container">
<div class="card-container">
<div class="hotel-card">
<img
src="https://images.pexels.com/photos/2041556/pexels-photo-2041556.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
alt="Burj Al Arab"
class="hotel-image"
/>
<h2>Burj Al Arab</h2>
<p>Price per night: ₹84,000</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://images.pexels.com/photos/19192777/pexels-photo-19192777/free-photo-of-atlantis-hotel-in-dubai.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
alt="Atlantis The Palm"
class="hotel-image"
/>
<h2>Atlantis The Palm</h2>
<p>Price per night: ₹42,000</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://images.pexels.com/photos/1707310/pexels-photo-1707310.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
alt="Armani Hotel Dubai"
class="hotel-image"
/>
<h2>Armani Hotel Dubai</h2>
<p>Price per night: ₹58,000</p>
<button class="book-button">Book Now</button>
</div>
</div>

<div class="card-container">

<div class="hotel-card">
<img src="https://images.pexels.com/photos/29080602/pexels-photo-29080602/free-photo-of-luxury-poolside-view-with-dubai-skyline.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="The Ritz-Carlton Dubai" class="hotel-image">
<h2>The Ritz-Carlton Dubai</h2>
<p>Price per night: ₹67,000</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img src="https://images.pexels.com/photos/10902477/pexels-photo-10902477.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="Palace Downtown Dubai" class="hotel-image">
<h2>Palace Downtown Dubai</h2>
<p>Price per night: ₹75,000</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img src="https://images.pexels.com/photos/5075075/pexels-photo-5075075.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="The Address Dubai Mall" class="hotel-image">
<h2>The Address Dubai Mall</h2>
<p>Price per night: ₹33,000</p>
<button class="book-button">Book Now</button>
</div>
</div>
<div class="card-container">

<div class="hotel-card">
<img src="https://images.pexels.com/photos/14788516/pexels-photo-14788516.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="Grand Hyatt Dubai" class="hotel-image">
<h2>Grand Hyatt Dubai</h2>
<p>Price per night: ₹46,000</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img src="https://images.pexels.com/photos/12238320/pexels-photo-12238320.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="Shangri-La Hotel Dubai" class="hotel-image">
<h2>Shangri-La Hotel Dubai</h2>
<p>Price per night: ₹54,000</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img src="https://images.pexels.com/photos/16422487/pexels-photo-16422487/free-photo-of-jumeirah-emirate-towers-in-dubai.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="Shangri-La Hotel Dubai" class="hotel-image">
<h2>Jumeirah Emirates Towers</h2>
<p>Price per night: ₹25,000</p>
<button class="book-button">Book Now</button>
</div>
</div>
</div>
</div>
</body>
</html>

0 comments on commit 9628f90

Please sign in to comment.