Skip to content

Commit

Permalink
Add stake cards to dashboard page
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Jan 16, 2025
1 parent 5baeac0 commit 38303f7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions webapp/app/[locale]/stake/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import { featureFlags } from 'app/featureFlags'
import { PageTitle } from 'components/pageTitle'
import { useTranslations } from 'next-intl'

import {
EarnedPoints,
TotalStaked,
YourStake,
} from './_components/stakePointsCards'

const Page = function () {
const t = useTranslations('stake-page')

Expand All @@ -15,6 +21,11 @@ const Page = function () {
subtitle={t('dashboard.subtitle')}
title={t('dashboard.title')}
/>
<div className="mt-8 flex flex-col gap-6 lg:flex-row">
<TotalStaked />
<YourStake />
<EarnedPoints />
</div>
</div>
)
}
Expand Down

0 comments on commit 38303f7

Please sign in to comment.