@@ -2,7 +2,7 @@ import React from "react"
2
2
import { useTranslation } from "gatsby-plugin-react-i18next"
3
3
import { GatsbyImage } from "gatsby-plugin-image"
4
4
import { graphql , PageProps } from "gatsby"
5
- import { Box , Flex , Img , Text } from "@chakra-ui/react"
5
+ import { Box , Flex , Heading , Img , Text } from "@chakra-ui/react"
6
6
7
7
import Translation from "../components/Translation"
8
8
import CardList from "../components/CardList"
@@ -133,9 +133,13 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
133
133
mt = { { base : 8 , lg : 24 } }
134
134
textAlign = "center"
135
135
>
136
- < h1 >
136
+ < Heading
137
+ as = "h1"
138
+ fontSize = { { base : "2.5rem" , md : "5xl" } }
139
+ lineHeight = { 1.4 }
140
+ >
137
141
< Translation id = "page-get-eth-where-to-buy-title" />
138
- </ h1 >
142
+ </ Heading >
139
143
< Text
140
144
fontSize = "xl"
141
145
lineHeight = "140%"
@@ -187,14 +191,14 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
187
191
</ Link >
188
192
</ StyledCard >
189
193
< Content >
190
- < p >
191
- < em >
194
+ < Text >
195
+ < Text as = "em" >
192
196
< Translation id = "listing-policy-disclaimer" /> { " " }
193
197
< Link to = "https://github.com/ethereum/ethereum-org-website/issues/new/choose" >
194
198
< Translation id = "listing-policy-raise-issue-link" />
195
199
</ Link >
196
- </ em >
197
- </ p >
200
+ </ Text >
201
+ </ Text >
198
202
< InfoBanner emoji = ":wave:" shouldCenter = { true } mt = { 8 } >
199
203
< Translation id = "page-get-eth-new-to-eth" /> { " " }
200
204
< Link to = "/eth/" >
@@ -221,48 +225,60 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
221
225
< EthExchanges />
222
226
</ Flex >
223
227
< Content id = "dex" >
224
- < h2 >
228
+ < Heading fontSize = { { base : "2xl" , md : "2rem" } } lineHeight = { 1.4 } >
225
229
< Translation id = "page-get-eth-dexs" />
226
- </ h2 >
230
+ </ Heading >
227
231
</ Content >
228
232
< TwoColumnContent >
229
233
< LeftColumn >
230
- < h3 >
234
+ < Heading
235
+ as = "h3"
236
+ fontSize = { { base : "xl" , md : "2xl" } }
237
+ lineHeight = { 1.4 }
238
+ >
231
239
< Translation id = "page-get-eth-what-are-DEX's" />
232
- </ h3 >
233
- < p >
240
+ </ Heading >
241
+ < Text >
234
242
< Translation id = "page-get-eth-dexs-desc" />
235
- </ p >
236
- < p >
243
+ </ Text >
244
+ < Text >
237
245
< Translation id = "page-get-eth-dexs-desc-2" /> { " " }
238
246
< Link to = "/smart-contracts" >
239
247
< Translation id = "page-get-eth-smart-contract-link" />
240
248
</ Link >
241
- </ p >
242
- < p >
249
+ </ Text >
250
+ < Text >
243
251
< Translation id = "page-get-eth-dexs-desc-3" />
244
- </ p >
245
- < p >
252
+ </ Text >
253
+ < Text >
246
254
< Translation id = "page-get-eth-need-wallet" />
247
- </ p >
255
+ </ Text >
248
256
< ButtonLink to = "/wallets/" >
249
257
< Translation id = "page-get-eth-get-wallet-btn" />
250
258
</ ButtonLink >
251
259
</ LeftColumn >
252
260
< RightColumn >
253
- < h3 >
261
+ < Heading
262
+ as = "h3"
263
+ fontSize = { { base : "xl" , md : "2xl" } }
264
+ lineHeight = { 1.4 }
265
+ >
254
266
< Translation id = "page-get-eth-traditional-currencies" />
255
- </ h3 >
256
- < p >
267
+ </ Heading >
268
+ < Text >
257
269
< Translation id = "page-get-eth-traditional-payments" />
258
- </ p >
270
+ </ Text >
259
271
< CardList content = { decentralizedExchanges } />
260
- < h3 >
272
+ < Heading
273
+ as = "h3"
274
+ fontSize = { { base : "xl" , md : "2xl" } }
275
+ lineHeight = { 1.4 }
276
+ >
261
277
< Translation id = "page-get-eth-other-cryptos" />
262
- </ h3 >
263
- < p >
278
+ </ Heading >
279
+ < Text >
264
280
< Translation id = "page-get-eth-swapping" />
265
- </ p >
281
+ </ Text >
266
282
< CardList content = { tokenSwaps } />
267
283
< InfoBanner isWarning = { true } >
268
284
< Translation id = "page-get-eth-warning" />
@@ -271,9 +287,9 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
271
287
</ TwoColumnContent >
272
288
< Divider />
273
289
< Content >
274
- < h2 >
290
+ < Heading fontSize = { { base : "2xl" , md : "2rem" } } lineHeight = { 1.4 } >
275
291
< Translation id = "page-get-eth-keep-it-safe" />
276
- </ h2 >
292
+ </ Heading >
277
293
</ Content >
278
294
< TwoColumnContent >
279
295
< Flex as = { LeftColumn } flexDir = "column" >
@@ -286,33 +302,45 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
286
302
image = { getImage ( data . wallet ) ! }
287
303
alt = ""
288
304
/>
289
- < h3 >
305
+ < Heading
306
+ as = "h3"
307
+ fontSize = { { base : "xl" , md : "2xl" } }
308
+ lineHeight = { 1.4 }
309
+ >
290
310
< Translation id = "page-get-eth-community-safety" />
291
- </ h3 >
311
+ </ Heading >
292
312
< CardList content = { safetyArticles } />
293
313
</ Flex >
294
314
< RightColumn >
295
- < p >
315
+ < Text >
296
316
< Translation id = "page-get-eth-description" />
297
- </ p >
298
- < p >
317
+ </ Text >
318
+ < Text >
299
319
< Translation id = "page-get-eth-security" />
300
- </ p >
301
- < h3 >
320
+ </ Text >
321
+ < Heading
322
+ as = "h3"
323
+ fontSize = { { base : "xl" , md : "2xl" } }
324
+ lineHeight = { 1.4 }
325
+ >
302
326
< Translation id = "page-get-eth-protect-eth-in-wallet" />
303
- </ h3 >
304
- < p >
327
+ </ Heading >
328
+ < Text >
305
329
< Translation id = "page-get-eth-protect-eth-desc" />
306
- </ p >
330
+ </ Text >
307
331
< Link to = "/wallets/" >
308
332
< Translation id = "page-get-eth-your-address-wallet-link" />
309
333
</ Link >
310
- < h3 >
334
+ < Heading
335
+ as = "h3"
336
+ fontSize = { { base : "xl" , md : "2xl" } }
337
+ lineHeight = { 1.4 }
338
+ >
311
339
< Translation id = "page-get-eth-your-address" />
312
- </ h3 >
313
- < p >
340
+ </ Heading >
341
+ < Text >
314
342
< Translation id = "page-get-eth-your-address-desc" />
315
- </ p >
343
+ </ Text >
316
344
< Flex
317
345
justifyContent = "space-between"
318
346
bg = "#191919"
@@ -339,15 +367,19 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
339
367
/>
340
368
</ Text >
341
369
</ Flex >
342
- < p >
370
+ < Text >
343
371
< Translation id = "page-get-eth-your-address-desc-3" />
344
- </ p >
345
- < h3 >
372
+ </ Text >
373
+ < Heading
374
+ as = "h3"
375
+ fontSize = { { base : "xl" , md : "2xl" } }
376
+ lineHeight = { 1.4 }
377
+ >
346
378
< Translation id = "page-get-eth-wallet-instructions" />
347
- </ h3 >
348
- < p >
379
+ </ Heading >
380
+ < Text >
349
381
< Translation id = "page-get-eth-wallet-instructions-lost" />
350
- </ p >
382
+ </ Text >
351
383
</ RightColumn >
352
384
</ TwoColumnContent >
353
385
< Divider />
@@ -358,11 +390,11 @@ const GetETHPage = ({ data }: PageProps<Queries.GetEthPageQuery>) => {
358
390
alt = { t ( "page-index-sections-individuals-image-alt" ) }
359
391
maxImageWidth = { 600 }
360
392
>
361
- < div >
393
+ < Box >
362
394
< ButtonLink to = "/dapps/" >
363
395
< Translation id = "page-get-eth-checkout-dapps-btn" />
364
396
</ ButtonLink >
365
- </ div >
397
+ </ Box >
366
398
</ CalloutBanner >
367
399
< FeedbackCard />
368
400
</ Page >
0 commit comments