feat: improve loading state in CarouselHero and CategorySection with ImageSkeletonIcon

This commit is contained in:
Ardeman
2025-03-20 18:22:07 +08:00
parent 33096ab7c1
commit 63bbf70bd6
3 changed files with 30 additions and 13 deletions
-1
View File
@@ -85,7 +85,6 @@ export const CarouselSection = (properties: TNews) => {
fallback={Array.from({ length: 3 }).map((_, index) => (
<div
key={index}
role="status"
className="embla__slide flex w-full min-w-0 flex-none animate-pulse flex-col justify-between gap-3 sm:w-1/3"
>
<div className="flex h-[280px] w-full items-center justify-center rounded-md bg-gray-300 dark:bg-gray-700">