File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed
Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1+ Update Ecosystem secondary button color and button group layout
Original file line number Diff line number Diff line change @@ -128,13 +128,16 @@ export const EcosystemCard: FC<EcosystemCardProps> = ({
128128 </ CardContent >
129129 < CardFooter >
130130 { footer || (
131- < div className = "flex w-full gap-4" >
132- < Button variant = "outline" size = "lg" className = "flex-1" asChild >
133- < RouterLink to = { RouteUtils . getDashboardRoute ( { network : 'testnet' , layer } ) } >
131+ < div className = "flex w-full lg:flex-col xl:flex-row gap-4" >
132+ < Button variant = "outline" size = "lg" className = "flex-1 py-[10px]" asChild >
133+ < RouterLink
134+ to = { RouteUtils . getDashboardRoute ( { network : 'testnet' , layer } ) }
135+ className = "text-primary"
136+ >
134137 { t ( 'common.testnet' ) }
135138 </ RouterLink >
136139 </ Button >
137- < Button size = "lg" className = "flex-1" asChild >
140+ < Button size = "lg" className = "flex-1 py-[10px] " asChild >
138141 < RouterLink to = { RouteUtils . getDashboardRoute ( { network : 'mainnet' , layer } ) } >
139142 { t ( 'common.mainnet' ) }
140143 < ArrowRight />
Original file line number Diff line number Diff line change @@ -64,13 +64,16 @@ export const PontusXCard: FC = () => {
6464 latestBlock = { pontusxStatusQuery ?. data ?. data ?. latest_block }
6565 activeNodes = { pontusxStatusQuery ?. data ?. data ?. active_nodes }
6666 footer = {
67- < div className = "flex w-full gap-4" >
68- < Button variant = "outline" size = "lg" className = "flex-1" asChild >
69- < RouterLink to = { RouteUtils . getDashboardRoute ( { network : 'testnet' , layer : 'pontusxdev' } ) } >
67+ < div className = "flex w-full lg:flex-col xl:flex-row gap-4" >
68+ < Button variant = "outline" size = "lg" className = "flex-1 py-[10px]" asChild >
69+ < RouterLink
70+ to = { RouteUtils . getDashboardRoute ( { network : 'testnet' , layer : 'pontusxdev' } ) }
71+ className = "text-primary"
72+ >
7073 { t ( 'common.devnet' ) }
7174 </ RouterLink >
7275 </ Button >
73- < Button size = "lg" className = "flex-1" asChild >
76+ < Button size = "lg" className = "flex-1 py-[10px] " asChild >
7477 < RouterLink to = { RouteUtils . getDashboardRoute ( { network : 'testnet' , layer : 'pontusxtest' } ) } >
7578 { t ( 'common.testnet' ) }
7679 < ArrowRight />
You can’t perform that action at this time.
0 commit comments