Skip to content

Commit

Permalink
Merge pull request #1779 from KrishPatel1205/branch16
Browse files Browse the repository at this point in the history
[FIXED] Feat: Make a page for Bali #1778
  • Loading branch information
PriyaGhosal authored Oct 30, 2024
2 parents cc2fd87 + 0fd6da8 commit 2455d70
Show file tree
Hide file tree
Showing 2 changed files with 237 additions and 1 deletion.
236 changes: 236 additions & 0 deletions bali.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bali 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/29120351/pexels-photo-29120351/free-photo-of-stunning-coastal-cliffs-in-nusa-penida.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;
height: 590px;
align-items: center;
margin: auto;
margin-left: 100px;
margin-bottom: 50px;
}

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;
height: 100%;
}

.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">Bali</h1>
</div>
<br>
<br>
<h1>Top Hotels in Bali</h1>

<div class="container">
<div class="card-container">
<div class="hotel-card">
<img
src="https://thehoneydreamers.com/wp-content/uploads/2022/01/IMG_8449-2-819x1024.jpg"
alt="The Mulia, Nusa Dua, Bali"
class="hotel-image"
/>
<h2>The Mulia, Nusa Dua, Bali</h2>
<p>Price per night: ₹25,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://images.pexels.com/photos/3225531/pexels-photo-3225531.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
alt="The Laguna, a Luxury Collection Resort & Spa, Nusa Dua, Bali"
class="hotel-image"
/>
<h2>The Laguna</h2>
<p>Price per night: ₹30,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://www.travoh.com/wp-content/uploads/2021/12/003-The-Ritz-Carlton-Bali-Nusa-Dua-Hotel-Bali-Indonesia-Resort-Overhead-Aerial-View-e1640582829539.jpg"
alt="The Ritz-Carlton, Bali"
class="hotel-image"
/>
<h2>The Ritz-Carlton, Bali</h2>
<p>Price per night: ₹35,990</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/19137452/pexels-photo-19137452/free-photo-of-aerial-view-of-four-seasons-resort-bali-at-sayan-in-indonesia.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
alt="Four Seasons Resort Bali at Jimbaran Bay"
class="hotel-image"
/>
<h2>Four Seasons Resort Bali</h2>
<p>Price per night: ₹40,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://d2mo2a5fvrklap.cloudfront.net/app/uploads/sites/3/2024/08/02165721/DPSAS-P0149-Woman-At-Infinity-Pool-900x1125-1.jpg"
alt="Alila Seminyak, Bali"
class="hotel-image"
/>
<h2>Alila Seminyak, Bali</h2>
<p>Price per night: ₹28,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://laurenslighthouse.com/wp-content/uploads/2023/04/R5__0797.jpg"
alt="The Oberoi, Bali"
class="hotel-image"
/>
<h2>The Oberoi, Bali</h2>
<p>Price per night: ₹32,990</p>
<button class="book-button">Book Now</button>
</div>
</div>

<div class="card-container">
<div class="hotel-card">
<img
src="https://de87ve0y4m3tc.cloudfront.net/comohotels.com-2459770069/cms/cache/v2/631ebc420ec05.jpg/1512x1512/fit/80/2231c8e87c596e02c97e9d15cfa6a019.jpg"
alt="COMO Uma Ubud, Bali"
class="hotel-image"
/>
<h2>COMO Uma Ubud, Bali</h2>
<p>Price per night: ₹22,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://hautegrandeur.com/hotels/wp-content/uploads/2020/02/The-Griya-Villas-and-Spa-4.jpg"
alt="The Griya Villas and Spa, Bali"
class="hotel-image"
/>
<h2>The Griya Villas and Spa</h2>
<p>Price per night: ₹25,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card">
<img
src="https://www.theanvayabali.com/wp-content/uploads/2023/03/Sands-Deck-1440x960-1.jpg"
alt="The Anvaya Beach Resorts, Bali"
class="hotel-image"
/>
<h2>The Anvaya Beach Resorts</h2>
<p>Price per night: ₹38,990</p>
<button class="book-button">Book Now</button>
</div>
</div>

</div>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion book.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ <h3>Paris</h3>
</div>
<div class="location-card" style="
background-image: url('https://images.unsplash.com/photo-1555400038-63f5ba517a47?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
">
" onclick="location.href='bali.html'">
<h3>Bali</h3>
<ul>
<li>Adventure in Bali</li>
Expand Down

0 comments on commit 2455d70

Please sign in to comment.