We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e51d18 commit e351b46Copy full SHA for e351b46
src/components/Logo/index.tsx
@@ -1,8 +1,8 @@
1
import { useTranslation } from "next-i18next"
2
-import { useColorModeValue } from "@chakra-ui/react"
3
4
-import { Image } from "@/components/Image"
+import { TwImage as Image } from "@/components/Image"
5
+import useColorModeValue from "@/hooks/useColorModeValue"
6
import darkImage from "@/public/images/ef-logo.png"
7
import lightImage from "@/public/images/ef-logo-white.png"
8
@@ -11,7 +11,11 @@ const Logo = () => {
11
const image = useColorModeValue(darkImage, lightImage)
12
13
return (
14
- <Image src={image} h={100} w="auto" alt={t("ethereum-foundation-logo")} />
+ <Image
15
+ src={image}
16
+ className="h-[100px] w-auto"
17
+ alt={t("ethereum-foundation-logo")}
18
+ />
19
)
20
}
21
0 commit comments