Skip to content

Commit

Permalink
fix: add staking page description
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Nov 14, 2023
1 parent 8118307 commit 953df04
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/locales/en/staking.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"FVH title": "Stake, earn and secure the networks with Forbole",
"description": "Stake, earn and secure the networks with Forbole",
"annual reward": "Annual reward rate",
"apy": "Annual Percentage Yield",
"benefits bullet 1": "Earn your staking rewards, it allows you to earn rewards for securing the network with your contribution",
Expand Down
1 change: 1 addition & 0 deletions public/locales/zh-CN/staking.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"FVH title": "Stake, earn and secure the networks with Forbole",
"description": "Stake, earn and secure the networks with Forbole",
"annual reward": "Annual reward rate",
"apy": "Annual Percentage Yield",
"benefits bullet 1": "Earn your staking rewards, it allows you to earn rewards for securing the network with your contribution",
Expand Down
1 change: 1 addition & 0 deletions public/locales/zh-HK/staking.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"FVH title": "Stake, earn and secure the networks with Forbole",
"description": "Stake, earn and secure the networks with Forbole",
"annual reward": "Annual reward rate",
"apy": "Annual Percentage Yield",
"benefits bullet 1": "Earn your staking rewards, it allows you to earn rewards for securing the network with your contribution",
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout_val/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const LayoutVal = ({
}: Props) => {
const theme = useTheme();
const router = useRouter();
const { t } = useTranslation();
const { t } = useTranslation("staking");
const currentPath = router.asPath === "/" ? "/" : `${router.asPath}`;
const url = process.env.NEXT_PUBLIC_URL;
let ogImage = image ?? `${url}/static/icons/favicon-96x96.png`;
Expand Down

0 comments on commit 953df04

Please sign in to comment.