Skip to content

Commit

Permalink
feat: add img radius
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyotato committed Apr 17, 2024
1 parent 548c2f5 commit 22e4298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/shared/ItemCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ const ItemCard = ({
>
<AspectRatio ratio={1920 / 1080}>
<Image
radius={'md'}
src={article?.thumbnailUrl || null}
alt={`${article?.thumbnailUrl} 이미지`}
fallbackSrc='https://placehold.co/600x400?text=No Image'
loading='lazy'
// loading='lazy'
/>
</AspectRatio>
<Text c='dimmed' size='xs' tt='uppercase' fw={700} mt='md'>
Expand Down Expand Up @@ -87,6 +88,5 @@ export const Wrap = styled.div`
.card-img {
width: 6rem;
border-radius
}
`;

0 comments on commit 22e4298

Please sign in to comment.