Skip to content

Commit 0c821ee

Browse files
committed
refactor: update documentation structure and enhance UI components
- Refactored imports for Fumadocs UI components, organizing them by type for better clarity. - Replaced AccordionItem with Accordion for improved component consistency. - Updated API response time formatting to use HTML entities for better rendering. - Enhanced various sections with Accordion and Card components to improve user experience and visual hierarchy. - Ensured all documentation adheres to the latest Fumadocs UI standards for a cohesive look and feel.
1 parent 5cff509 commit 0c821ee

13 files changed

Lines changed: 94 additions & 89 deletions

File tree

content/docs/application-kits/asset-tokenization/api-portal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ class TokenizedAssetExchange {
337337
## What are the performance specifications?
338338

339339
### API Performance Metrics
340-
- **Response Time:** <100ms average, <500ms 99th percentile
340+
- **Response Time:** &lt;100ms average, &lt;500ms 99th percentile
341341
- **Throughput:** 10,000 requests/second per instance
342342
- **Availability:** 99.9% uptime SLA
343343
- **Global Coverage:** CDN endpoints in 15 regions

content/docs/application-kits/asset-tokenization/asset-manager.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ For regulated assets like stablecoins and deposits, the Collateral section provi
170170
- **Proven Collateral**: Cryptographically verified reserves (updated every 15 minutes)
171171
- **Required Threshold**: Regulatory minimum (typically 100-150% for stablecoins)
172172
- **Current Ratio**: Live collateralization percentage with color-coded alerts:
173-
- 🟢 **Green (>110%)**: Healthy over-collateralization
173+
- 🟢 **Green (&gt;110%)**: Healthy over-collateralization
174174
- 🟡 **Yellow (100-110%)**: Approaching minimum threshold
175-
- 🔴 **Red (<100%)**: Immediate action required
175+
- 🔴 **Red (&lt;100%)**: Immediate action required
176176

177177
**Proof of Reserves System**
178178
- **Validation Timestamp**: When collateral was last verified by oracles
@@ -216,9 +216,9 @@ The Statistics section transforms raw blockchain data into actionable business i
216216
**Distribution Analysis**
217217
- **Gini Coefficient**: Mathematical measure of wealth distribution (0-1 scale)
218218
- **Wallet Segmentation**:
219-
- Whales (>1% of supply): 5 wallets
219+
- Whales (&gt;1% of supply): 5 wallets
220220
- Institutions (0.1-1%): 50 wallets
221-
- Retail (<0.1%): 10,000 wallets
221+
- Retail (&lt;0.1%): 10,000 wallets
222222
- **Geographic Distribution**: Token holders by jurisdiction (KYC-verified)
223223

224224
**Transaction Metrics**

content/docs/application-kits/asset-tokenization/ui-customization.mdx

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ description: "Learn how to customize, rebrand, and extend the SettleMint Asset T
44
keywords: ["asset tokenization UI", "blockchain frontend customization", "Next.js DApp development", "SettleMint ATK branding", "React tokenization interface", "Tailwind CSS blockchain", "enterprise DApp customization", "Web3 UI components", "tokenization platform frontend", "blockchain application branding"]
55
---
66

7-
import { Callout, Cards, Steps, Tabs, Tab, Accordion, AccordionItem } from 'fumadocs-ui/components/callout';
7+
import { Callout } from 'fumadocs-ui/components/callout';
8+
import { Cards, Card } from 'fumadocs-ui/components/card';
9+
import { Steps } from 'fumadocs-ui/components/steps';
10+
import { Tabs, Tab } from 'fumadocs-ui/components/tabs';
11+
import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
812
import { FileCode2, Palette, Component, Globe, Zap, Lock } from 'lucide-react';
913

1014
## Who needs asset tokenization UI customization?
@@ -25,17 +29,17 @@ The modular open-source platform enables fast deployment of asset tokenization s
2529
![Application Code](../../../img/application-kits/atk-ui-github.png)
2630

2731
<Cards>
28-
<Cards.Card
32+
<Card
2933
icon={<FileCode2 />}
3034
title="Frontend Focus"
3135
description="This guide covers the Next.js DApp located in kit/dapp/"
3236
/>
33-
<Cards.Card
37+
<Card
3438
icon={<Component />}
3539
title="Component Library"
3640
description="50+ pre-built React components for asset tokenization"
3741
/>
38-
<Cards.Card
42+
<Card
3943
icon={<Globe />}
4044
title="REST APIs"
4145
description="Enterprise-grade APIs for seamless integration"
@@ -44,8 +48,8 @@ The modular open-source platform enables fast deployment of asset tokenization s
4448

4549
## API integration capabilities
4650

47-
<Accordion>
48-
<AccordionItem title="What APIs are available for frontend integration?">
51+
<Accordions>
52+
<Accordion title="What APIs are available for frontend integration?">
4953
The ATK exposes **25+ REST endpoints** covering:
5054
- **Asset operations**: Mint, burn, transfer, freeze (avg. 200ms response)
5155
- **User management**: KYC verification, role assignment, permissions
@@ -54,26 +58,26 @@ The modular open-source platform enables fast deployment of asset tokenization s
5458
- **Compliance controls**: Whitelist management, transfer restrictions
5559

5660
All endpoints use **OAuth 2.0** authentication with rotating API keys.
57-
</AccordionItem>
61+
</Accordion>
5862

59-
<AccordionItem title="How do I integrate with existing enterprise systems?">
63+
<Accordion title="How do I integrate with existing enterprise systems?">
6064
Common integration patterns include:
6165
- **ERP systems** (SAP, Oracle): Asset metadata sync, automated reconciliation
6266
- **CRM platforms** (Salesforce, HubSpot): Investor onboarding, KYC workflows
6367
- **Banking systems**: Fiat on/off ramps, settlement instructions
6468
- **Reporting tools** (Tableau, PowerBI): Real-time analytics dashboards
6569

6670
Use the `/api/swagger` endpoint to generate TypeScript clients automatically.
67-
</AccordionItem>
71+
</Accordion>
6872

69-
<AccordionItem title="What are typical API response times?">
73+
<Accordion title="What are typical API response times?">
7074
Performance benchmarks from production deployments:
7175
- **Read operations**: 50-200ms (cached)
7276
- **Write operations**: 200-500ms (blockchain confirmation)
7377
- **Bulk operations**: 1-5 seconds (batch processing)
74-
- **WebSocket events**: <100ms latency
75-
</AccordionItem>
76-
</Accordion>
78+
- **WebSocket events**: &lt;100ms latency
79+
</Accordion>
80+
</Accordions>
7781

7882
## Project structure deep dive
7983

@@ -132,27 +136,27 @@ The modular open-source platform enables fast deployment of asset tokenization s
132136
## Technology stack specifications
133137

134138
<Cards>
135-
<Cards.Card
139+
<Card
136140
title="Next.js 15.3"
137141
description="Server-side rendering, 40% faster builds, React Server Components"
138142
/>
139-
<Cards.Card
143+
<Card
140144
title="Tailwind CSS 3.4"
141145
description="JIT compilation, 200+ utility classes, dark mode support"
142146
/>
143-
<Cards.Card
147+
<Card
144148
title="TypeScript 5.0"
145149
description="100% type coverage, strict mode, advanced generics"
146150
/>
147-
<Cards.Card
151+
<Card
148152
title="React 19"
149153
description="Concurrent features, automatic batching, Suspense boundaries"
150154
/>
151-
<Cards.Card
155+
<Card
152156
title="Wagmi 2.0"
153157
description="Ethereum interactions, wallet management, contract hooks"
154158
/>
155-
<Cards.Card
159+
<Card
156160
title="TanStack Query"
157161
description="Data fetching, caching, real-time synchronization"
158162
/>
@@ -238,8 +242,8 @@ The modular open-source platform enables fast deployment of asset tokenization s
238242

239243
## Creating custom routes and views
240244

241-
<Accordion>
242-
<AccordionItem title="How do I add a new page for investor analytics?">
245+
<Accordions>
246+
<Accordion title="How do I add a new page for investor analytics?">
243247
Create a new route using Next.js App Router:
244248

245249
```tsx
@@ -262,9 +266,9 @@ The modular open-source platform enables fast deployment of asset tokenization s
262266
description: 'Real-time portfolio analytics and performance metrics',
263267
};
264268
```
265-
</AccordionItem>
269+
</Accordion>
266270

267-
<AccordionItem title="What are common custom views for tokenization platforms?">
271+
<Accordion title="What are common custom views for tokenization platforms?">
268272
Based on 50+ deployments, these are the most requested custom views:
269273

270274
| View Type | Purpose | Typical Users |
@@ -274,9 +278,9 @@ The modular open-source platform enables fast deployment of asset tokenization s
274278
| Compliance Center | KYC reviews, transaction monitoring | Compliance teams |
275279
| Secondary Market | P2P trading, order book | Active traders |
276280
| Yield Calculator | ROI projections, payment schedules | Prospective investors |
277-
</AccordionItem>
281+
</Accordion>
278282

279-
<AccordionItem title="How do I implement role-based routing?">
283+
<Accordion title="How do I implement role-based routing?">
280284
Use middleware for access control:
281285

282286
```tsx
@@ -300,8 +304,8 @@ The modular open-source platform enables fast deployment of asset tokenization s
300304
matcher: ['/admin/:path*', '/issuer/:path*'],
301305
};
302306
```
303-
</AccordionItem>
304-
</Accordion>
307+
</Accordion>
308+
</Accordions>
305309

306310
## Custom hooks for blockchain logic
307311

@@ -513,8 +517,8 @@ The modular open-source platform enables fast deployment of asset tokenization s
513517

514518
## Internationalization and localization
515519

516-
<Accordion>
517-
<AccordionItem title="Which languages are supported out of the box?">
520+
<Accordions>
521+
<Accordion title="Which languages are supported out of the box?">
518522
The ATK includes translations for 12 languages:
519523
- **English** (en) - Default
520524
- **Spanish** (es) - Latin America & Spain variants
@@ -528,9 +532,9 @@ The modular open-source platform enables fast deployment of asset tokenization s
528532
- **Chinese** (zh) - Simplified & Traditional
529533
- **Arabic** (ar) - RTL support
530534
- **Hindi** (hi)
531-
</AccordionItem>
535+
</Accordion>
532536

533-
<AccordionItem title="How do I add custom translations?">
537+
<Accordion title="How do I add custom translations?">
534538
```json
535539
// src/i18n/locales/en.json
536540
{
@@ -560,9 +564,9 @@ The modular open-source platform enables fast deployment of asset tokenization s
560564
}
561565
}
562566
```
563-
</AccordionItem>
567+
</Accordion>
564568

565-
<AccordionItem title="How do I handle legal disclaimers by jurisdiction?">
569+
<Accordion title="How do I handle legal disclaimers by jurisdiction?">
566570
Implement jurisdiction-aware content:
567571

568572
```tsx
@@ -588,8 +592,8 @@ The modular open-source platform enables fast deployment of asset tokenization s
588592
return disclaimers[country] || disclaimers.US;
589593
}
590594
```
591-
</AccordionItem>
592-
</Accordion>
595+
</Accordion>
596+
</Accordions>
593597

594598
## Utility functions and type safety
595599

@@ -803,19 +807,19 @@ The modular open-source platform enables fast deployment of asset tokenization s
803807
## Real-world customization examples
804808

805809
<Cards>
806-
<Cards.Card
810+
<Card
807811
title="DBS Bank - Project Orchid"
808812
description="Customized for government bond tokenization with SGD stablecoin integration"
809813
/>
810-
<Cards.Card
814+
<Card
811815
title="Santander - Digital Assets Platform"
812816
description="Adapted for corporate bond issuance with multi-currency support"
813817
/>
814-
<Cards.Card
818+
<Card
815819
title="BlackRock - Private Markets"
816820
description="Modified for alternative investment funds with sophisticated compliance rules"
817821
/>
818-
<Cards.Card
822+
<Card
819823
title="Société Générale - FORGE"
820824
description="Enhanced for security token offerings with regulatory reporting"
821825
/>

content/docs/application-kits/introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
128128

129129
### Performance Benchmarks
130130
- **Transaction Throughput:** Up to 10,000 TPS (Layer 2)
131-
- **API Response Time:** <100ms average
131+
- **API Response Time:** &lt;100ms average
132132
- **Uptime SLA:** 99.9% availability
133133

134134
## Getting started with Application Kits
@@ -153,7 +153,7 @@ import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
153153
<GithubInfo
154154
owner="settlemint"
155155
repo="asset-tokenization-kit"
156-
/>;
156+
/>
157157

158158

159159
## Frequently asked questions

content/docs/index.mdx

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ icon: house
44
---
55

66
import Link from "next/link";
7-
import { Callout, Tabs, Tab, Steps, Step, Accordion, AccordionItem } from 'fumadocs-ui/components';
7+
import { Callout } from 'fumadocs-ui/components/callout';
8+
import { Tabs, Tab } from 'fumadocs-ui/components/tabs';
9+
import { Steps } from 'fumadocs-ui/components/steps';
10+
import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
811

912
## What is SettleMint? Your complete platform for enterprise blockchain development
1013

@@ -772,43 +775,43 @@ SettleMint Application Kits provide complete, full-stack blockchain solutions fo
772775

773776
## Frequently asked questions
774777

775-
<Accordion type="single" collapsible>
776-
<AccordionItem value="blockchain-choice" title="Which blockchain should I use for my project?">
778+
<Accordions>
779+
<Accordion title="Which blockchain should I use for my project?">
777780
**For public transparency:** Ethereum (most secure), Polygon (fast & cheap), Arbitrum/Optimism (Ethereum L2s)
778781

779782
**For private data:** Hyperledger Besu (Ethereum-compatible), Hyperledger Fabric (modular), Quorum (JPMorgan)
780783

781784
**For specific needs:** Hedera (high-speed), Avalanche (subnets), Soneium (gaming)
782-
</AccordionItem>
785+
</Accordion>
783786

784-
<AccordionItem value="build-time" title="How long does it take to build a blockchain app?">
787+
<Accordion title="How long does it take to build a blockchain app?">
785788
With SettleMint: **2-6 weeks** for a production-ready application
786789

787790
Without SettleMint: **3-6 months** typically
788-
</AccordionItem>
791+
</Accordion>
789792

790-
<AccordionItem value="expertise" title="Do I need blockchain expertise to use SettleMint?">
793+
<Accordion title="Do I need blockchain expertise to use SettleMint?">
791794
Basic programming knowledge is enough. SettleMint handles the complex blockchain infrastructure, letting you focus on your application logic.
792-
</AccordionItem>
795+
</Accordion>
793796

794-
<AccordionItem value="platform-contents" title="What's included in the platform?">
797+
<Accordion title="What's included in the platform?">
795798
Everything needed for blockchain development: infrastructure, development tools, APIs, databases, storage, security, monitoring, and deployment tools.
796-
</AccordionItem>
799+
</Accordion>
797800

798-
<AccordionItem value="getting-started" title="How do I get started?">
801+
<Accordion title="How do I get started?">
799802
<Steps>
800-
<Step>
803+
<Steps.Step>
801804
[Sign up for a free trial](https://console.settlemint.com)
802-
</Step>
803-
<Step>
805+
</Steps.Step>
806+
<Steps.Step>
804807
Follow the [Getting Started guide](/building-with-settlemint/getting-started)
805-
</Step>
806-
<Step>
808+
</Steps.Step>
809+
<Steps.Step>
807810
Deploy your first smart contract in under 30 minutes
808-
</Step>
811+
</Steps.Step>
809812
</Steps>
810-
</AccordionItem>
811-
</Accordion>
813+
</Accordion>
814+
</Accordions>
812815

813816
## Need help?
814817

content/docs/knowledge-bank/blockchain-app-design.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: "Master blockchain application architecture with comprehensive desi
55

66
import { Callout } from "fumadocs-ui/components/callout";
77
import { Card } from "fumadocs-ui/components/card";
8-
import { Tabs, Tab } from "fumadocs-ui/components/ui/tabs";
9-
import { Steps, Step } from "fumadocs-ui/components/ui/steps";
10-
import { Accordion, Accordions } from "fumadocs-ui/components/ui/accordion";
8+
import { Tabs, Tab } from "fumadocs-ui/components/tabs";
9+
import { Steps } from "fumadocs-ui/components/steps";
10+
import { Accordion, Accordions } from "fumadocs-ui/components/accordion";
1111

1212
# Enterprise Blockchain Application Design: Architecture Patterns & Best Practices
1313

content/docs/knowledge-bank/chaincode.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: "Master Hyperledger Fabric chaincode development with enterprise-gr
55

66
import { Callout } from "fumadocs-ui/components/callout";
77
import { Card } from "fumadocs-ui/components/card";
8-
import { Tabs, Tab } from "fumadocs-ui/components/ui/tabs";
9-
import { Steps, Step } from "fumadocs-ui/components/ui/steps";
10-
import { Accordion, Accordions } from "fumadocs-ui/components/ui/accordion";
8+
import { Tabs, Tab } from "fumadocs-ui/components/tabs";
9+
import { Steps } from "fumadocs-ui/components/steps";
10+
import { Accordion, Accordions } from "fumadocs-ui/components/accordion";
1111

1212
# Enterprise Hyperledger Fabric Chaincode Development
1313

content/docs/knowledge-bank/industrial-usecases.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: "Comprehensive guide to implementing blockchain solutions across ma
55

66
import { Callout } from "fumadocs-ui/components/callout";
77
import { Card } from "fumadocs-ui/components/card";
8-
import { Tabs, Tab } from "fumadocs-ui/components/ui/tabs";
9-
import { Steps, Step } from "fumadocs-ui/components/ui/steps";
10-
import { Accordion, Accordions } from "fumadocs-ui/components/ui/accordion";
8+
import { Tabs, Tab } from "fumadocs-ui/components/tabs";
9+
import { Steps } from "fumadocs-ui/components/steps";
10+
import { Accordion, Accordions } from "fumadocs-ui/components/accordion";
1111

1212
# Industrial Blockchain Applications: Manufacturing, Supply Chain & Enterprise Solutions
1313

0 commit comments

Comments
 (0)