File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
app/server-components/Nodes Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1- # NEXT_PUBLIC_ENVIRONMENT=devnet
2- # NEXT_PUBLIC_URL=https://devnet-explorer.ratio1.ai
3- # NEXT_PUBLIC_APP_URL=https://devnet-app.ratio1.ai
1+ NEXT_PUBLIC_ENVIRONMENT=devnet
2+ NEXT_PUBLIC_URL=https://devnet-explorer.ratio1.ai
3+ NEXT_PUBLIC_APP_URL=https://devnet-app.ratio1.ai
44
55# NEXT_PUBLIC_BACKEND_URL=https://devnet-dapp-api.ratio1.ai
66# NEXT_PUBLIC_ORACLES_URL=https://devnet-oracle.ratio1.ai
Original file line number Diff line number Diff line change @@ -17,27 +17,29 @@ const HeroStats = memo(
1717
1818 < CardHorizontal
1919 label = "CPU Cores Available"
20- value = { round ( resourcesTotal . cpu_cores_avail , 1 ) }
20+ value = { ` ${ round ( resourcesTotal . cpu_cores_avail , 0 ) } / ${ round ( resourcesTotal . cpu_cores , 0 ) } ` }
2121 isFlexible
22- widthClasses = "min-w-[288px ]"
22+ widthClasses = "min-w-[316px ]"
2323 />
2424
2525 < CardHorizontal
2626 label = "Memory Available"
2727 value = {
28- < div >
29- { fN ( resourcesTotal . mem_avail ) } < span className = "text-slate-500" > GB</ span >
28+ < div className = "leading-tight" >
29+ { fN ( round ( resourcesTotal . mem_avail , 0 ) ) } /{ fN ( round ( resourcesTotal . mem_total , 0 ) ) } { ' ' }
30+ < span className = "text-slate-500" > GB</ span >
3031 </ div >
3132 }
3233 isFlexible
33- widthClasses = "min-w-[314px ]"
34+ widthClasses = "min-w-[282px ]"
3435 />
3536
3637 < CardHorizontal
3738 label = "Disk Available"
3839 value = {
39- < div >
40- { fN ( resourcesTotal . disk_avail ) } < span className = "text-slate-500" > GB</ span >
40+ < div className = "leading-tight" >
41+ { fN ( round ( resourcesTotal . disk_avail , 0 ) ) } /{ fN ( round ( resourcesTotal . disk_total , 0 ) ) } { ' ' }
42+ < span className = "text-slate-500" > GB</ span >
4143 </ div >
4244 }
4345 isFlexible
You can’t perform that action at this time.
0 commit comments