fix sllide
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-06 16:28:12 +01:00
parent ff97450a39
commit b2ba56d09d
+3 -3
View File
@@ -39,7 +39,7 @@ function PromoStripSingleSlide({ photo, onRatioLoad }: SlideProps) {
{/* Label Interna - Estilo Premium/iOS */}
<div className="absolute bottom-6 left-6 z-10 md:bottom-10 md:left-10">
<span className="rounded-full bg-black/40 backdrop-blur-xl px-4 py-2 text-[10px] font-bold uppercase tracking-[0.2em] text-white border border-white/10 shadow-2xl">
<span className=" bg-black/40 backdrop-blur-xl px-4 py-2 text-[10px] font-bold uppercase tracking-[0.2em] text-white border border-white/10 shadow-2xl">
Destaque
</span>
</div>
@@ -118,7 +118,7 @@ export function TvonePromoStrip() {
}, [photos, index, ratios]);
if (loading && photos.length === 0) {
return <div className="aspect-[16/9] w-full animate-pulse bg-neutral-100 dark:bg-neutral-800 rounded-3xl" />;
return <div className="aspect-[16/9] w-full animate-pulse bg-neutral-100 dark:bg-neutral-800" />;
}
if (photos.length === 0) return null;
@@ -152,7 +152,7 @@ export function TvonePromoStrip() {
<button
key={i}
onClick={() => setIndex(i)}
className={`h-1.5 rounded-full transition-all duration-500 ${
className={`h-1.5 transition-all duration-500 ${
index === i ? "w-8 bg-white" : "w-1.5 bg-white/30 hover:bg-white/60"
}`}
aria-label={`Ir para slide ${i + 1}`}