Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jaime cal #1

Open
wants to merge 2 commits into
base: JaimeCal
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<span class="menu-indices" >inicio</span></a>
<a id="back-menus2" class="smooth-scroll" href="#setion-massaje">
<span class="menu-indices ">masajes</span></a>
<a class="smooth-scroll" href="https://homemasaje.com/blog/">
<a class="smooth-scroll" href="./blog">
<span class="menu-indices " >blog</span></a>
<a id="back-menus3" class="smooth-scroll back-menus" href="#div-credits">
<span class="menu-indices "> nosotros</span></a>
Expand All @@ -59,7 +59,7 @@
</header>

<img id="btn-whatssapp" class="btn-whatsapp" src="https://cdn-icons-png.flaticon.com/512/124/124034.png?w=740&t=st=1660336478~exp=1660337078~hmac=a5ed3ed9cfaaf2808abebe30b3979f8d264f809e44bc3bd6ed29965a50b30a4e" alt="Whatsapp"
onclick="window.location.href='https://api.whatsapp.com/send/?phone=5730276430078&text=Hola!%20quiero%20mas%20informacion%21&type=phone_number&app_absent=0'" width="55px" height="55px">
onclick="window.location.href='https://api.whatsapp.com/send/?phone=573027643007&text=Hola!%20quiero%20mas%20informacion%21&type=phone_number&app_absent=0'" width="55px" height="55px">

<section id="intro">
<img id="fondo-image" src="./images/fondoimage.jpg" alt="">
Expand All @@ -72,7 +72,7 @@ <h2 id="cero-span">
</h2>
</div>
<div id="reserve" >
<a href="https://api.whatsapp.com/send/?phone=5730276430078&text=Hola!%20Quiero%20reservar!%21&type=phone_number&app_absent=0" target="_blank">Reservar un masaje</a>
<a href="https://api.whatsapp.com/send/?phone=573027643007&text=Hola!%20Quiero%20reservar!%21&type=phone_number&app_absent=0" target="_blank">Reservar un masaje</a>
</div>
</div>

Expand Down Expand Up @@ -701,7 +701,7 @@ <h2> Masaje Relajante con énfasis en pies y manos </h2>
<span class="title-foter">Dirección</span>
<ul class="list-contactenos">
<li>
<span>Calle 67 N° 20-19 </span>
<span></span>
</li>
<li>
<span>Bogotá, Colombia</span>
Expand All @@ -721,17 +721,17 @@ <h2> Masaje Relajante con énfasis en pies y manos </h2>
<span id="redes-siguenos">Siguenos</span>
<div id="redes-imag-div">
<div class="img-redes">
<a class="img-red" href="https://www.facebook.com/Home-massage-221454437992487">
<a class="img-red" href="https://www.facebook.com/homemassageColombia/">
<img class="img-red" src="./images/facebook.png" alt="logo.facebook">
</a>
</div>
<div class="img-redes">
<a class="img-red" href="https://www.instagram.com/homemasajebogota/">
<a class="img-red" href="https://www.instagram.com/homemassage08/">
<img class="img-red" src="./images/instagram.webp" alt="logo-instagram">
</a>
</div>
<div class="img-redes">
<a class="img-red" href="https://www.tiktok.com/@homme_massage">
<a class="img-red" href="https://www.tiktok.com/@homemasage08">
<img class="img-red" src="./images/tik-tok.png" alt="logo-tik tok"> </a>
</div>
</div>
Expand Down
257 changes: 237 additions & 20 deletions scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,36 @@ time60re.addEventListener("click", (e) => {

});

domiciliorelajante.addEventListener('click', (e) => tipoDeMasajesañadirclases(domiciliorelajante, visitanosrelajante))
visitanosrelajante.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanosrelajante, domiciliorelajante))

domiciliorelajante.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domiciliorelajante, visitanosrelajante );
if (time60re.classList.contains('text-decoration-underline')) {
precioactualrelajante.textContent = "170.000";
precioantesrelajante.textContent = "$190.000";
}else if (time90re.classList.contains('text-decoration-underline') ){
precioactualrelajante.textContent = "190.000";
precioantesrelajante.textContent = "$230.000";
}
else if (time120re.classList.contains('text-decoration-underline')){
precioactualrelajante.textContent = "270.000";
precioantesrelajante.textContent = "$290.000";
}
})

visitanosrelajante.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanosrelajante, domiciliorelajante );
if (time60re.classList.contains('text-decoration-underline')) {
precioactualrelajante.textContent = "140.000";
precioantesrelajante.textContent = "$180.000";
}else if (time90re.classList.contains('text-decoration-underline') ){
precioactualrelajante.textContent = "180.000";
precioantesrelajante.textContent = "$200.000";
}
else if (time120re.classList.contains('text-decoration-underline')){
precioactualrelajante.textContent = "240.000";
precioantesrelajante.textContent = "$280.000";
}
})



Expand Down Expand Up @@ -171,10 +199,38 @@ time60dre.addEventListener("click", () => {

});

domiciliodrenaje.addEventListener('click', (e) => tipoDeMasajesañadirclases(domiciliodrenaje, visitanosdrenaje))
visitanosdrenaje.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanosdrenaje, domiciliodrenaje))


domiciliodrenaje.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domiciliodrenaje, visitanosdrenaje );
if (time60dre.classList.contains('text-decoration-underline')) {
precioactualdrenaje.textContent = "165.000";
precioantesdrenaje.textContent = "$190.000";
}else if (time90dre.classList.contains('text-decoration-underline') ){
precioactualdrenaje.textContent = "199.000";
precioantesdrenaje.textContent = "$230.000";
}
else if (time120dre.classList.contains('text-decoration-underline')){
precioactualdrenaje.textContent = "278.000";
precioantesdrenaje.textContent = "$290.000";
}
})

visitanosdrenaje.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanosdrenaje, domiciliodrenaje );
if (time60dre.classList.contains('text-decoration-underline')) {
precioactualdrenaje.textContent = "145.000";
precioantesdrenaje.textContent = "$180.000";
}else if (time90dre.classList.contains('text-decoration-underline') ){
precioactualdrenaje.textContent = "180.000";
precioantesdrenaje.textContent = "$199.000";
}
else if (time120dre.classList.contains('text-decoration-underline')){
precioactualdrenaje.textContent = "250.000";
precioantesdrenaje.textContent = "$280.000";
}
})


time90de.addEventListener("click", () => {
console.log("click")
Expand All @@ -183,7 +239,7 @@ time90de.addEventListener("click", () => {
precioactualdeportivo.textContent = "220.000";
precioantesdeportivo.textContent = "$250.000";
}else{
precioactualdeportivo.textContent = "200.000";
precioactualdeportivo.textContent = "199.000";
precioantesdeportivo.textContent = "$210.000";
}

Expand Down Expand Up @@ -215,10 +271,35 @@ time60de.addEventListener("click", () => {

});

domiciliodeportivo.addEventListener('click', (e) => tipoDeMasajesañadirclases(domiciliodeportivo, visitanosdeportivo))
visitanosdeportivo.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanosdeportivo, domiciliodeportivo))

domiciliodeportivo.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domiciliodeportivo, visitanosdeportivo );
if (time60de.classList.contains('text-decoration-underline')) {
precioactualdeportivo.textContent = "170.000";
precioantesdeportivo.textContent = "$197.000";
}else if (time90de.classList.contains('text-decoration-underline') ){
precioactualdeportivo.textContent = "220.000";
precioantesdeportivo.textContent = "$250.000";
}
else if (time120de.classList.contains('text-decoration-underline')){
precioactualdeportivo.textContent = "280.000";
precioantesdeportivo.textContent = "$299.000";
}
})

visitanosdeportivo.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanosdeportivo, domiciliodeportivo );
if (time60de.classList.contains('text-decoration-underline')) {
precioactualdeportivo.textContent = "150.000";
precioantesdeportivo.textContent = "$180.000";
}else if (time90de.classList.contains('text-decoration-underline') ){
precioactualdeportivo.textContent = "199.000";
precioantesdeportivo.textContent = "$210.000";
}
else if (time120de.classList.contains('text-decoration-underline')){
precioactualdeportivo.textContent = "260.000";
precioantesdeportivo.textContent = "$280.000";
}
})

time90des.addEventListener("click", () => {
console.log("click")
Expand All @@ -227,7 +308,7 @@ time90des.addEventListener("click", () => {
precioactualdescon.textContent = "225.000";
precioantesdescon.textContent = "$250.000";
}else{
precioactualdescon.textContent = "200.000";
precioactualdescon.textContent = "198.000";
precioantesdescon.textContent = "$210.000";
}

Expand Down Expand Up @@ -259,10 +340,38 @@ time60des.addEventListener("click", () => {

});

domiciliodescon.addEventListener('click', (e) => tipoDeMasajesañadirclases(domiciliodescon, visitanosdescon))
visitanosdescon.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanosdescon, domiciliodescon))


domiciliodescon.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domiciliodescon, visitanosdescon );
if (time60des.classList.contains('text-decoration-underline')) {
precioactualdescon.textContent = "170.000";
precioantesdescon.textContent = "$198.000";
}else if (time90des.classList.contains('text-decoration-underline') ){
precioactualdescon.textContent = "225.000";
precioantesdescon.textContent = "$250.000";
}
else if (time120des.classList.contains('text-decoration-underline')){
precioactualdescon.textContent = "270.000";
precioantesdescon.textContent = "$298.000";
}
})

visitanosdescon.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanosdescon, domiciliodescon );
if (time60des.classList.contains('text-decoration-underline')) {
precioactualdescon.textContent = "150.000";
precioantesdescon.textContent = "$180.000";
}else if (time90des.classList.contains('text-decoration-underline') ){
precioactualdescon.textContent = "198.000";
precioantesdescon.textContent = "$210.000";
}
else if (time120des.classList.contains('text-decoration-underline')){
precioactualdescon.textContent = "260.000";
precioantesdescon.textContent = "$280.000";
}
})

time90pre.addEventListener("click", () => {
console.log("click")
preciosporminutos(time90pre, time60pre, time120pre);
Expand Down Expand Up @@ -302,9 +411,36 @@ time60pre.addEventListener("click", () => {

});

domicilioprenatal.addEventListener('click', (e) => tipoDeMasajesañadirclases(domicilioprenatal, visitanosprenatal))
visitanosprenatal.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanosprenatal, domicilioprenatal))

domicilioprenatal.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domicilioprenatal, visitanosprenatal );
if (time60pre.classList.contains('text-decoration-underline')) {
precioactualprenatal.textContent = "176.000";
precioantesprenatal.textContent = "$190.000";
}else if (time90pre.classList.contains('text-decoration-underline') ){
precioactualprenatal.textContent = "199.000";
precioantesprenatal.textContent = "$220.000";
}
else if (time120pre.classList.contains('text-decoration-underline')){
precioactualdescon.textContent = "270.000";
precioantesdescon.textContent = "$298.000";
}
})

visitanosprenatal.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanosprenatal, domicilioprenatal );
if (time60pre.classList.contains('text-decoration-underline')) {
precioactualprenatal.textContent = "150.000";
precioantesprenatal.textContent = "$160.000";
}else if (time90pre.classList.contains('text-decoration-underline') ){
precioactualprenatal.textContent = "190.000";
precioantesprenatal.textContent = "$210.000";
}
else if (time120pre.classList.contains('text-decoration-underline')){
precioactualprenatal.textContent = "250.000";
precioantesprenatal.textContent = "$270.000";
}
})

time90pos.addEventListener("click", () => {
console.log("click")
Expand Down Expand Up @@ -345,15 +481,42 @@ time60pos.addEventListener("click", () => {

});

domicilioposnatal.addEventListener('click', (e) => tipoDeMasajesañadirclases(domicilioposnatal, visitanosposnatal))
visitanosposnatal.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanosposnatal, domicilioposnatal))

domicilioposnatal.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domicilioposnatal, visitanosposnatal );
if (time60pos.classList.contains('text-decoration-underline')) {
precioactualposnatal.textContent = "170.000";
precioantesposnatal.textContent = "$190.000";
}else if (time90pos.classList.contains('text-decoration-underline') ){
precioactualposnatal.textContent = "199.000";
precioantesposnatal.textContent = "$230.000";
}
else if (time120pos.classList.contains('text-decoration-underline')){
precioactualposnatal.textContent = "270.000";
precioantesposnatal.textContent = "$285.000";
}
})

visitanosposnatal.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanosposnatal, domicilioposnatal );
if (time60pos.classList.contains('text-decoration-underline')) {
precioactualposnatal.textContent = "140.000";
precioantesposnatal.textContent = "$160.000";
}else if (time90pos.classList.contains('text-decoration-underline') ){
precioactualposnatal.textContent = "180.000";
precioantesposnatal.textContent = "$200.000";
}
else if (time120pos.classList.contains('text-decoration-underline')){
precioactualposnatal.textContent = "250.000";
precioantesposnatal.textContent = "$270.000";
}
})

time90pi.addEventListener("click", () => {
console.log("click")
preciosporminutos(time90pi, time60pi, time120pi);
if (domiciliopiedras.classList.contains('text-decoration-underline')) {
precioactualpiedras.textContent = "250.000";
precioactualpiedras.textContent = "249.000";
precioantespiedras.textContent = "$290.000";
}else{
precioactualpiedras.textContent = "220.000";
Expand Down Expand Up @@ -388,9 +551,36 @@ time60pi.addEventListener("click", () => {

});

domiciliopiedras.addEventListener('click', (e) => tipoDeMasajesañadirclases(domiciliopiedras, visitanospiedras))
visitanospiedras.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanospiedras, domiciliopiedras))

domiciliopiedras.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domiciliopiedras, visitanospiedras );
if (time60pi.classList.contains('text-decoration-underline')) {
precioactualpiedras.textContent = "185.000";
precioantespiedras.textContent = "$195.000";
}else if (time90pi.classList.contains('text-decoration-underline') ){
precioactualpiedras.textContent = "249.000";
precioantespiedras.textContent = "$290.000";
}
else if (time120pi.classList.contains('text-decoration-underline')){
precioactualpiedras.textContent = "279.000";
precioantespiedras.textContent = "$298.000";
}
})

visitanospiedras.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanospiedras, domiciliopiedras );
if (time60pi.classList.contains('text-decoration-underline')) {
precioactualpiedras.textContent = "165.000";
precioantespiedras.textContent = "$185.000";
}else if (time90pi.classList.contains('text-decoration-underline') ){
precioactualpiedras.textContent = "220.000";
precioantespiedras.textContent = "$230.000";
}
else if (time120pi.classList.contains('text-decoration-underline')){
precioactualpiedras.textContent = "260.000";
precioantespiedras.textContent = "$270.000";
}
})

time90pies.addEventListener("click", () => {
console.log("click")
Expand Down Expand Up @@ -431,6 +621,33 @@ time60pies.addEventListener("click", () => {

});

domiciliopies.addEventListener('click', (e) => tipoDeMasajesañadirclases(domiciliopies, visitanospies))
visitanospies.addEventListener('click', (e) => tipoDeMasajesañadirclases( visitanospies, domiciliopies))

domiciliopies.addEventListener('click', (e) => {
tipoDeMasajesañadirclases( domiciliopies, visitanospies );
if (time60pies.classList.contains('text-decoration-underline')) {
precioactualpies.textContent = "160.000";
precioantespies.textContent = "$189.000";
}else if (time90pies.classList.contains('text-decoration-underline') ){
precioactualpies.textContent = "230.000";
precioantespies.textContent = "$260.000";
}
else if (time120pies.classList.contains('text-decoration-underline')){
precioactualpies.textContent = "270.000";
precioantespies.textContent = "$298.000";
}
})

visitanospies.addEventListener('click', (e) => {
tipoDeMasajesañadirclases(visitanospies, domiciliopies );
if (time60pies.classList.contains('text-decoration-underline')) {
precioactualpies.textContent = "140.000";
precioantespies.textContent = "$140.000";
}else if (time90pies.classList.contains('text-decoration-underline') ){
precioactualpies.textContent = "190.000";
precioantespies.textContent = "$200.000";
}
else if (time120pies.classList.contains('text-decoration-underline')){
precioactualpies.textContent = "250.000";
precioantespies.textContent = "$260.000";
}
})