@@ -14,7 +14,8 @@ export const en = defineConfig({
14
14
sidebar : {
15
15
'/dapplink/' : { base : '/dapplink/' , items : sidebarDappLink ( ) } ,
16
16
'/wallet/' : { base : '/wallet/' , items : sidebarWallet ( ) } ,
17
- '/chain/' : { base : '/chain/' , items : sidebarChain ( ) }
17
+ '/chain/' : { base : '/chain/' , items : sidebarChain ( ) } ,
18
+ '/dapps/' : { base : '/chain/' , items : sidebarDapp ( ) }
18
19
} ,
19
20
20
21
editLink : {
@@ -211,3 +212,43 @@ function sidebarChain(): DefaultTheme.SidebarItem[] {
211
212
}
212
213
]
213
214
}
215
+
216
+ function sidebarDapp ( ) : DefaultTheme . SidebarItem [ ] {
217
+ return [
218
+ {
219
+ items : [
220
+ {
221
+ text : 'Introduction' ,
222
+ base : '/en/dapps/' ,
223
+ collapsed : false ,
224
+ items : [
225
+ { text : 'Overview' , link : 'overview' } ,
226
+ { text : 'Function Module' , link : 'core-module' }
227
+ ]
228
+ } ,
229
+ {
230
+ text : 'Function Module Detailed' ,
231
+ base : '/en/dapps/' ,
232
+ collapsed : false ,
233
+ items : [
234
+ { text : 'Dex' , link : 'dex-spot' } ,
235
+ { text : 'Dex Derivatives' , link : 'dex-derivatives' } ,
236
+ { text : 'Staking And Lending' , link : 'staking-protocol' } ,
237
+ { text : 'LSP And ReStaking' , link : 'lsp-restaking' } ,
238
+ { text : 'On Chain Insurance' , link : 'onchain-insurance' } ,
239
+ { text : 'PayFi And RWA' , link : 'payfi-rwa' } ,
240
+ ]
241
+ } ,
242
+ {
243
+ text : 'EventFi Case' ,
244
+ base : '/en/dapps/case/' ,
245
+ collapsed : false ,
246
+ items : [
247
+ { text : 'Local network' , link : 'chain-setup' } ,
248
+ { text : 'Start' , link : 'start-test' } ,
249
+ ]
250
+ }
251
+ ]
252
+ }
253
+ ]
254
+ }
0 commit comments