forked from scroll-tech/scroll-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.ts
60 lines (59 loc) · 1.86 KB
/
menu.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
type LanguageKey = string
type MenuItem = {
text: string
link: string
section: string
}
type MenuItems = Record<LanguageKey, MenuItem[]>
export const MENU: MenuItems = {
en: [
{
text: "Getting Started",
link: "/en/getting-started/overview",
section: "gettingStarted",
},
{ text: "Developers", link: "/en/developers", section: "developers" },
{ text: "Technology", link: "/en/technology", section: "technology" },
{ text: "Learn", link: "/en/learn", section: "learn" },
],
zh: [
{
text: "入门",
link: "/zh/getting-started/overview",
section: "gettingStarted",
},
{ text: "开发者", link: "/zh/developers", section: "developers" },
{ text: "技术", link: "/zh/technology", section: "technology" },
{ text: "学习", link: "/zh/learn", section: "learn" },
],
es: [
{
text: "¿Cómo empezar?",
link: "/es/getting-started/overview",
section: "gettingStarted",
},
{ text: "Desarrolladores", link: "/es/developers", section: "developers" },
{ text: "Tecnología", link: "/es/technology", section: "technology" },
{ text: "Aprende", link: "/es/learn", section: "learn" },
],
tr: [
{
text: "Başla",
link: "/tr/getting-started/overview",
section: "gettingStarted",
},
{ text: "Geliştiriciler", link: "/tr/developers", section: "developers" },
{ text: "Teknoloji", link: "/tr/technology", section: "technology" },
{ text: "Öğren", link: "/tr/learn", section: "learn" },
],
pt: [
{
text: "Primeiros Passos",
link: "/pt/getting-started/overview",
section: "gettingStarted",
},
{ text: "Desenvolvedores", link: "/pt/developers", section: "developers" },
{ text: "Tecnologia", link: "/pt/technology", section: "technology" },
{ text: "Aprender", link: "/pt/learn", section: "learn" },
]
}