1
1
import { useTranslation } from "next-i18next"
2
- import { Box , Flex } from "@chakra-ui/react"
3
2
4
3
import { ChildOnlyProp } from "@/lib/types"
5
4
6
- import { ButtonLink } from "@/components/Buttons"
7
5
import Card from "@/components/Card"
8
6
import CardList , { type CardListItem } from "@/components/CardList"
9
- import OldHeading from "@/components/OldHeading"
10
7
import Translation from "@/components/Translation"
11
8
9
+ import { ButtonLink } from "./ui/buttons/Button"
10
+ import { Flex } from "./ui/flex"
11
+
12
12
import beaconchain from "@/public/images/upgrades/beaconchainemoji.png"
13
13
import beaconscan from "@/public/images/upgrades/etherscan.png"
14
14
15
15
const H3 = ( { children } : ChildOnlyProp ) => (
16
- < OldHeading
17
- as = "h3"
18
- fontSize = "2xl"
19
- fontWeight = "bold"
20
- mb = { 8 }
21
- sx = { { a : { display : "none" } } }
22
- >
23
- { children }
24
- </ OldHeading >
16
+ < h3 className = "mb-8 mt-10 text-2xl font-bold [&_a]:hidden" > { children } </ h3 >
25
17
)
26
18
27
19
const BeaconChainActions = ( ) => {
@@ -64,8 +56,8 @@ const BeaconChainActions = () => {
64
56
]
65
57
66
58
return (
67
- < Box mb = { 16 } >
68
- < Flex flexDir = { { base : "column" , md : " row" } } pt = { 4 } >
59
+ < div className = "mb-16" >
60
+ < Flex className = "flex-col pt-4 md:flex- row">
69
61
< Card
70
62
w = "full"
71
63
ms = { 0 }
@@ -92,7 +84,7 @@ const BeaconChainActions = () => {
92
84
< Translation id = "read-more" />
93
85
</ H3 >
94
86
< CardList items = { reads } />
95
- </ Box >
87
+ </ div >
96
88
)
97
89
}
98
90
0 commit comments