File tree Expand file tree Collapse file tree 5 files changed +10
-14
lines changed Expand file tree Collapse file tree 5 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
1
export * from "./BaseLayout"
2
2
export * from "./Docs"
3
3
export * from "./md"
4
- export * from "./md/Roadmap"
5
- export * from "./md/Staking"
6
- export * from "./md/Translatathon"
7
4
export * from "./Static"
8
5
export * from "./Tutorial"
9
6
export * from "./UseCases"
Original file line number Diff line number Diff line change @@ -88,14 +88,14 @@ export const RoadmapLayout = ({
88
88
return (
89
89
< ContentLayout
90
90
dir = { contentNotTranslated ? "ltr" : "unset" }
91
+ tocItems = { tocItems }
92
+ dropdownLinks = { dropdownLinks }
93
+ maxDepth = { frontmatter . sidebarDepth }
91
94
heroProps = { {
92
95
...frontmatter ,
93
96
breadcrumbs : { slug, startDepth : 1 } ,
94
97
heroImg : frontmatter . image ,
95
98
} }
96
- tocItems = { tocItems }
97
- dropdownLinks = { dropdownLinks }
98
- maxDepth = { frontmatter . sidebarDepth }
99
99
>
100
100
{ children }
101
101
</ ContentLayout >
Original file line number Diff line number Diff line change @@ -210,6 +210,9 @@ export const StakingLayout = ({
210
210
return (
211
211
< ContentLayout
212
212
dir = { contentNotTranslated ? "ltr" : "unset" }
213
+ tocItems = { tocItems }
214
+ dropdownLinks = { dropdownLinks }
215
+ maxDepth = { frontmatter . sidebarDepth }
213
216
heroProps = { {
214
217
...frontmatter ,
215
218
breadcrumbs : { slug, startDepth : 1 } ,
@@ -226,9 +229,6 @@ export const StakingLayout = ({
226
229
</ >
227
230
) ,
228
231
} }
229
- tocItems = { tocItems }
230
- dropdownLinks = { dropdownLinks }
231
- maxDepth = { frontmatter . sidebarDepth }
232
232
>
233
233
{ children }
234
234
< StakingCommunityCallout my = { 16 } />
Original file line number Diff line number Diff line change @@ -187,6 +187,8 @@ export const TranslatathonLayout = ({
187
187
return (
188
188
< ContentLayout
189
189
dir = "ltr"
190
+ tocItems = { tocItems }
191
+ dropdownLinks = { dropdownLinks }
190
192
heroProps = { {
191
193
...frontmatter ,
192
194
breadcrumbs : { slug, startDepth : 1 } ,
@@ -209,10 +211,7 @@ export const TranslatathonLayout = ({
209
211
} ,
210
212
] ,
211
213
} }
212
- tocItems = { tocItems }
213
- dropdownLinks = { dropdownLinks }
214
214
>
215
- { /* <CountdownBanner /> */ }
216
215
{ children }
217
216
</ ContentLayout >
218
217
)
Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ export const UpgradeLayout = ({
69
69
return (
70
70
< ContentLayout
71
71
dir = { contentNotTranslated ? "ltr" : "unset" }
72
+ tocItems = { tocItems }
73
+ dropdownLinks = { dropdownLinks }
72
74
heroProps = { {
73
75
...frontmatter ,
74
76
breadcrumbs : { slug, startDepth : 1 } ,
@@ -89,8 +91,6 @@ export const UpgradeLayout = ({
89
91
</ >
90
92
) ,
91
93
} }
92
- tocItems = { tocItems }
93
- dropdownLinks = { dropdownLinks }
94
94
>
95
95
{ children }
96
96
</ ContentLayout >
You can’t perform that action at this time.
0 commit comments