Skip to content

Commit 197c66e

Browse files
authored
Minor Update (#356)
1 parent 0ad7de1 commit 197c66e

6 files changed

Lines changed: 3 additions & 17 deletions

File tree

-7.03 KB
Binary file not shown.

src/components/Resources/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const getResourcesConfig = (t: TFunction): ItemCfg[] => [
4242
title: t("Staking Rewards"),
4343
link: {
4444
text: t("Learn more"),
45-
path: "https://www.notion.so/Staking-56cd5e14439b4c9789f1cf63edd1d9d7",
45+
path: "https://docs.darwinia.network/staking-guide-d7387bfc4d3f4604860651f268ed00ba",
4646
external: true,
4747
},
4848
description: t("Stake your RING/KTON to become a delegator or collator on Darwinia Chain."),

src/data/community.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import github from "../assets/images/github.svg";
1111
import message from "../assets/images/message.svg";
1212
import startStake from "../assets/images/start-stake-2.png";
1313
import runValidator from "../assets/images/run-validator.png";
14-
import darwiniaAmbassador from "../assets/images/darwinia-ambassador.png";
1514
import darwiniaGrants from "../assets/images/darwinia-grant.png";
1615

1716
/* make sure you use a custom hook here since we have to use the useTranslation hook
@@ -94,7 +93,7 @@ const getInvolved = (t: TFunction<"translation">): FeatureWrapper => {
9493
links: [
9594
{
9695
isExternal: true,
97-
url: "https://darwinia.notion.site/Staking-56cd5e14439b4c9789f1cf63edd1d9d7",
96+
url: "https://docs.darwinia.network/staking-guide-d7387bfc4d3f4604860651f268ed00ba",
9897
title: t(localeKeys.startStake),
9998
},
10099
],
@@ -110,17 +109,6 @@ const getInvolved = (t: TFunction<"translation">): FeatureWrapper => {
110109
},
111110
],
112111
},
113-
{
114-
icon: darwiniaAmbassador,
115-
type: 4,
116-
links: [
117-
{
118-
isExternal: true,
119-
url: "https://medium.com/@darwinianetwork/join-the-darwinia-ambassador-program-b57a0d8b2802",
120-
title: t(localeKeys.becomeDarwiniaAmbassador),
121-
},
122-
],
123-
},
124112
{
125113
icon: darwiniaGrants,
126114
type: 4,

src/data/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const getDarwiniaPower = (t: TFunction<"translation">): FeatureWrapper => {
200200
links: [
201201
{
202202
title: t(localeKeys.startStake),
203-
url: "https://darwinia.notion.site/Staking-56cd5e14439b4c9789f1cf63edd1d9d7",
203+
url: "https://docs.darwinia.network/staking-guide-d7387bfc4d3f4604860651f268ed00ba",
204204
isExternal: true,
205205
},
206206
{

src/locale/localeKeys.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ const localeKeys = {
132132
community: "community",
133133
subscriptionSuccessful: "subscriptionSuccessful",
134134
getInvolved: "getInvolved",
135-
becomeDarwiniaAmbassador: "becomeDarwiniaAmbassador",
136135
applyDarwiniaGrant: "applyDarwiniaGrant",
137136
paperResources: "paperResources",
138137
paperResourcesIntro: "paperResourcesIntro",

src/locale/translations/enUS.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ const enUs = {
125125
[localeKeys.crab]: `crab`,
126126
[localeKeys.community]: `community`,
127127
[localeKeys.getInvolved]: `get involved`,
128-
[localeKeys.becomeDarwiniaAmbassador]: `Become a Darwinia Ambassador >`,
129128
[localeKeys.applyDarwiniaGrant]: `Apply for the Darwinia Grant >`,
130129
[localeKeys.paperResources]: `Paper Resources`,
131130
[localeKeys.paperResourcesIntro]: `A series of papers written by experts about Darwinia Network.`,

0 commit comments

Comments
 (0)