Skip to content

Commit

Permalink
Minor Update (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 authored Sep 7, 2023
1 parent 0ad7de1 commit 197c66e
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 17 deletions.
Binary file removed src/assets/images/darwinia-ambassador.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/Resources/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const getResourcesConfig = (t: TFunction): ItemCfg[] => [
title: t("Staking Rewards"),
link: {
text: t("Learn more"),
path: "https://www.notion.so/Staking-56cd5e14439b4c9789f1cf63edd1d9d7",
path: "https://docs.darwinia.network/staking-guide-d7387bfc4d3f4604860651f268ed00ba",
external: true,
},
description: t("Stake your RING/KTON to become a delegator or collator on Darwinia Chain."),
Expand Down
14 changes: 1 addition & 13 deletions src/data/community.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import github from "../assets/images/github.svg";
import message from "../assets/images/message.svg";
import startStake from "../assets/images/start-stake-2.png";
import runValidator from "../assets/images/run-validator.png";
import darwiniaAmbassador from "../assets/images/darwinia-ambassador.png";
import darwiniaGrants from "../assets/images/darwinia-grant.png";

/* make sure you use a custom hook here since we have to use the useTranslation hook
Expand Down Expand Up @@ -94,7 +93,7 @@ const getInvolved = (t: TFunction<"translation">): FeatureWrapper => {
links: [
{
isExternal: true,
url: "https://darwinia.notion.site/Staking-56cd5e14439b4c9789f1cf63edd1d9d7",
url: "https://docs.darwinia.network/staking-guide-d7387bfc4d3f4604860651f268ed00ba",
title: t(localeKeys.startStake),
},
],
Expand All @@ -110,17 +109,6 @@ const getInvolved = (t: TFunction<"translation">): FeatureWrapper => {
},
],
},
{
icon: darwiniaAmbassador,
type: 4,
links: [
{
isExternal: true,
url: "https://medium.com/@darwinianetwork/join-the-darwinia-ambassador-program-b57a0d8b2802",
title: t(localeKeys.becomeDarwiniaAmbassador),
},
],
},
{
icon: darwiniaGrants,
type: 4,
Expand Down
2 changes: 1 addition & 1 deletion src/data/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const getDarwiniaPower = (t: TFunction<"translation">): FeatureWrapper => {
links: [
{
title: t(localeKeys.startStake),
url: "https://darwinia.notion.site/Staking-56cd5e14439b4c9789f1cf63edd1d9d7",
url: "https://docs.darwinia.network/staking-guide-d7387bfc4d3f4604860651f268ed00ba",
isExternal: true,
},
{
Expand Down
1 change: 0 additions & 1 deletion src/locale/localeKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ const localeKeys = {
community: "community",
subscriptionSuccessful: "subscriptionSuccessful",
getInvolved: "getInvolved",
becomeDarwiniaAmbassador: "becomeDarwiniaAmbassador",
applyDarwiniaGrant: "applyDarwiniaGrant",
paperResources: "paperResources",
paperResourcesIntro: "paperResourcesIntro",
Expand Down
1 change: 0 additions & 1 deletion src/locale/translations/enUS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ const enUs = {
[localeKeys.crab]: `crab`,
[localeKeys.community]: `community`,
[localeKeys.getInvolved]: `get involved`,
[localeKeys.becomeDarwiniaAmbassador]: `Become a Darwinia Ambassador >`,
[localeKeys.applyDarwiniaGrant]: `Apply for the Darwinia Grant >`,
[localeKeys.paperResources]: `Paper Resources`,
[localeKeys.paperResourcesIntro]: `A series of papers written by experts about Darwinia Network.`,
Expand Down

0 comments on commit 197c66e

Please sign in to comment.