Skip to content

Commit 82c8b33

Browse files
committed
Add /eth page
1 parent 046bee2 commit 82c8b33

File tree

2 files changed

+571
-1
lines changed

2 files changed

+571
-1
lines changed

src/lib/utils/translations.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ const getRequiredNamespacesForPath = (path: string) => {
6666
]
6767
}
6868

69+
if (path.startsWith("/eth")) {
70+
requiredNamespaces = [...requiredNamespaces, "page-eth"]
71+
}
72+
6973
if (path.startsWith("/glossary")) {
7074
requiredNamespaces = [...requiredNamespaces, "glossary"]
7175
}
@@ -131,7 +135,8 @@ const getRequiredNamespacesForPath = (path: string) => {
131135
path.startsWith("/nft") ||
132136
path.startsWith("/roadmap/merge") ||
133137
path.startsWith("/security") ||
134-
path.startsWith("/quizzes")
138+
path.startsWith("/quizzes") ||
139+
path.startsWith("/eth")
135140
) {
136141
requiredNamespaces = [...requiredNamespaces, "learn-quizzes"]
137142
}

0 commit comments

Comments
 (0)