Skip to content

Commit

Permalink
C
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloWIB committed Aug 14, 2024
1 parent 92c6d18 commit 8051324
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 52 deletions.
Binary file added 13. ESTATICA (SANRAM).zip
Binary file not shown.
16 changes: 16 additions & 0 deletions CSS/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1357,4 +1357,20 @@ body footer > :nth-child(2) {
.whatsappScreenPositionInternal .messengerCallAction > :nth-child(1) img {
width: 100%;
cursor: pointer;
}

.lastIMG {
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
gap: 1rem;
margin-top: 1rem;
}
.lastIMG div {
width: 100%;
max-width: 395px;
}
.lastIMG div img {
width: 100%;
}/*# sourceMappingURL=styles.css.map */
2 changes: 1 addition & 1 deletion CSS/styles.css.map

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions CSS/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1617,3 +1617,18 @@ body {

// WhatsApp screen ---

.lastIMG{
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
gap: 1rem;
margin-top: 1rem;
div{
width: 100%;
max-width: 395px;
img{
width: 100%;
}
}
}
37 changes: 0 additions & 37 deletions JS/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,40 +257,3 @@ actualizarExperiencia();
var clienteSatisfechos = document.getElementById('clienteSatisfechos').textContent = '+' + 75;
var presenciaEnPaises = document.getElementById('presenciaEnPaises').textContent = '+' + 2;


$(document).ready(function () {
function setupCarousel(carouselId) {
let currentIndex = 0;
const $carousel = $('#' + carouselId);
const $slides = $carousel.find('.slide3');
const $dots = $carousel.find('.dot3');
const slideCount = $slides.length;

function showSlide(index) {
$slides.each(function (i) {
$(this).css('transform', 'translateX(' + (-100 * index) + '%)');
});
$dots.removeClass('active');
$dots.eq(index).addClass('active');
}

function nextSlide() {
currentIndex = (currentIndex + 1) % slideCount;
showSlide(currentIndex);
}

$dots.each(function (index) {
$(this).click(function () {
currentIndex = index;
showSlide(currentIndex);
});
});

setInterval(nextSlide, 3500); // Adjust interval as needed

showSlide(currentIndex);
}

// Initialize the new carousel
setupCarousel('mainID3');
});
22 changes: 8 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,22 +163,16 @@ <h4>Dejanos tu información, nosotros te contactamos</h4>
</div>
<button type="submit" value="ENVIAR">ENVIAR</button>
</form>
<div id="mainID3" class="slider3">

<div class="slides3">
<div class="slide3">
<img src="IMG/Mayoreo y Menudeo.png" alt="Image 1" />
</div>
<div class="slide3">
<img src="IMG/Mayoreo y Menudeo-2.png" alt="Image 4" />
</div>
</div>
</div>
<div class="lastIMG">
<div class="slide3">
<img src="IMG/Mayoreo y Menudeo.png" alt="Image 1" />
</div>
<div class="dots3">
<span class="dot3" data-slide="9"></span>
<span class="dot3" data-slide="10"></span>
<div class="slide3">
<img src="IMG/Mayoreo y Menudeo-2.png" alt="Image 4" />
</div>
</div>
</div>
</div>
</aside>
<main>
Expand Down Expand Up @@ -599,7 +593,7 @@ <h4>Lucía V.</h4>
</div>
</div>
</div>
<div class="findCont">
<div >
<h3>Contáctanos</h3>
<div>
<p>
Expand Down

0 comments on commit 8051324

Please sign in to comment.