updated service page
This commit is contained in:
parent
f7b6348f4d
commit
3d5688735b
5 changed files with 215 additions and 77 deletions
|
@ -10,7 +10,7 @@
|
|||
<a class="nav-link" href="../services.php">Services</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Dining</a>
|
||||
<a class="nav-link" href="../dining.php">Dining</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">News</a>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<a href="../services.php" class="nav-link">Services</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#" class="nav-link">Dining</a>
|
||||
<a href="../dining.php" class="nav-link">Dining</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="../about.php" class="nav-link">About</a>
|
||||
|
|
|
@ -291,12 +291,18 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!--footer-->
|
||||
<?php require('./components/footer.php'); ?>
|
||||
|
||||
<?php require('./components/script.php') ?>
|
||||
<script>
|
||||
const accordions = document.querySelectorAll('.accordion')
|
||||
accordions.forEach((accordion) => {
|
||||
accordion.addEventListener('click', () => {
|
||||
const body = accordion.querySelector('.accordion-body')
|
||||
body.classList.toggle('active')
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -69,12 +69,3 @@ var swiper = new Swiper(".swiper-testimonials", {
|
|||
disableOnInteraction: false,
|
||||
},
|
||||
});
|
||||
//===== Accordio =====//
|
||||
const accordions = document.querySelectorAll('.accordion')
|
||||
|
||||
accordions.forEach((accordion) => {
|
||||
accordion.addEventListener('click', () => {
|
||||
const body = accordion.querySelector('.accordion-body')
|
||||
body.classList.toggle('active')
|
||||
})
|
||||
})
|
|
@ -40,6 +40,9 @@
|
|||
.pre-header-subtitle{
|
||||
width: 30%;
|
||||
}
|
||||
.pool-pannel, .pool-frame{
|
||||
margin-top: 200px;
|
||||
}
|
||||
.service-frame{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -119,7 +122,7 @@
|
|||
background-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.flip-card-back{
|
||||
background-color: white;
|
||||
background-color: #EEF7FF;
|
||||
color: #1F1914;
|
||||
transform: rotateY(180deg);
|
||||
display: flex;
|
||||
|
@ -129,10 +132,11 @@
|
|||
}
|
||||
.sauna-container{
|
||||
width: 90%;
|
||||
height: 100vh;
|
||||
height: 100%;
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
gap: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.sauna-wrapper{
|
||||
width: 100%;
|
||||
|
@ -143,8 +147,8 @@
|
|||
}
|
||||
.sauna-service{
|
||||
animation: sauna-slide 5s infinite;
|
||||
height: 80vh;
|
||||
width: 60%;
|
||||
height: 750px;
|
||||
width: 80%;
|
||||
}
|
||||
@keyframes sauna-slide{
|
||||
0%{
|
||||
|
@ -165,11 +169,93 @@
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1px solid #B3A398;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.accordion-container{
|
||||
background-color: white;
|
||||
width: 90%;
|
||||
height: 100%;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.accordion{
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
height: 700px;
|
||||
background-color: #eee;
|
||||
}
|
||||
.accordion-slide{
|
||||
position: relative;
|
||||
padding-left: 130px;
|
||||
max-width: 130px;
|
||||
width: 100%;
|
||||
background-color: #777;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
transition: max-width 0.3s;
|
||||
}
|
||||
.accordion-slide-label{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 140px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding-top: 30%;
|
||||
writing-mode: vertical-lr;
|
||||
transform: rotate(180deg);
|
||||
transition: background-color 0.3s;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
color: #fff;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.accordion-slide:nth-child(1) .accordion-slide-label{
|
||||
background-color: #4F6F52;
|
||||
}
|
||||
.accordion-slide:nth-child(2) .accordion-slide-label{
|
||||
background-color: #739072;
|
||||
}
|
||||
.accordion-slide:nth-child(3) .accordion-slide-label{
|
||||
background-color: #86A789;
|
||||
}
|
||||
.accordion-slide:nth-child(4) .accordion-slide-label{
|
||||
background-color: #BFD8AF;
|
||||
}
|
||||
.accordion-slide:nth-child(5) .accordion-slide-label{
|
||||
background-color: #D2E3C8;
|
||||
}
|
||||
.accordion-slide.active{
|
||||
max-width: 1404px;
|
||||
background-color: #ccc;
|
||||
}
|
||||
.accordion-slide .accordion-slide-label{
|
||||
background-color: transparent;
|
||||
}
|
||||
/*----- Responsive -----*/
|
||||
@media (max-width: 1200px) {
|
||||
.accordion {
|
||||
height: 500px;
|
||||
}
|
||||
.accordion-slide {
|
||||
padding-left: 50px;
|
||||
max-width: 50px;
|
||||
}
|
||||
.accordion-slide-label {
|
||||
font-size: 16px;
|
||||
letter-spacing: 0.5px;
|
||||
width: 50px;
|
||||
}
|
||||
.sauna-service{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media (max-width:980px){
|
||||
.pre-header-subtitle{
|
||||
width: 80%;
|
||||
|
@ -189,13 +275,22 @@
|
|||
.sauna-container{
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
}
|
||||
.sauna-service{
|
||||
height: 50vh;
|
||||
height: 550px;
|
||||
width: 90%;
|
||||
}
|
||||
.sauna-text{
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
@media (max-width:768px) {
|
||||
.pool-pannel, .pool-frame{
|
||||
margin-top: 100px;
|
||||
}
|
||||
.service-subtilte{
|
||||
font-size: 40px;
|
||||
}
|
||||
|
@ -206,22 +301,55 @@
|
|||
width: 320px;
|
||||
height: 450px;
|
||||
}
|
||||
.sauna-text{
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
font-size: 16px;
|
||||
.accordion-slide{
|
||||
padding-left: 0;
|
||||
max-width: 0;
|
||||
width: 0;
|
||||
}
|
||||
.accordion-slide-label{
|
||||
font-size: 10px;
|
||||
font-weight: 400;
|
||||
letter-spacing: 2px;
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.accordion-slide.active{
|
||||
padding-left: 20px;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.accordion-slide.active .accordion-slide-label{
|
||||
width: 20px;
|
||||
}
|
||||
.accordion-slide.active + .accordion-slide{
|
||||
padding-left: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
.accordion-slide.active + .accordion-slide .accordion-slide-label{
|
||||
width: 20px;
|
||||
}
|
||||
.accordion-slide-prev{
|
||||
padding-left: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
.accordion-slide-prev .accordion-slide-label{
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
@media (max-width:450px) {
|
||||
.service-subtilte{
|
||||
font-size: 30px;
|
||||
}
|
||||
.sauna-container{
|
||||
gap: 0px;
|
||||
gap: 20px;
|
||||
}
|
||||
.service-hero{
|
||||
height: 80vh;
|
||||
}
|
||||
.sauna-service{
|
||||
height: 450px;
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
@ -237,22 +365,21 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--pre section-->
|
||||
<div class="panel" data-color="white">
|
||||
<!--pre section + pool section-->
|
||||
<div class="panel pool-pannel" data-color="white">
|
||||
<img src="./images/logo.png" class="pre-header-img" style="width: 100px; margin-bottom: 40px;"/>
|
||||
<h1 class="pre-header">We craft enchanting moments of tranquility and serenity, far away from the chaos and stress of daily life</h1>
|
||||
<p class="pre-header pre-header-subtitle" style="font-size: 16px;">We ensure the well-being of your body, invigorate your senses, and provide tranquility for your mind. Our pools, suana, and massage therapy have become synonymous with relaxation and wellness.</p>
|
||||
</div>
|
||||
<!--pool section-->
|
||||
<div class="panel" data-color="blue">
|
||||
<div class="service-frame">
|
||||
<p class="pre-header " style="font-size: 16px;">We ensure the well-being of your body, invigorate your senses, and provide tranquility for your mind. Our pools, suana, and massage therapy have become synonymous with relaxation and wellness.</p>
|
||||
<div class="service-frame pool-frame">
|
||||
<div class="service-frame1">
|
||||
<div class="service-frame2">I</div>
|
||||
</div>
|
||||
<p class="service-title">Pools</p>
|
||||
</div>
|
||||
<p class="service-subtilte">Relax with massaging spa jets in the perfect water temperature</p>
|
||||
<div class="flip-container">
|
||||
<p class="pre-header" style="font-size: 18px;">By blending expertise, hospitality, and a commitment to excellence,
|
||||
these dedicated professionals ensure that every splash is met with delight, making the hotel pool a cherished haven for travelers far and wide.</p>
|
||||
<div class="flip-container" style="margin-top: 50px;">
|
||||
<div class="flip-card">
|
||||
<div class="flip-card-inner">
|
||||
<div class="flip-card-front">
|
||||
|
@ -286,8 +413,50 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--massage section-->
|
||||
<div class="panel" data-color="cream" style="margin-top: 100px;">
|
||||
<div class="service-frame" style="margin-top: 100px;">
|
||||
<div class="service-frame1">
|
||||
<div class="service-frame2">III</div>
|
||||
</div>
|
||||
<p class="service-title">Massage</p>
|
||||
</div>
|
||||
<p class="service-subtilte">Relax, Rejuvenate, and Unwind with Every Touch</p>
|
||||
<p class="pre-header" style="font-size: 18px;">The challenges of everyday life can place a significant burden on your physical well-being.
|
||||
This is why it is crucial to prioritize self-care. Our massage sessions are dedicated to ensuring your body functions optimally,
|
||||
enabling you to participate in activities such as completing a half marathon without any hindrances</p>
|
||||
<div class="accordion-container">
|
||||
<div class="accordion">
|
||||
<div class="accordion-slide accordion-slide-first active" style="background-image:url(images/massage1.jpg)">
|
||||
<div class="accordion-slide-label">
|
||||
01 | Aromatherapy massages
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-slide" style="background-image:url(images/massage2.jpg)">
|
||||
<div class="accordion-slide-label">
|
||||
02 | Deep tissue massages
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-slide" style="background-image:url(images/massage3.jpg)">
|
||||
<div class="accordion-slide-label">
|
||||
03 | Hot stone massages
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-slide" style="background-image:url(images/massage4.jpg)">
|
||||
<div class="accordion-slide-label">
|
||||
04 | Thai massages
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-slide" style="background-image:url(images/massage5.jpg)">
|
||||
<div class="accordion-slide-label">
|
||||
05 | Swedish massage
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--sauna section-->
|
||||
<div class="panel" data-color="pink">
|
||||
<div class="panel" data-color="pink" style="margin-top: 100px;">
|
||||
<div class="service-frame" style="margin-top: 100px;">
|
||||
<div class="service-frame1">
|
||||
<div class="service-frame2">II</div>
|
||||
|
@ -297,8 +466,6 @@
|
|||
<p class="service-subtilte">Recharge batteries and strengthen immune system with sauna</p>
|
||||
<p class="pre-header" style="font-size: 18px;">Imagine the blissful experience of indulging in the rejuvenating benefits of a Finnish or steam sauna.
|
||||
Enhance your immune system in an infrared sauna. Immerse yourself in the aromatic essence of herb, eucalyptus, or menthol saunas, and feel the instant refreshment </p>
|
||||
</div>
|
||||
<div class="panel" data-color="pink">
|
||||
<div class="sauna-container">
|
||||
<div class="sauna-wrapper">
|
||||
<div class="sauna-service">
|
||||
|
@ -333,45 +500,22 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--massage section-->
|
||||
<div class="panel" data-color="white">
|
||||
<div class="service-frame" style="margin-top: 100px;">
|
||||
<div class="service-frame1">
|
||||
<div class="service-frame2">III</div>
|
||||
</div>
|
||||
<p class="service-title">Massage</p>
|
||||
</div>
|
||||
<p class="service-subtilte">Relax, Rejuvenate, and Unwind with Every Touch</p>
|
||||
<p class="pre-header" style="font-size: 18px;">The challenges of everyday life can place a significant burden on your physical well-being.
|
||||
This is why it is crucial to prioritize self-care. Our massage sessions are dedicated to ensuring your body functions optimally,
|
||||
enabling you to participate in activities such as completing a half marathon without any hindrances</p>
|
||||
</div>
|
||||
<div class="panel" data-color="white">
|
||||
<div class="swiper mySwiper">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide">
|
||||
<img src="./images/service3.jpg"/>
|
||||
</div>
|
||||
<div class="swiper-slide">
|
||||
<img src="./images/service_page3.jpg"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pre-section2-container">
|
||||
<div class="pre-section2-wrapper">
|
||||
<div class="pre-section2-text">
|
||||
<p><i class='bx bx-leaf' style="color: #B0A695;"></i> Aromatherapy massages </p>
|
||||
<p><i class='bx bx-leaf' style="color: #B0A695;"></i> Deep tissue massages </p>
|
||||
<p><i class='bx bx-leaf' style="color: #B0A695;"></i> Hot stone massages</p>
|
||||
<p><i class='bx bx-leaf' style="color: #B0A695;"></i> Thai massages</p>
|
||||
<p><i class='bx bx-leaf' style="color: #B0A695;"></i> Swedish massage</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--footer-->
|
||||
<?php require('./components/footer.php'); ?>
|
||||
|
||||
<?php require('./components/script.php') ?>
|
||||
<script>
|
||||
if (".accordion") {
|
||||
$(".accordion-slide-label").on("click", function () {
|
||||
$(".accordion-slide").removeClass("active");
|
||||
$(".accordion-slide").removeClass("accordion-slide-prev");
|
||||
$(this).parent().addClass("active");
|
||||
if ($(this).parent().prev().not(".accordion-slide-first")) {
|
||||
$(this).parent().prev().addClass("accordion-slide-prev");
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -32,9 +32,6 @@ ul{
|
|||
.color-cream{
|
||||
background-color: #DDD8D0;
|
||||
}
|
||||
.color-blue{
|
||||
background-color: #EEF7FF;
|
||||
}
|
||||
.color-pink{
|
||||
background-color: #EDD8D8;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue