Skip to content

Commit 5420800

Browse files
authored
Merge pull request #175 from ethereum/learn-page
Add Learn page
2 parents e42088b + ff6e37f commit 5420800

File tree

2 files changed

+733
-0
lines changed

2 files changed

+733
-0
lines changed

src/lib/utils/translations.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ const getRequiredNamespacesForPath = (path: string) => {
8282
requiredNamespaces = [...requiredNamespaces, "page-developers-index"]
8383
}
8484

85+
if (path.startsWith("/learn")) {
86+
requiredNamespaces = [...requiredNamespaces, "page-learn"]
87+
}
88+
8589
if (path.startsWith("/developers/local-environment")) {
8690
requiredNamespaces = [
8791
...requiredNamespaces,

0 commit comments

Comments
 (0)