Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cypress/e2e/layout/footer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ context("<Footer/> on desktop", () => {
cy.findByTestId("FooterSectionSitemap.Newsletter")
.should("be.visible")
.should("have.attr", "href", "https://bit.ly/3yQxtmW");
cy.findByTestId("FooterSectionSitemap.Wiki")
.should("be.visible")
.should("have.attr", "href", "https://defichainwiki.com");
});

it("should have Footer Social links", () => {
Expand Down Expand Up @@ -194,6 +197,9 @@ context("<Footer/> on mobile", () => {
cy.findByTestId("FooterSectionSitemap.Newsletter")
.should("be.visible")
.should("have.attr", "href", "https://bit.ly/3yQxtmW");
cy.findByTestId("FooterSectionSitemap.Wiki")
.should("be.visible")
.should("have.attr", "href", "https://defichainwiki.com");
});

it("should have Footer Social links", () => {
Expand Down
3 changes: 2 additions & 1 deletion public/locales/de/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"whitepaper": "White Paper",
"dfcblog": "Blog",
"language": "de",
"newsletter": "Newsletter"
"newsletter": "Newsletter",
"wiki": "Wiki"
},
"social": {
"title": "Soziale Netze",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/en-US/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"whitepaper": "White Paper",
"dfcblog": "Blog",
"language": "en",
"newsletter": "Newsletter"
"newsletter": "Newsletter",
"wiki": "Wiki"
},
"social": {
"title": "Social",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/fr/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"whitepaper": "Livre blanc",
"dfcblog": "Blog",
"language": "fr",
"newsletter": "Newsletter"
"newsletter": "Newsletter",
"wiki": "Wiki"
},
"social": {
"title": "Réseaux sociaux",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/zh-Hans/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"whitepaper": "白皮书",
"dfcblog": "博客",
"language": "zh",
"newsletter": "Newsletter"
"newsletter": "Newsletter",
"wiki": "Wiki"
},
"social": {
"title": "社区",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/zh-Hant/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"whitepaper": "白皮書",
"dfcblog": "博客",
"language": "zh-tw",
"newsletter": "Newsletter"
"newsletter": "Newsletter",
"wiki": "Wiki"
},
"social": {
"title": "社區",
Expand Down
5 changes: 5 additions & 0 deletions src/layouts/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ function FooterSectionSitemap(): JSX.Element {
url="https://bit.ly/3yQxtmW"
testId="FooterSectionSitemap.Newsletter"
/>
<FooterExternalLink
text={t("footer.sitemap.wiki")}
url="https://defichainwiki.com"
testId="FooterSectionSitemap.Wiki"
/>
</FooterSection>
);
}
Expand Down