From cd053173c6763cde9b7d2f32cb197218eb335bd3 Mon Sep 17 00:00:00 2001 From: Juthatip McDevitt Date: Wed, 12 Jun 2024 08:24:46 -0500 Subject: [PATCH] updated room page & index page --- hotel_booking/index.php | 33 ++++-- hotel_booking/rooms.php | 229 +++++++++++++++++++++++++++++++++++++++- hotel_booking/script.js | 19 +--- 3 files changed, 251 insertions(+), 30 deletions(-) diff --git a/hotel_booking/index.php b/hotel_booking/index.php index 67f0bb8..2fedc65 100644 --- a/hotel_booking/index.php +++ b/hotel_booking/index.php @@ -125,8 +125,7 @@ Wellness & Spa
- Book Now - More Details + More Details
@@ -154,8 +153,7 @@ Wellness & Spa
- Book Now - More Details + More Details
@@ -183,8 +181,7 @@ Wellness & Spa
- Book Now - More Details + More Details
@@ -212,15 +209,14 @@ Wellness & Spa
- Book Now - More Details + More Details
- More + Booking
@@ -288,5 +284,24 @@ + \ No newline at end of file diff --git a/hotel_booking/rooms.php b/hotel_booking/rooms.php index 1d0c4e1..52aaf55 100644 --- a/hotel_booking/rooms.php +++ b/hotel_booking/rooms.php @@ -60,6 +60,27 @@ border-radius: 5px; background-color: #F6F4F2; } + .swiper{ + width: 100%; + height: 600px + } + .swiper-slide{ + text-align: center; + font-size: 18px; + background: #F6F4F2; + display: flex; + justify-content: center; + align-items: center; + } + .swiper-slide img{ + display: block; + width: 100%; + height: 100%; + object-fit: cover; + } + .swiper-pagination-bullet-active{ + background-color: #E7E1D8 !important; + } @media (max-width:990px){ .frame1{ @@ -71,6 +92,10 @@ height: 40px; font-size: 16px; } + .swiper{ + width: 100%; + height: 500px + } .about-img{ width:100%; height: 500px; @@ -82,10 +107,14 @@ } } @media (max-width:450px) { + .swiper{ + width: 100%; + height: 450px + } .about-img{ height: 450px; } - } + } @@ -111,7 +140,20 @@
- +
+
+
+ +
+
+ +
+
+ +
+
+
+
@@ -139,17 +181,198 @@ +
+
+
+
+ +
+
+
+
II
+
+

Deluxe room

+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+

Accommodation

+
+

A king bed size (76" x 80").

+

A bathroom with a shower or bathtub, toilet, and sink including toiletries.

+

Furniture: A closet, bedside tables, a desk, and chairs.

+

Electronic Devices: A television, telephone, mini-fridge, coffee maker, hairdryer.

+

Heating and air conditioning

+

Wi-Fi and wired internet access

+

Housekeeping

+
+
+

Extra Accommodation

+
+

Breakfast

+

Swimming Pools

+

Sauna (Steam sauna)

+

Massage (Aromatherapy massage)

+
+
+
+ Booking +
+
+
+
+
+
+
+
+
+
III
+
+

Double room

+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+

Accommodation

+
+

A king bed size (76" x 80").

+

A bathroom with a shower or bathtub, toilet, and sink including toiletries.

+

Furniture: A closet, bedside tables, a desk, and chairs.

+

Electronic Devices: A television, telephone, mini-fridge, coffee maker, hairdryer.

+

Heating and air conditioning

+

Wi-Fi and wired internet access

+

Housekeeping

+
+
+
+

Extra Accommodation

+
+

Breakfast

+

Swimming Pools

+

Sauna (Steam sauna)

+

Massage (Aromatherapy massage)

+
+
+
+ Booking +
+
+
+
+
+
+
+
+
+
IV
+
+

Suit room

+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+

Accommodation

+
+

A king bed size (76" x 80").

+

A bathroom with a shower or bathtub, toilet, and sink including toiletries.

+

Furniture: A closet, bedside tables, a desk, and chairs.

+

Electronic Devices: A television, telephone, mini-fridge, coffee maker, hairdryer.

+

Heating and air conditioning

+

Wi-Fi and wired internet access

+

Housekeeping

+
+
+
+

Extra Accommodation

+
+

Breakfast

+

Swimming Pools

+

Sauna (Steam sauna)

+

Massage (Aromatherapy massage)

+
+
+
+ Booking +
+
- + \ No newline at end of file diff --git a/hotel_booking/script.js b/hotel_booking/script.js index 54449ef..f333a48 100644 --- a/hotel_booking/script.js +++ b/hotel_booking/script.js @@ -51,21 +51,4 @@ $(window).scroll(function() { } }); }).scroll(); -//===== swiper =====// -var swiper = new Swiper(".mySwiper", { - spaceBetween: 30, - centeredSlides: true, - effect: "fade", - autoplay: { - delay: 2500, - disableOnInteraction: false, - }, -}); -var swiper = new Swiper(".swiper-testimonials", { - spaceBetween: 30, - centeredSlides: true, - autoplay: { - delay: 2500, - disableOnInteraction: false, - }, -}); +