Skip to content

Commit 87ff155

Browse files
authored
Merge pull request #12 from dev-five-git/fix-landing
Fix finger point image
2 parents e1b62d4 + 5b6844a commit 87ff155

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

apps/landing/src/app/Trans.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use client'
2-
import { Flex, Image, Input, Text, VStack } from '@devup-ui/react'
2+
import { Box, Flex, Image, Input, Text, VStack } from '@devup-ui/react'
33
import { useEffect, useState } from 'react'
44

55
export function Trans() {
@@ -22,9 +22,13 @@ export function Trans() {
2222
return (
2323
<VStack gap="30px">
2424
<Flex alignItems="flex-start" gap="20px">
25-
<Image
26-
alt="Finger point image"
27-
src="/images/home/finger-point.svg"
25+
<Box
26+
aria-label="Finger pointing image"
27+
bg="$text"
28+
h="32px"
29+
maskImage="url(/images/home/finger-point.svg)"
30+
maskPosition="center"
31+
maskRepeat="no-repeat"
2832
w="28px"
2933
/>
3034
<Text color="$text" pos="relative" top="-2px" typography="mainTextSm">

0 commit comments

Comments
 (0)