@@ -19,7 +19,6 @@ import type { BasePageProps, ChildOnlyProp, Lang } from "@/lib/types"
19
19
import { Button , ButtonLink } from "@/components/Buttons"
20
20
import Emoji from "@/components/Emoji"
21
21
import ExpandableCard from "@/components/ExpandableCard"
22
- import ExpandableInfo from "@/components/ExpandableInfo"
23
22
import FeedbackCard from "@/components/FeedbackCard"
24
23
import {
25
24
DecentralizationGlyphIcon ,
@@ -31,7 +30,7 @@ import {
31
30
SovereigntyGlyphIcon ,
32
31
VoteGlyphIcon ,
33
32
} from "@/components/icons/run-a-node"
34
- import { Image } from "@/components/Image"
33
+ import { Image , TwImage } from "@/components/Image"
35
34
import InlineLink from "@/components/Link"
36
35
import MainArticle from "@/components/MainArticle"
37
36
import OldHeading from "@/components/OldHeading"
@@ -40,7 +39,9 @@ import PageHero from "@/components/PageHero"
40
39
import PageMetadata from "@/components/PageMetadata"
41
40
import { StandaloneQuizWidget as QuizWidget } from "@/components/Quiz/QuizWidget"
42
41
import Translation from "@/components/Translation"
42
+ import { Stack , VStack } from "@/components/ui/flex"
43
43
44
+ import { cn } from "@/lib/utils/cn"
44
45
import { existsNamespace } from "@/lib/utils/existsNamespace"
45
46
import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
46
47
import { getLocaleTimestamp } from "@/lib/utils/time"
@@ -284,10 +285,6 @@ const StakingCalloutContainer = (props: ChildOnlyProp) => (
284
285
/>
285
286
)
286
287
287
- const StrongParagraph = ( props : BoxProps ) => (
288
- < Text fontSize = "150%" fontWeight = "semibold" { ...props } />
289
- )
290
-
291
288
const H2 = ( props : HeadingProps ) => (
292
289
< OldHeading
293
290
fontSize = { { base : "2xl" , md : "2rem" } }
@@ -474,27 +471,39 @@ const RunANodePage = () => {
474
471
</ Content >
475
472
476
473
< FlexContent >
477
- < ExpandableInfo
478
- alignSelf = "center"
479
- width = { { base : "full" , md : "90%" } }
480
- mb = { { base : 0 , md : 4 } }
481
- image = { impact }
482
- title = { < Translation id = "page-run-a-node:page-run-a-node-who-title" /> }
483
- contentPreview = {
484
- < Translation id = "page-run-a-node:page-run-a-node-who-preview" />
485
- }
486
- background = "runNodeGradient2"
487
- forceOpen
474
+ < VStack
475
+ className = { cn (
476
+ "relative mb-0 w-full gap-0 self-center rounded-sm border p-6 md:mb-4 md:w-[90%]" ,
477
+ "bg-gradient-to-br from-blue-500/20 from-10% to-pink-600/20 to-90%"
478
+ ) }
488
479
>
489
- < Text >
490
- < Translation id = "page-run-a-node:page-run-a-node-who-copy-1" />
491
- </ Text >
492
- < Text > { t ( "page-run-a-node-who-copy-2" ) } </ Text >
493
- < Text > { t ( "page-run-a-node-who-copy-3" ) } </ Text >
494
- < StrongParagraph >
495
- { t ( "page-run-a-node-who-copy-bold" ) }
496
- </ StrongParagraph >
497
- </ ExpandableInfo >
480
+ < Stack className = "flex-col items-center justify-between gap-8 md:flex-row md:gap-12" >
481
+ < TwImage
482
+ src = { impact }
483
+ alt = ""
484
+ sizes = "300px"
485
+ style = { { width : "300px" , height : "auto" } }
486
+ />
487
+ < div className = "me-4" >
488
+ < h2 className = "mb-5 mt-4 text-2xl font-semibold leading-[1.4] md:text-[2rem]" >
489
+ < Translation id = "page-run-a-node:page-run-a-node-who-title" />
490
+ </ h2 >
491
+ < p className = "body-medium mb-0" >
492
+ < Translation id = "page-run-a-node:page-run-a-node-who-preview" />
493
+ </ p >
494
+ </ div >
495
+ </ Stack >
496
+ < div className = "mt-8 border-t pt-6" >
497
+ < p className = "mb-6" >
498
+ < Translation id = "page-run-a-node:page-run-a-node-who-copy-1" />
499
+ </ p >
500
+ < p className = "mb-6" > { t ( "page-run-a-node-who-copy-2" ) } </ p >
501
+ < p className = "mb-6" > { t ( "page-run-a-node-who-copy-3" ) } </ p >
502
+ < p className = "mb-6 text-[150%] font-semibold leading-none" >
503
+ { t ( "page-run-a-node-who-copy-bold" ) }
504
+ </ p >
505
+ </ div >
506
+ </ VStack >
498
507
</ FlexContent >
499
508
500
509
< Content >
0 commit comments