Skip to content

Commit 13120d3

Browse files
committed
[feat] add Learn page
1 parent 69c9e28 commit 13120d3

File tree

2 files changed

+726
-0
lines changed

2 files changed

+726
-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 = [...requiredNamespaces, "page-developers-local-environment"]
8791
}

0 commit comments

Comments
 (0)