Skip to content

Commit 41d0882

Browse files
authored
Merge pull request #14848 from TylerAPfledderer/feat/logo-tailwind
[ShadCN]: migrate Logo to Tailwind
2 parents 1e3d194 + 6d191ab commit 41d0882

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/components/Logo/index.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { useTranslation } from "next-i18next"
2-
import { useColorModeValue } from "@chakra-ui/react"
32

4-
import { Image } from "@/components/Image"
3+
import { TwImage as Image } from "@/components/Image"
54

5+
import useColorModeValue from "@/hooks/useColorModeValue"
66
import darkImage from "@/public/images/ef-logo.png"
77
import lightImage from "@/public/images/ef-logo-white.png"
88

@@ -11,7 +11,11 @@ const Logo = () => {
1111
const image = useColorModeValue(darkImage, lightImage)
1212

1313
return (
14-
<Image src={image} h={100} w="auto" alt={t("ethereum-foundation-logo")} />
14+
<Image
15+
src={image}
16+
className="h-[100px] w-auto"
17+
alt={t("ethereum-foundation-logo")}
18+
/>
1519
)
1620
}
1721

0 commit comments

Comments
 (0)