Skip to content

Commit c350ea3

Browse files
committed
convert eth home icon to svg
1 parent f8e42bd commit c350ea3

File tree

4 files changed

+45
-52
lines changed

4 files changed

+45
-52
lines changed

src/components/Nav/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Nav = () => {
4242
aria-label={t("home")}
4343
className="inline-flex items-center no-underline"
4444
>
45-
<EthHomeIcon opacity={0.85} _hover={{ opacity: 1 }} />
45+
<EthHomeIcon className="h-[35px] w-[22px] opacity-85 hover:opacity-100" />
4646
</BaseLink>
4747
{/* Desktop */}
4848
<div className="ms-3 flex w-full justify-end md:justify-between xl:ms-8">

src/components/icons/EthHomeIcon.tsx

Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Loading

src/components/icons/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// General Icons
2-
import { EthHomeIcon } from "./EthHomeIcon"
2+
import EthHomeIcon from "./eth-home-icon.svg"
33
import FeedbackGlyphIcon from "./feedback-glyph-icon.svg"
44
import FeedbackThumbsUpIcon from "./feedback-thumbs-up-icon.svg"
55
import { HighlightDarkIcon } from "./HighlightDarkIcon"

0 commit comments

Comments
 (0)