Skip to content

Commit

Permalink
Merge pull request #578 from DeXter-on-Radix/add-treasury-shortlink
Browse files Browse the repository at this point in the history
Add treasury shortlink
  • Loading branch information
Radstakes authored Sep 11, 2024
2 parents 2338d4d + 80a1fcf commit 6c2d0ff
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/app/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ export function Footer() {
text: t("roadmap"),
url: "https://ductus.notion.site/DeXter-Roadmap-e8faed71fe1c4cdf95fb247f682c0d3a",
},
{
text: t("treasury"),
url: "https://dashboard.radixdlt.com/account/account_rdx168qrzyngejus9nazhp7rw9z3qn2r7uk3ny89m5lwvl299ayv87vpn5",
},
],
};
const contentColumn2 = {
Expand Down
3 changes: 2 additions & 1 deletion src/app/state/locales/en/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"report_bug": "Report bug",
"support": "Support",
"report_translation_issue": "Report translation issue",
"roadmap": "Roadmap"
"roadmap": "Roadmap",
"treasury": "Treasury"
}
3 changes: 2 additions & 1 deletion src/app/state/locales/pt/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"report_bug": "Relatar erro",
"support": "Suporte",
"report_translation_issue": "Relatar problema de tradução",
"roadmap": "Roadmap"
"roadmap": "Roadmap",
"treasury": "Treasury"
}
18 changes: 18 additions & 0 deletions src/app/treasury/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"use client";

import { useEffect } from "react";
import { useRouter } from "next/navigation";

const Treasury = () => {
const router = useRouter();

useEffect(() => {
router.push(
"https://dashboard.radixdlt.com/account/account_rdx168qrzyngejus9nazhp7rw9z3qn2r7uk3ny89m5lwvl299ayv87vpn5"
);
}, [router]);

return null;
};

export default Treasury;

0 comments on commit 6c2d0ff

Please sign in to comment.