Skip to content

Commit

Permalink
rewards landing
Browse files Browse the repository at this point in the history
  • Loading branch information
stormcloud266 committed Oct 4, 2024
1 parent 1ff344e commit 700af01
Show file tree
Hide file tree
Showing 7 changed files with 710 additions and 579 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RewardsScreen } from 'app/features/account/rewards/screen'
import { RewardsScreen } 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'
Expand Down
26 changes: 26 additions & 0 deletions apps/next/pages/account/rewards/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { LandingScreen } from 'app/features/account/rewards/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'

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

export const getServerSideProps = userProtectedGetSSP()
Page.getLayout = (children) => (
<HomeLayout TopNav={<TopNav header="Rewards" button={ButtonOption.PROFILE} />}>
{children}
</HomeLayout>
)

export default Page
Loading

0 comments on commit 700af01

Please sign in to comment.