File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11const AuctionItemCardSkeleton = ( ) => {
22 return (
3- < div className = "flex w-full animate-pulse items-center justify-between gap-2.5" >
4- < div className = "w-26 .5 h-26.5 rounded-lg bg-neutral-200" />
5- < div className = "flex-1 space-y-2.5 [&_div]:rounded [&_div]:bg-neutral-200" >
6- < div className = "h-6 w-3/4" />
3+ < div className = "mb-2 flex w-full animate-pulse justify-between gap-2.5" >
4+ < div className = "size-21 .5 rounded-lg border-neutral-200 bg-neutral-200" />
5+ < div className = "mt-2 flex-1 space-y-2 [&_div]:rounded [&_div]:bg-neutral-200" >
6+ < div className = "h-5 w-3/4" />
77 < div className = "h-4 w-3/5" />
8- < div className = "w-15 h-6" />
98 </ div >
109 </ div >
1110 ) ;
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ const CategoriesFilter = () => {
1111
1212 if ( isLoading || ! categoriesData ) {
1313 return (
14- < div className = "my-3 flex gap-2" >
14+ < div className = "mb-3 mt-2 flex gap-2" >
1515 { Array . from ( { length : 6 } ) . map ( ( _ , i ) => (
16- < div key = { i } className = "w-89 h-[35px] animate-pulse rounded bg-neutral-200" />
16+ < div key = { i } className = "w-89 h-[35px] animate-pulse rounded-md bg-neutral-200" />
1717 ) ) }
1818 </ div >
1919 ) ; // 로딩 상태에서의 스켈레톤 UI
Original file line number Diff line number Diff line change @@ -55,12 +55,10 @@ const AuctionItemCard = ({
5555 className = "relative mb-2 flex w-full items-center justify-between gap-2.5 overflow-hidden"
5656 >
5757 < div className = "z-auto" >
58- { /* <BadgeBidStatus status={finalStatus} /> */ }
5958 < Thumbnail
6059 url = { thumbnailUrl }
6160 alt = { `${ title } 썸네일` }
6261 size = { 86 }
63- className = "size-24"
6462 priority = { idx ! < 5 }
6563 quality = { 50 }
6664 fetchPriority = { idx === 0 ? 'high' : undefined }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const AuctionItemList = ({
4747
4848 if ( isLoading ) {
4949 return (
50- < div className = "flex min-h-[100vhd] flex-col gap-4 " >
50+ < div className = "flex min-h-[100vhd] flex-col" >
5151 { Array . from ( { length : 5 } ) . map ( ( _ , i ) => (
5252 < AuctionItemCardSkeleton key = { i } />
5353 ) ) }
You can’t perform that action at this time.
0 commit comments