Skip to content

Commit 0b960b7

Browse files
committed
little changes
1 parent f1e6479 commit 0b960b7

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/pages/learn.tsx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const H3 = ({ children, ...props }: HTMLAttributes<HTMLHeadingElement>) => (
121121
</h3>
122122
)
123123

124-
const StandarImage = ({ src, alt }: ImageProps) => (
124+
const ImageHeight200 = ({ src, alt }: ImageProps) => (
125125
<TwImage className="h-[200px] w-auto" src={src} alt={alt} />
126126
)
127127

@@ -235,7 +235,7 @@ const LearnPage = () => {
235235
>
236236
<>
237237
<CardImage>
238-
<StandarImage
238+
<ImageHeight200
239239
src={whatIsEth}
240240
alt={t("what-is-ethereum-card-image-alt")}
241241
/>
@@ -251,7 +251,7 @@ const LearnPage = () => {
251251
>
252252
<>
253253
<CardImage>
254-
<StandarImage src={eth} alt="" />
254+
<ImageHeight200 src={eth} alt="" />
255255
</CardImage>
256256
<ButtonLink href="/eth/">
257257
{t("what-is-eth-card-title")}
@@ -264,7 +264,7 @@ const LearnPage = () => {
264264
>
265265
<>
266266
<CardImage>
267-
<StandarImage src={impact} alt="" />
267+
<ImageHeight200 src={impact} alt="" />
268268
</CardImage>
269269
<ButtonLink href="/web3/">
270270
{t("what-is-web3-card-title")}
@@ -303,7 +303,7 @@ const LearnPage = () => {
303303
>
304304
<>
305305
<CardImage>
306-
<StandarImage
306+
<ImageHeight200
307307
src={wallet}
308308
alt={t("what-is-a-wallet-card-alt")}
309309
/>
@@ -319,7 +319,7 @@ const LearnPage = () => {
319319
>
320320
<>
321321
<CardImage>
322-
<StandarImage src={futureTransparent} alt="" />
322+
<ImageHeight200 src={futureTransparent} alt="" />
323323
</CardImage>
324324
<ButtonLink href="/wallets/find-wallet/">
325325
{t("find-a-wallet-button")}
@@ -332,7 +332,7 @@ const LearnPage = () => {
332332
>
333333
<>
334334
<CardImage>
335-
<StandarImage src={Layer2LearnHero} alt="" />
335+
<ImageHeight200 src={Layer2LearnHero} alt="" />
336336
</CardImage>
337337
<ButtonLink href="/layer-2/networks">
338338
{t("ethereum-networks-card-button")}
@@ -391,7 +391,7 @@ const LearnPage = () => {
391391
>
392392
<>
393393
<CardImage>
394-
<StandarImage src={financeTransparent} alt="" />
394+
<ImageHeight200 src={financeTransparent} alt="" />
395395
</CardImage>
396396
<ButtonLink href="/defi/">
397397
{t("defi-card-button")}
@@ -404,7 +404,7 @@ const LearnPage = () => {
404404
>
405405
<>
406406
<CardImage>
407-
<StandarImage src={stablecoins} alt="" />
407+
<ImageHeight200 src={stablecoins} alt="" />
408408
</CardImage>
409409
<ButtonLink href="/stablecoins/">
410410
{t("stablecoins-card-button")}
@@ -417,7 +417,7 @@ const LearnPage = () => {
417417
>
418418
<>
419419
<CardImage>
420-
<StandarImage src={infrastructureTransparent} alt="" />
420+
<ImageHeight200 src={infrastructureTransparent} alt="" />
421421
</CardImage>
422422
<ButtonLink href="/nft/">{t("nft-card-button")}</ButtonLink>
423423
</>
@@ -428,7 +428,7 @@ const LearnPage = () => {
428428
>
429429
<>
430430
<CardImage>
431-
<StandarImage src={dao} alt="" />
431+
<ImageHeight200 src={dao} alt="" />
432432
</CardImage>
433433
<ButtonLink href="/dao/">{t("dao-card-button")}</ButtonLink>
434434
</>
@@ -439,7 +439,7 @@ const LearnPage = () => {
439439
>
440440
<>
441441
<CardImage>
442-
<StandarImage src={developersEthBlocks} alt="" />
442+
<ImageHeight200 src={developersEthBlocks} alt="" />
443443
</CardImage>
444444
<ButtonLink href="/dapps/">
445445
{t("dapp-card-button")}
@@ -502,7 +502,7 @@ const LearnPage = () => {
502502
>
503503
<>
504504
<CardImage>
505-
<StandarImage src={rhino} alt="" />
505+
<ImageHeight200 src={rhino} alt="" />
506506
</CardImage>
507507
<ButtonLink href="/staking/">
508508
{t("staking-ethereum-card-button")}
@@ -515,7 +515,7 @@ const LearnPage = () => {
515515
>
516516
<>
517517
<CardImage>
518-
<StandarImage src={ethereumInside} alt="" />
518+
<ImageHeight200 src={ethereumInside} alt="" />
519519
</CardImage>
520520
<ButtonLink href="/run-a-node/">
521521
{t("run-a-node-card-title")}
@@ -537,7 +537,7 @@ const LearnPage = () => {
537537
>
538538
<>
539539
<CardImage>
540-
<StandarImage src={hackathon} alt="" />
540+
<ImageHeight200 src={hackathon} alt="" />
541541
</CardImage>
542542
<ButtonLink href="/energy-consumption/">
543543
{t("energy-consumption-card-button")}
@@ -550,7 +550,7 @@ const LearnPage = () => {
550550
>
551551
<>
552552
<CardImage>
553-
<StandarImage src={merge} alt="" />
553+
<ImageHeight200 src={merge} alt="" />
554554
</CardImage>
555555
<ButtonLink href="/roadmap/">
556556
{t("ethereum-upgrades-card-button")}
@@ -563,7 +563,7 @@ const LearnPage = () => {
563563
>
564564
<>
565565
<CardImage>
566-
<StandarImage src={financeTransparent} alt="" />
566+
<ImageHeight200 src={financeTransparent} alt="" />
567567
</CardImage>
568568
<ButtonLink href="/whitepaper/">
569569
{t("ethereum-whitepaper-card-button")}
@@ -609,7 +609,7 @@ const LearnPage = () => {
609609
>
610610
<>
611611
<CardImage>
612-
<StandarImage
612+
<ImageHeight200
613613
src={enterprise}
614614
alt={t("community-hub-card-alt")}
615615
/>
@@ -625,7 +625,7 @@ const LearnPage = () => {
625625
>
626626
<>
627627
<CardImage>
628-
<StandarImage src={dogeComputer} alt="" />
628+
<ImageHeight200 src={dogeComputer} alt="" />
629629
</CardImage>
630630
<ButtonLink href="/community/get-involved/">
631631
{t("get-involved-card-title")}
@@ -638,7 +638,7 @@ const LearnPage = () => {
638638
>
639639
<>
640640
<CardImage>
641-
<StandarImage src={impact} alt="" />
641+
<ImageHeight200 src={impact} alt="" />
642642
</CardImage>
643643
<ButtonLink href="/community/online/">
644644
{t("online-communities-card-button")}

0 commit comments

Comments
 (0)