File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Skeleton } from '@heroui/skeleton';
33export default function Loading ( ) {
44 return (
55 < div className = "responsive-col" >
6- < Skeleton className = "min-h-[180px ] w-full rounded-2xl" />
6+ < Skeleton className = "min-h-[268px ] w-full rounded-2xl" />
77
88 < div className = "col w-full gap-2" >
99 < Skeleton className = "only-lg min-h-[56px] w-full rounded-2xl" />
Original file line number Diff line number Diff line change 11import HeroEpochCard from '@/components/Hero/HeroEpochCard' ;
2+ import { Skeleton } from '@heroui/skeleton' ;
3+ import { Suspense } from 'react' ;
4+ import R1MintedLastEpoch from '../R1MintedLastEpoch' ;
25import { BorderedCard } from '../shared/cards/BorderedCard' ;
36import { CardHorizontal } from '../shared/cards/CardHorizontal' ;
47import R1TotalSupply from '../shared/R1TotalSupply' ;
@@ -23,7 +26,7 @@ export default async function Hero({ nodesTotalItems }) {
2326 widthClasses = "min-[420px]:min-w-[346px]"
2427 />
2528
26- { /* <Suspense fallback={<Skeleton className="min-h-[76px] w-full rounded-xl md:max-w-[380px]" />}>
29+ < Suspense fallback = { < Skeleton className = "min-h-[76px] w-full rounded-xl md:max-w-[380px]" /> } >
2730 < CardHorizontal
2831 label = {
2932 < div >
@@ -34,7 +37,7 @@ export default async function Hero({ nodesTotalItems }) {
3437 isFlexible
3538 widthClasses = "min-w-[254px]"
3639 />
37- </Suspense> */ }
40+ </ Suspense >
3841
3942 < HeroEpochCard />
4043 </ div >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import * as types from '@/typedefs/blockchain';
55import { lazy } from 'react' ;
66import { RiCpuLine } from 'react-icons/ri' ;
77import { RowWithIcon } from './shared/cards/RowWithIcon' ;
8+ import PriceCard from './shared/PriceCard' ;
89
910const LazyTopBarEpochCard = lazy ( ( ) => import ( '@/components/TopBarEpochCard' ) ) ;
1011
@@ -28,8 +29,7 @@ export default async function TopBar() {
2829 < div className = "hidden flex-wrap items-center justify-between gap-2 sm:flex lg:flex-nowrap lg:justify-end lg:gap-3" >
2930 < LazyTopBarEpochCard />
3031
31- { /* TODO: Add */ }
32- { /* <PriceCard /> */ }
32+ < PriceCard />
3333
3434 < CardWithIcon icon = { < RiCpuLine /> } label = "Active Nodes" >
3535 { activeNodes . result . nodes_total_items }
@@ -39,8 +39,7 @@ export default async function TopBar() {
3939 < div className = "flex w-full flex-col gap-1.5 rounded-xl bg-slate-100 px-4 py-4 sm:hidden" >
4040 < LazyTopBarEpochCard />
4141
42- { /* TODO: Add */ }
43- { /* <PriceCard /> */ }
42+ < PriceCard />
4443
4544 < RowWithIcon icon = { < RiCpuLine /> } label = "Active Nodes" >
4645 { activeNodes . result . nodes_total_items }
You can’t perform that action at this time.
0 commit comments