feat: improve loading state in CarouselHero and CategorySection with ImageSkeletonIcon
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user