Skip to content

Commit

Permalink
Update referrals page title and description (#1306)
Browse files Browse the repository at this point in the history
* init

* fix
  • Loading branch information
halaprix authored Jul 22, 2022
1 parent aa2ce77 commit e40c424
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pages/referrals/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { WithConnection } from 'components/connectWallet/ConnectWallet'
import { PageSEOTags } from 'components/HeadTags'
import { AppLayout } from 'components/Layouts'
import { ReferralLandingSummary } from 'features/referralOverview/ReferralLanding'
import { useFeatureToggle } from 'helpers/useFeatureToggle'
Expand All @@ -15,7 +16,7 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) {
}
}

export default function ReferralsPage() {
function ReferralsPage() {
const referralsEnabled = useFeatureToggle('Referrals')

return (
Expand All @@ -29,3 +30,11 @@ export default function ReferralsPage() {
}

ReferralsPage.layout = AppLayout
ReferralsPage.seoTags = (
<PageSEOTags
title="seo.referrals.title"
description="seo.referrals.description"
url="/referrals"
/>
)
export default ReferralsPage
4 changes: 4 additions & 0 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,10 @@
"about": {
"title": "About Us",
"description": "Oasis mission is to provide the best and most trusted entry point to deploy your capital."
},
"referrals": {
"title": "Refer a friend and earn Dai",
"description": "Refer a friend is a way to reward Oasis.app users. You can invite people to use our products, and both of you earn a percentage of the referred user's fees."
}
},
"set-allowance-for": "Set Allowance for {{token}}",
Expand Down

0 comments on commit e40c424

Please sign in to comment.