Update: Creacion de Papilocare
This commit is contained in:
@@ -0,0 +1,405 @@
|
||||
<style>
|
||||
.back0 {
|
||||
background-image: url(img/bg04.jpg);
|
||||
background-size: cover;
|
||||
background-position: 12% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.btn-pop {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#svg-container {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#svg-container svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.btn-pop {
|
||||
cursor: pointer;
|
||||
transform-box: content-box;
|
||||
transform-origin: center !important;
|
||||
filter: opacity(0.7);
|
||||
}
|
||||
|
||||
.btn-pop.selected {
|
||||
filter: opacity(1);
|
||||
-webkit-transition: all 0.5s ease;
|
||||
-moz-transition: all 0.5s ease;
|
||||
-o-transition: all 0.5s ease;
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
|
||||
.btn-pop.visited {
|
||||
filter: opacity(1);
|
||||
}
|
||||
|
||||
.pop-type0 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.imgs0:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
bottom: 0rem;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/04.1.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.imgs1:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
bottom: 0rem;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/04.2.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.imgs2:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
bottom: 0rem;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/04.3.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.imgs3:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
bottom: 0rem;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/04.4.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.imgs4:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
bottom: 0rem;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/04.5.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.imgs5:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
bottom: 0rem;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/04.6.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.imgs6:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
bottom: 0rem;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/04.7.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
/* Asegurar que el contenedor permita posicionamiento absoluto del pseudo-elemento */
|
||||
.imgs0,
|
||||
.imgs1,
|
||||
.imgs2,
|
||||
.imgs3,
|
||||
.imgs4,
|
||||
.imgs5,
|
||||
.imgs6 {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media(min-width: 768px) {
|
||||
.pop-type0 {
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
@media(min-width: 1200px) {
|
||||
.pop-type0 {
|
||||
width: 45%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div class='page-sco'>
|
||||
<div
|
||||
class="position-relative w-100 back0 flex-fill py-2 py-md-4 d-flex flex-column justify-content-center align-items-center">
|
||||
<div class='container'>
|
||||
<div class='row justify-content-center align-items-center'>
|
||||
<div class='col-12'>
|
||||
<div class='row justify-content-center align-items-center'>
|
||||
<div class="col-12 text-center mb-3 animate__animated animate__bounceInDown">
|
||||
<h2 class="text-secondary fw-bold">Una fórmula única con <span class="text-pink-1">7</span> componentes
|
||||
clave</h2>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-10 col-md-5 col-xl-4 text-center order-2 order-md-1 animate__animated animate__zoomIn">
|
||||
<div id="svg-container" class=""></div>
|
||||
</div>
|
||||
<div class="col-12 col-md-10 col-xl-7 order-1 order-md-2 animate__animated animate__fadeInRight">
|
||||
<p><b>Papilocare<sup>®</sup></b> cuenta con una <b>fórmula única patentada</b> que combina
|
||||
<b>biotecnología
|
||||
avanzada
|
||||
e ingredientes
|
||||
naturales</b>. Sus componentes se organizan en dos sistemas especializados: <b>Niosomas y
|
||||
Fitosomas</b>, que
|
||||
permiten una liberación más efectiva y una mejor penetración de los ingredientes en la mucosa.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-none">
|
||||
<div id="pop6">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center mb-5 mb-md-0 py-md-5 px-4">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<h2 class="fw-medium text-pink-1 text-center">Coriolus versicolor</h2>
|
||||
<p>Hongo que contiene PSK y PSP, conocidos por sus propiedades <b>inmunoestimulantes</b>, con actividad
|
||||
<b>antimicrobiana y antitumoral</b>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pop5">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center mb-5 mb-md-0 py-md-5 px-4">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<h2 class="fw-medium text-pink-1 text-center">Neem</h2>
|
||||
<p>Planta medicinal con propiedades <b>antivirales, antisépticas, antipiréticas, antimicrobianas y
|
||||
antiinflamatorias</b>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pop4">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center mb-5 mb-md-0 py-md-5 px-4">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<h2 class="fw-medium text-pink-1 text-center">Aloe vera</h2>
|
||||
<p>Ingrediente con acción <b>hidratante, cicatrizante y antiinflamatoria</b>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pop3">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center mb-5 mb-md-0 py-md-5 px-4">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<h2 class="fw-medium text-pink-1 text-center">BioEcolia<sup>®</sup></h2>
|
||||
<p>Prebiótico que <b>reequilibra la microbiota vaginal</b>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pop2">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center mb-5 mb-md-0 py-md-5 px-4">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<h2 class="fw-medium text-pink-1 text-center">Centella asiática</h2>
|
||||
<p>Participa en la <b>regeneración y cicatrización</b> de las mucosas, actuando sobre fibroblastos y
|
||||
matriz
|
||||
extracelular, favoreciendo la <b>reparación de erosiones mucosas.</b></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pop1">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center mb-5 mb-md-0 py-md-5 px-4">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<h2 class="fw-medium text-pink-1 text-center">β-glucano</h2>
|
||||
<p>Polisacárido que promueve la <b>respuesta inmunitaria cutánea</b>, con efecto <b>antioxidante y
|
||||
antiinflamatorio</b>. Además, <b>acelera el proceso de cicatrización</b>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pop0">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center mb-5 mb-md-0 py-md-5 px-4">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<h2 class="fw-medium text-pink-1 text-center">Ácido hialurónico</h2>
|
||||
<p>Esencial para mantener la <b>hidratación intra- y pericelular</b> y conservar la <b>arquitectura del
|
||||
tejido
|
||||
conjuntivo</b>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
"use strict";
|
||||
$('body').addClass('fake');
|
||||
|
||||
|
||||
|
||||
const audiom07 = CourseNav.createSound('audio/audiom07.mp3');
|
||||
|
||||
const audios = [
|
||||
CourseNav.createSound('audio/audiom08.mp3'),
|
||||
CourseNav.createSound('audio/audiom09.mp3'),
|
||||
CourseNav.createSound('audio/audiom10.mp3'),
|
||||
CourseNav.createSound('audio/audiom11.mp3'),
|
||||
CourseNav.createSound('audio/audiom12.mp3'),
|
||||
CourseNav.createSound('audio/audiom13.mp3'),
|
||||
CourseNav.createSound('audio/audiom14.mp3'),
|
||||
];
|
||||
|
||||
CourseNav.audioController.stopAllSoundsAndPlay(audiom07);
|
||||
|
||||
audiom07.on('play', function () {
|
||||
|
||||
});
|
||||
|
||||
audiom07.on('end', function () {
|
||||
$('.btn-pop').removeClass('disabled');
|
||||
});
|
||||
|
||||
function loadSVG() {
|
||||
let figure;
|
||||
figure = 'img/04.0.svg'
|
||||
$.get(figure, function (data) {
|
||||
var svg = $(data).find('svg');
|
||||
$('#svg-container').html(svg);
|
||||
// attachClickHandlers(); // Attach click handlers after SVG is loaded
|
||||
// Remove width and height attributes to make SVG responsive
|
||||
svg.removeAttr('width').removeAttr('height');
|
||||
let index = 0;
|
||||
$('[id*="xbtn"]').each(function () {
|
||||
$(this).addClass('btn-pop animate__animated animate__pulse animate__infinite disable');
|
||||
$(this).attr('data-popid', '#pop' + index);
|
||||
index++;
|
||||
});
|
||||
pops();
|
||||
}, 'xml');
|
||||
}
|
||||
|
||||
loadSVG();
|
||||
|
||||
function pops() {
|
||||
$('.btn-pop').click(function (e) {
|
||||
e.preventDefault();
|
||||
$(this).removeClass('animate__animated animate__pulse animate__infinite').addClass('completed visited');
|
||||
const index = $('.btn-pop').index(this);
|
||||
console.log(index);
|
||||
CourseNav.audioController.stopAllSoundsAndPlay(audios[index]);
|
||||
const html = $($(this).data('popid')).html();
|
||||
Swal.fire({
|
||||
html: html,
|
||||
target: "body",
|
||||
customClass: {
|
||||
popup: 'pop-type0 bg-transparent p-0',
|
||||
htmlContainer: 'html-pop-style p-3 imgs imgs' + index,
|
||||
confirmButton: 'btn btn-begin text-white fw-bold animate__animated animate__pulse animate__infinite py-1 px-4'
|
||||
},
|
||||
confirmButtonText: "Cerrar",
|
||||
showConfirmButton: true,
|
||||
allowOutsideClick: false,
|
||||
allowEscapeKey: false,
|
||||
focusConfirm: false,
|
||||
backdrop: "rgba(171, 180, 183, .8)",
|
||||
// width: "45%",
|
||||
heightAuto: false,
|
||||
didOpen: () => {
|
||||
document.body.style.paddingRight = '';
|
||||
},
|
||||
didClose: () => {
|
||||
document.body.style.paddingRight = '';
|
||||
CourseNav.audioController.stopAudio();
|
||||
if ($('.btn-pop').length == $('.btn-pop.completed').length) {
|
||||
CourseNav.setSlideVisited(true);
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user