mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-18 15:27:52 +00:00
@@ -39,7 +39,7 @@ function PromoStripSingleSlide({ photo, onRatioLoad }: SlideProps) {
|
|||||||
|
|
||||||
{/* Label Interna - Estilo Premium/iOS */}
|
{/* Label Interna - Estilo Premium/iOS */}
|
||||||
<div className="absolute bottom-6 left-6 z-10 md:bottom-10 md:left-10">
|
<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
|
Destaque
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -118,7 +118,7 @@ export function TvonePromoStrip() {
|
|||||||
}, [photos, index, ratios]);
|
}, [photos, index, ratios]);
|
||||||
|
|
||||||
if (loading && photos.length === 0) {
|
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;
|
if (photos.length === 0) return null;
|
||||||
@@ -152,7 +152,7 @@ export function TvonePromoStrip() {
|
|||||||
<button
|
<button
|
||||||
key={i}
|
key={i}
|
||||||
onClick={() => setIndex(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"
|
index === i ? "w-8 bg-white" : "w-1.5 bg-white/30 hover:bg-white/60"
|
||||||
}`}
|
}`}
|
||||||
aria-label={`Ir para slide ${i + 1}`}
|
aria-label={`Ir para slide ${i + 1}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user