1
1
import React from "react"
2
2
import { useTranslation } from "next-i18next"
3
- import { Flex } from "@chakra-ui/react"
4
3
5
- import { ButtonLink } from "@/components/Buttons"
6
4
import CalloutBanner from "@/components/CalloutBanner"
5
+ import { ButtonLink } from "@/components/ui/buttons/Button"
6
+ import { Flex } from "@/components/ui/flex"
7
7
8
8
import { trackCustomEvent } from "@/lib/utils/matomo"
9
9
@@ -26,8 +26,9 @@ const StakingCommunityCallout = (props: StakingCommunityCalloutProps) => {
26
26
descriptionKey = { "page-staking-join-community-desc" }
27
27
imageWidth = { 350 }
28
28
>
29
- < Flex gap = { 4 } direction = { { base : "column" , md : " row" } } >
29
+ < Flex className = "flex-col gap-4 md:flex- row">
30
30
< ButtonLink
31
+ className = "w-full md:w-auto"
31
32
onClick = { ( ) => {
32
33
trackCustomEvent ( {
33
34
eventCategory : `StakingCommunityCallout` ,
@@ -36,11 +37,11 @@ const StakingCommunityCallout = (props: StakingCommunityCalloutProps) => {
36
37
} )
37
38
} }
38
39
href = "https://discord.gg/ethstaker"
39
- w = { { base : "full" , md : "auto" } }
40
40
>
41
41
Discord
42
42
</ ButtonLink >
43
43
< ButtonLink
44
+ className = "w-full md:w-auto"
44
45
onClick = { ( ) => {
45
46
trackCustomEvent ( {
46
47
eventCategory : `StakingCommunityCallout` ,
@@ -49,11 +50,11 @@ const StakingCommunityCallout = (props: StakingCommunityCalloutProps) => {
49
50
} )
50
51
} }
51
52
href = "https://reddit.com/r/ethstaker"
52
- w = { { base : "full" , md : "auto" } }
53
53
>
54
54
Reddit
55
55
</ ButtonLink >
56
56
< ButtonLink
57
+ className = "w-full md:w-auto"
57
58
onClick = { ( ) => {
58
59
trackCustomEvent ( {
59
60
eventCategory : `StakingCommunityCallout` ,
@@ -62,7 +63,6 @@ const StakingCommunityCallout = (props: StakingCommunityCalloutProps) => {
62
63
} )
63
64
} }
64
65
href = "https://ethstaker.cc"
65
- w = { { base : "full" , md : "auto" } }
66
66
>
67
67
{ t ( "common:rollup-component-website" ) }
68
68
</ ButtonLink >
0 commit comments