Skip to content

Commit 700af01

Browse files
committed
rewards landing
1 parent 1ff344e commit 700af01

File tree

7 files changed

+710
-579
lines changed

7 files changed

+710
-579
lines changed

apps/next/pages/account/rewards.tsx apps/next/pages/account/rewards/activity.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RewardsScreen } from 'app/features/account/rewards/screen'
1+
import { RewardsScreen } from 'app/features/account/rewards/activity/screen'
22
import Head from 'next/head'
33
import { userProtectedGetSSP } from 'utils/userProtected'
44
import type { NextPageWithLayout } from 'next-app/pages/_app'
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { LandingScreen } from 'app/features/account/rewards/screen'
2+
import Head from 'next/head'
3+
import { userProtectedGetSSP } from 'utils/userProtected'
4+
import type { NextPageWithLayout } from 'next-app/pages/_app'
5+
import { HomeLayout } from 'app/features/home/layout.web'
6+
import { ButtonOption, TopNav } from 'app/components/TopNav'
7+
8+
export const Page: NextPageWithLayout = () => {
9+
return (
10+
<>
11+
<Head>
12+
<title>Send | Send Rewards</title>
13+
</Head>
14+
<LandingScreen />
15+
</>
16+
)
17+
}
18+
19+
export const getServerSideProps = userProtectedGetSSP()
20+
Page.getLayout = (children) => (
21+
<HomeLayout TopNav={<TopNav header="Rewards" button={ButtonOption.PROFILE} />}>
22+
{children}
23+
</HomeLayout>
24+
)
25+
26+
export default Page

0 commit comments

Comments
 (0)