From e40c42445191517ac182f90e99f28a3086519e56 Mon Sep 17 00:00:00 2001 From: Halaprix Date: Fri, 22 Jul 2022 09:41:36 +0200 Subject: [PATCH] Update referrals page title and description (#1306) * init * fix --- pages/referrals/index.tsx | 11 ++++++++++- public/locales/en/common.json | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pages/referrals/index.tsx b/pages/referrals/index.tsx index 0225857e47..c4a1de1b6f 100644 --- a/pages/referrals/index.tsx +++ b/pages/referrals/index.tsx @@ -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' @@ -15,7 +16,7 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) { } } -export default function ReferralsPage() { +function ReferralsPage() { const referralsEnabled = useFeatureToggle('Referrals') return ( @@ -29,3 +30,11 @@ export default function ReferralsPage() { } ReferralsPage.layout = AppLayout +ReferralsPage.seoTags = ( + +) +export default ReferralsPage diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 76c9cdae01..eafad4c07e 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -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}}",