File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react"
2
- import { Flex , Text } from "@chakra-ui/react"
2
+ import { Flex , FlexProps , Text } from "@chakra-ui/react"
3
3
import Emoji from "./Emoji"
4
4
5
- export interface IProps {
5
+ export interface IProps extends FlexProps {
6
6
children ?: React . ReactNode
7
7
className ?: string
8
8
emoji ?: string
Original file line number Diff line number Diff line change @@ -111,8 +111,10 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
111
111
justifyContent = "center"
112
112
>
113
113
< Img
114
- position = "absolute !important"
115
114
as = { GatsbyImage }
115
+ sx = { {
116
+ position : "absolute !important" ,
117
+ } }
116
118
zIndex = { - 1 }
117
119
w = "full"
118
120
maxW = { { base : "100vh" , xl : "8xl" } }
@@ -193,12 +195,12 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
193
195
</ Link >
194
196
</ em >
195
197
</ p >
196
- < Box as = { InfoBanner } emoji = ":wave:" shouldCenter = { true } mt = { 8 } >
198
+ < InfoBanner emoji = ":wave:" shouldCenter = { true } mt = { 8 } >
197
199
< Translation id = "page-get-eth-new-to-eth" /> { " " }
198
200
< Link to = "/eth/" >
199
201
< Translation id = "page-get-eth-whats-eth-link" />
200
202
</ Link >
201
- </ Box >
203
+ </ InfoBanner >
202
204
</ Content >
203
205
</ Flex >
204
206
< Flex
You can’t perform that action at this time.
0 commit comments