Spaces:
Running
Running
coloque um carrossel de fotos na área do hero - Initial Deployment
Browse files- index.html +60 -4
- prompts.txt +1 -0
index.html
CHANGED
|
@@ -33,6 +33,13 @@
|
|
| 33 |
display: flex;
|
| 34 |
width: 100%;
|
| 35 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
.floating {
|
| 37 |
animation: floating 3s ease-in-out infinite;
|
| 38 |
}
|
|
@@ -68,8 +75,8 @@
|
|
| 68 |
<section class="hero-gradient text-white py-20">
|
| 69 |
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
|
| 70 |
<div class="md:w-1/2 mb-10 md:mb-0">
|
| 71 |
-
<h1 class="text-
|
| 72 |
-
Automatize
|
| 73 |
</h1>
|
| 74 |
<p class="text-xl mb-8 opacity-90">
|
| 75 |
Conectamos WhatsApp, calendários e emails com agentes de atendimento automatizado para transformar sua operação comercial.
|
|
@@ -83,8 +90,25 @@
|
|
| 83 |
</a>
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
-
<div class="md:w-1/2
|
| 87 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
</section>
|
|
@@ -545,6 +569,38 @@
|
|
| 545 |
</div>
|
| 546 |
|
| 547 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 548 |
// Back to Top Button
|
| 549 |
const backToTopButton = document.getElementById('backToTop');
|
| 550 |
|
|
|
|
| 33 |
display: flex;
|
| 34 |
width: 100%;
|
| 35 |
}
|
| 36 |
+
.hero-carousel {
|
| 37 |
+
height: 400px;
|
| 38 |
+
}
|
| 39 |
+
.hero-carousel img {
|
| 40 |
+
height: 400px;
|
| 41 |
+
object-fit: contain;
|
| 42 |
+
}
|
| 43 |
.floating {
|
| 44 |
animation: floating 3s ease-in-out infinite;
|
| 45 |
}
|
|
|
|
| 75 |
<section class="hero-gradient text-white py-20">
|
| 76 |
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
|
| 77 |
<div class="md:w-1/2 mb-10 md:mb-0">
|
| 78 |
+
<h1 class="text-5xl md:text-5xl font-bold leading-tight mb-6">
|
| 79 |
+
Automatize seu Negócio
|
| 80 |
</h1>
|
| 81 |
<p class="text-xl mb-8 opacity-90">
|
| 82 |
Conectamos WhatsApp, calendários e emails com agentes de atendimento automatizado para transformar sua operação comercial.
|
|
|
|
| 90 |
</a>
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
+
<div class="md:w-1/2">
|
| 94 |
+
<div class="hero-carousel relative overflow-hidden rounded-xl shadow-xl">
|
| 95 |
+
<div class="flex transition-transform duration-500">
|
| 96 |
+
<div class="flex-shrink-0 w-full">
|
| 97 |
+
<img src="https://cdn-icons-png.flaticon.com/512/3271/3271597.png" alt="Automação de Negócios" class="w-full">
|
| 98 |
+
</div>
|
| 99 |
+
<div class="flex-shrink-0 w-full">
|
| 100 |
+
<img src="https://cdn-icons-png.flaticon.com/512/2933/2933245.png" alt="Integração de Sistemas" class="w-full">
|
| 101 |
+
</div>
|
| 102 |
+
<div class="flex-shrink-0 w-full">
|
| 103 |
+
<img src="https://cdn-icons-png.flaticon.com/512/1055/1055687.png" alt="Inteligência Artificial" class="w-full">
|
| 104 |
+
</div>
|
| 105 |
+
</div>
|
| 106 |
+
<div class="absolute bottom-4 left-0 right-0 flex justify-center space-x-2">
|
| 107 |
+
<button class="hero-carousel-indicator w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 transition" data-index="0"></button>
|
| 108 |
+
<button class="hero-carousel-indicator w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 transition" data-index="1"></button>
|
| 109 |
+
<button class="hero-carousel-indicator w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 transition" data-index="2"></button>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
</div>
|
| 113 |
</div>
|
| 114 |
</section>
|
|
|
|
| 569 |
</div>
|
| 570 |
|
| 571 |
<script>
|
| 572 |
+
// Hero Carousel
|
| 573 |
+
const heroCarousel = document.querySelector('.hero-carousel .flex');
|
| 574 |
+
const heroIndicators = document.querySelectorAll('.hero-carousel-indicator');
|
| 575 |
+
let heroCurrentIndex = 0;
|
| 576 |
+
|
| 577 |
+
function updateHeroCarousel() {
|
| 578 |
+
heroCarousel.style.transform = `translateX(-${heroCurrentIndex * 100}%)`;
|
| 579 |
+
|
| 580 |
+
heroIndicators.forEach((indicator, index) => {
|
| 581 |
+
if (index === heroCurrentIndex) {
|
| 582 |
+
indicator.classList.add('bg-opacity-100');
|
| 583 |
+
indicator.classList.remove('bg-opacity-50');
|
| 584 |
+
} else {
|
| 585 |
+
indicator.classList.add('bg-opacity-50');
|
| 586 |
+
indicator.classList.remove('bg-opacity-100');
|
| 587 |
+
}
|
| 588 |
+
});
|
| 589 |
+
}
|
| 590 |
+
|
| 591 |
+
heroIndicators.forEach(indicator => {
|
| 592 |
+
indicator.addEventListener('click', () => {
|
| 593 |
+
heroCurrentIndex = parseInt(indicator.dataset.index);
|
| 594 |
+
updateHeroCarousel();
|
| 595 |
+
});
|
| 596 |
+
});
|
| 597 |
+
|
| 598 |
+
// Auto-rotate carousel
|
| 599 |
+
setInterval(() => {
|
| 600 |
+
heroCurrentIndex = (heroCurrentIndex + 1) % 3;
|
| 601 |
+
updateHeroCarousel();
|
| 602 |
+
}, 5000);
|
| 603 |
+
|
| 604 |
// Back to Top Button
|
| 605 |
const backToTopButton = document.getElementById('backToTop');
|
| 606 |
|
prompts.txt
CHANGED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
coloque um carrossel de fotos na área do hero
|