@@ -23,6 +23,20 @@ import {
2323 MobileTutorials
2424} from '../components/AdvancedTutorialSections'
2525
26+ // Import individual tutorial components
27+ import {
28+ OnlineStoreIntegrationTutorial ,
29+ MarketplaceEscrowTutorial
30+ } from './tutorials/EcommerceTutorials'
31+ import {
32+ InGameCurrencyTutorial ,
33+ NFTMarketplaceTutorial
34+ } from './tutorials/GamingTutorials'
35+ import {
36+ SaaSSubscriptionBillingTutorial ,
37+ FreelancePaymentEscrowTutorial
38+ } from './tutorials/SaaSTutorials'
39+
2640// Documentation sections
2741const sections = [
2842 {
@@ -34,16 +48,43 @@ const sections = [
3448 ]
3549 } ,
3650 {
37- title : 'Tutorials' ,
51+ title : 'E-commerce Tutorials' ,
52+ items : [
53+ { name : 'Online Store Integration' , href : '/docs/tutorials/ecommerce/online-store' , icon : Book } ,
54+ { name : 'Marketplace with Escrow' , href : '/docs/tutorials/ecommerce/marketplace-escrow' , icon : Book } ,
55+ { name : 'Subscription Box Service' , href : '/docs/tutorials/ecommerce/subscription-box' , icon : Book } ,
56+ { name : 'Digital Product Store' , href : '/docs/tutorials/ecommerce/digital-products' , icon : Book } ,
57+ { name : 'Flash Sale Management' , href : '/docs/tutorials/ecommerce/flash-sales' , icon : Book } ,
58+ ]
59+ } ,
60+ {
61+ title : 'Gaming & NFT Tutorials' ,
62+ items : [
63+ { name : 'In-Game Currency Exchange' , href : '/docs/tutorials/gaming/currency-exchange' , icon : Book } ,
64+ { name : 'NFT Marketplace for Games' , href : '/docs/tutorials/gaming/nft-marketplace' , icon : Book } ,
65+ { name : 'Tournament Prize Distribution' , href : '/docs/tutorials/gaming/tournament-prizes' , icon : Book } ,
66+ { name : 'Play-to-Earn Rewards' , href : '/docs/tutorials/gaming/play-to-earn' , icon : Book } ,
67+ { name : 'Game Asset Rental System' , href : '/docs/tutorials/gaming/asset-rental' , icon : Book } ,
68+ ]
69+ } ,
70+ {
71+ title : 'SaaS & Service Tutorials' ,
3872 items : [
39- { name : 'E-commerce Tutorials' , href : '/docs/tutorials/ecommerce' , icon : Book } ,
40- { name : 'Gaming & NFT Tutorials' , href : '/docs/tutorials/gaming' , icon : Book } ,
41- { name : 'DeFi Integration Tutorials' , href : '/docs/tutorials/defi' , icon : Book } ,
42- { name : 'SaaS & Service Tutorials' , href : '/docs/tutorials/saas' , icon : Book } ,
43- { name : 'Creator & Social Tutorials' , href : '/docs/tutorials/social' , icon : Book } ,
44- { name : 'Enterprise Tutorials' , href : '/docs/tutorials/enterprise' , icon : Book } ,
45- { name : 'Cross-Chain Tutorials' , href : '/docs/tutorials/cross-chain' , icon : Book } ,
46- { name : 'Mobile & IoT Tutorials' , href : '/docs/tutorials/mobile' , icon : Book } ,
73+ { name : 'SaaS Subscription Billing' , href : '/docs/tutorials/saas/subscription-billing' , icon : Book } ,
74+ { name : 'Freelance Payment Escrow' , href : '/docs/tutorials/saas/freelance-escrow' , icon : Book } ,
75+ { name : 'Consulting Time Tracking' , href : '/docs/tutorials/saas/time-tracking' , icon : Book } ,
76+ { name : 'API Usage Billing' , href : '/docs/tutorials/saas/api-billing' , icon : Book } ,
77+ { name : 'Software License Management' , href : '/docs/tutorials/saas/license-management' , icon : Book } ,
78+ ]
79+ } ,
80+ {
81+ title : 'DeFi & Finance Tutorials' ,
82+ items : [
83+ { name : 'Yield Farming Rewards' , href : '/docs/tutorials/defi/yield-farming' , icon : Book } ,
84+ { name : 'Cross-Chain Arbitrage Bot' , href : '/docs/tutorials/defi/arbitrage-bot' , icon : Book } ,
85+ { name : 'Lending Protocol Integration' , href : '/docs/tutorials/defi/lending-protocol' , icon : Book } ,
86+ { name : 'DEX Trading Fee Distribution' , href : '/docs/tutorials/defi/dex-fees' , icon : Book } ,
87+ { name : 'Automated Market Maker' , href : '/docs/tutorials/defi/amm' , icon : Book } ,
4788 ]
4889 } ,
4990 {
@@ -178,14 +219,29 @@ export function DocsPage() {
178219 < Route path = "/developer-guide" element = { < DeveloperGuideDoc /> } />
179220 < Route path = "/api" element = { < ApiDoc /> } />
180221 < Route path = "/cli" element = { < CliDoc /> } />
222+
223+ { /* E-commerce Tutorials */ }
181224 < Route path = "/tutorials/ecommerce" element = { < EcommerceTutorials /> } />
225+ < Route path = "/tutorials/ecommerce/online-store" element = { < OnlineStoreIntegrationTutorial /> } />
226+ < Route path = "/tutorials/ecommerce/marketplace-escrow" element = { < MarketplaceEscrowTutorial /> } />
227+
228+ { /* Gaming Tutorials */ }
182229 < Route path = "/tutorials/gaming" element = { < GamingTutorials /> } />
183- < Route path = "/tutorials/defi" element = { < DeFiTutorials /> } />
230+ < Route path = "/tutorials/gaming/currency-exchange" element = { < InGameCurrencyTutorial /> } />
231+ < Route path = "/tutorials/gaming/nft-marketplace" element = { < NFTMarketplaceTutorial /> } />
232+
233+ { /* SaaS Tutorials */ }
184234 < Route path = "/tutorials/saas" element = { < SaaSTutorials /> } />
235+ < Route path = "/tutorials/saas/subscription-billing" element = { < SaaSSubscriptionBillingTutorial /> } />
236+ < Route path = "/tutorials/saas/freelance-escrow" element = { < FreelancePaymentEscrowTutorial /> } />
237+
238+ { /* Other category pages */ }
239+ < Route path = "/tutorials/defi" element = { < DeFiTutorials /> } />
185240 < Route path = "/tutorials/social" element = { < SocialTutorials /> } />
186241 < Route path = "/tutorials/enterprise" element = { < EnterpriseTutorials /> } />
187242 < Route path = "/tutorials/cross-chain" element = { < CrossChainTutorials /> } />
188243 < Route path = "/tutorials/mobile" element = { < MobileTutorials /> } />
244+
189245 < Route path = "/cross-chain" element = { < CrossChainDoc /> } />
190246 < Route path = "/architecture" element = { < ArchitectureDoc /> } />
191247 < Route path = "/security" element = { < SecurityDoc /> } />
0 commit comments