Skip to content

Commit

Permalink
Rewards Activity Page
Browse files Browse the repository at this point in the history
  • Loading branch information
youngkidwarrior committed Oct 5, 2024
1 parent 13a6859 commit 75bff2b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1,376 deletions.
25 changes: 5 additions & 20 deletions apps/next/pages/account/rewards/activity.tsx
Original file line number Diff line number Diff line change
@@ -1,40 +1,25 @@
import { RewardsScreen } from 'app/features/account/rewards/activity/screen'
import { ActivityRewardsScreen } from 'app/features/account/rewards/activity/screen'
import Head from 'next/head'
import { userProtectedGetSSP } from 'utils/userProtected'
import type { NextPageWithLayout } from 'next-app/pages/_app'
import { HomeLayout } from 'app/features/home/layout.web'
import { ButtonOption, TopNav } from 'app/components/TopNav'
import { TopNav } from 'app/components/TopNav'

export const Page: NextPageWithLayout = () => {
return (
<>
<Head>
<title>Send | Send Rewards</title>
<title>Send | Activity Rewards</title>
</Head>
<RewardsScreen />
<ActivityRewardsScreen />
</>
)
}

export const getServerSideProps = userProtectedGetSSP()

const subheader =
'Register at least 1 Sendtag, maintain the minimum balance, avoid selling, and refer others for a bonus multiplier. '

Page.getLayout = (children) => (
<HomeLayout
$platform-web={{
h: '100svh',
contentContainerStyle: {
h: '100svh',
},
}}
TopNav={
<TopNav header="Send Rewards" showLogo subheader={subheader} button={ButtonOption.PROFILE} />
}
>
{children}
</HomeLayout>
<HomeLayout TopNav={<TopNav header="Activity Rewards" showLogo />}>{children}</HomeLayout>
)

export default Page
Loading

0 comments on commit 75bff2b

Please sign in to comment.