Skip to content

Commit 00b7c10

Browse files
committed
Fix showcase card
1 parent 9351b3b commit 00b7c10

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

apps/landing/src/components/showcase/ShowcaseCard.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,17 @@ interface ShowcaseCardProps {
66
}
77
export function ShowcaseCard({ name, image }: ShowcaseCardProps) {
88
return (
9-
<VStack gap="8px">
10-
<Image aspectRatio="1.77" h="100%" src={image} w="100%" />
9+
<VStack cursor="pointer" gap="8px" role="group">
10+
<Box h="auto" overflow="hidden" w="100%">
11+
<Image
12+
_groupHover={{ transform: 'scale(1.1)' }}
13+
aspectRatio="1.77"
14+
h="100%"
15+
src={image}
16+
transition="transform 0.3s"
17+
w="100%"
18+
/>
19+
</Box>
1120
<Flex alignItems="center" gap="12px">
1221
<Text
1322
color="#000"

0 commit comments

Comments
 (0)