@@ -2,8 +2,6 @@ import React from "react"
2
2
import { useTranslation } from "next-i18next"
3
3
import { IconBase } from "react-icons"
4
4
import {
5
- Box ,
6
- calc ,
7
5
Center ,
8
6
cssVar ,
9
7
Flex ,
@@ -131,23 +129,14 @@ const Line = () => {
131
129
const medBp = useToken ( "breakpoints" , "md" )
132
130
133
131
return (
134
- < Box
135
- as = "aside"
136
- gridColumn = { 1 }
137
- gridRow = "1 / 3"
138
- position = "relative"
139
- hideBelow = { medBp }
132
+ < aside
133
+ className = { `realtive after:h-[calc.subtract("100%", "50px")] after:start-[calc.subtract("50%", "2px")] after:z-1 after:border-orange col-span-1 row-span-2 hidden after:absolute after:top-[50px] after:border-s-4 md:block` }
134
+
135
+ /*
136
+ This value needs to be updated.
140
137
_after={{
141
- content : `""` ,
142
- height : calc . subtract ( "100%" , "50px" ) ,
143
138
borderImage: `linear-gradient(to bottom, ${$colorVar.reference}, ${$nextColorVar.reference}) 1 100%`,
144
- borderInlineStart : "4px" ,
145
- borderColor : "orange" ,
146
- position : "absolute" ,
147
- insetInlineStart : calc . subtract ( "50%" , "2px" ) ,
148
- top : "50px" ,
149
- zIndex : 1 ,
150
- } }
139
+ }} */
151
140
/>
152
141
)
153
142
}
@@ -277,7 +266,7 @@ const StakingHierarchy = () => {
277
266
</ Text >
278
267
< Text > { t ( "page-staking-hierarchy-solo-p2" ) } </ Text >
279
268
< Text > { t ( "page-staking-hierarchy-solo-p3" ) } </ Text >
280
- < Box >
269
+ < div >
281
270
< ButtonLink
282
271
href = "/staking/solo/"
283
272
onClick = { ( ) => {
@@ -291,7 +280,7 @@ const StakingHierarchy = () => {
291
280
>
292
281
{ t ( "page-staking-more-on-solo" ) }
293
282
</ ButtonLink >
294
- </ Box >
283
+ </ div >
295
284
</ Content >
296
285
</ SectionGrid >
297
286
< SectionGrid number = { 2 } >
@@ -310,7 +299,7 @@ const StakingHierarchy = () => {
310
299
< Text > { t ( "page-staking-hierarchy-saas-p1" ) } </ Text >
311
300
< Text > { t ( "page-staking-hierarchy-saas-p2" ) } </ Text >
312
301
< Text > { t ( "page-staking-hierarchy-saas-p3" ) } </ Text >
313
- < Box >
302
+ < div >
314
303
< ButtonLink
315
304
href = "/staking/saas/"
316
305
onClick = { ( ) => {
@@ -324,7 +313,7 @@ const StakingHierarchy = () => {
324
313
>
325
314
{ t ( "page-staking-more-on-saas" ) }
326
315
</ ButtonLink >
327
- </ Box >
316
+ </ div >
328
317
</ Content >
329
318
</ SectionGrid >
330
319
< SectionGrid number = { 3 } >
@@ -355,7 +344,7 @@ const StakingHierarchy = () => {
355
344
< Text >
356
345
< Translation id = "page-staking:page-staking-hierarchy-pools-p4" />
357
346
</ Text >
358
- < Box >
347
+ < div >
359
348
< ButtonLink
360
349
href = "/staking/pools/"
361
350
onClick = { ( ) => {
@@ -369,7 +358,7 @@ const StakingHierarchy = () => {
369
358
>
370
359
{ t ( "page-staking-more-on-pools" ) }
371
360
</ ButtonLink >
372
- </ Box >
361
+ </ div >
373
362
</ Content >
374
363
</ SectionGrid >
375
364
< SectionGrid number = { 4 } >
0 commit comments