Skip to content

Commit 0eabe2f

Browse files
authored
Merge pull request #11004 from ethereum/gasPage
Add Gas page
2 parents 57dc62c + 51eb2ee commit 0eabe2f

File tree

4 files changed

+551
-1
lines changed

4 files changed

+551
-1
lines changed

src/components/Footer.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ const Footer: React.FC<IProps> = () => {
117117
to: `/wallets/`,
118118
text: t("ethereum-wallets"),
119119
},
120+
{
121+
to: "/gas/",
122+
text: "Gas fees",
123+
},
120124
{
121125
to: "/security/",
122126
text: t("ethereum-security"),

src/components/HorizontalCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Text, Box, Flex, FlexProps } from "@chakra-ui/react"
44

55
export interface IProps extends Omit<FlexProps, "title"> {
66
emoji: string
7-
title: ReactNode
7+
title?: ReactNode
88
description: ReactNode
99
emojiSize?: number
1010
}

src/components/Nav/useNav.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ export const useNav = ({ path }: { path: string }) => {
108108
text: t("ethereum-wallets"),
109109
to: "/wallets/",
110110
},
111+
{
112+
text: "Gas fees",
113+
to: "/gas/",
114+
},
111115
{
112116
text: t("ethereum-security"),
113117
to: "/security/",
@@ -120,6 +124,7 @@ export const useNav = ({ path }: { path: string }) => {
120124
text: t("smart-contracts"),
121125
to: "/smart-contracts/",
122126
},
127+
123128
{
124129
text: t("quizzes-title"),
125130
to: "/quizzes/",

0 commit comments

Comments
 (0)