From 8ea08bf237fdec48513c8abf345bbecfd7362f86 Mon Sep 17 00:00:00 2001 From: MrPiglr Date: Wed, 4 Feb 2026 04:19:32 +0000 Subject: [PATCH] new file: src/pages/docs.astro --- src/pages/docs.astro | 421 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 421 insertions(+) create mode 100644 src/pages/docs.astro diff --git a/src/pages/docs.astro b/src/pages/docs.astro new file mode 100644 index 0000000..fe3f39f --- /dev/null +++ b/src/pages/docs.astro @@ -0,0 +1,421 @@ +--- +import MainLayout from '../layouts/MainLayout.astro'; + +const docCategories = [ + { + title: 'Getting Started', + icon: '🚀', + color: '#6cf', + docs: [ + { name: 'Introduction to AeThex', description: 'Overview of the ecosystem and core concepts', time: '5 min read' }, + { name: 'Quickstart Guide', description: 'Get up and running in under 10 minutes', time: '10 min read' }, + { name: 'Architecture Overview', description: 'Understanding the Trinity structure', time: '8 min read' }, + { name: 'Authentication Setup', description: 'Implement SSO and identity verification', time: '12 min read' }, + ] + }, + { + title: 'Core APIs', + icon: '⚡', + color: '#ff4d4d', + docs: [ + { name: 'Identity API', description: 'User authentication and profile management', time: '15 min read' }, + { name: 'Asset API', description: 'Digital asset creation and management', time: '12 min read' }, + { name: 'Events API', description: 'Real-time event streaming and webhooks', time: '10 min read' }, + { name: 'Analytics API', description: 'Usage metrics and insights', time: '8 min read' }, + ] + }, + { + title: 'SDKs & Tools', + icon: '🛠️', + color: '#ffc700', + docs: [ + { name: 'JavaScript SDK', description: 'Full-featured SDK for web applications', time: '20 min read' }, + { name: 'Python SDK', description: 'Backend integration and automation', time: '15 min read' }, + { name: 'Unity Plugin', description: 'Game engine integration guide', time: '25 min read' }, + { name: 'CLI Reference', description: 'Command-line tools documentation', time: '10 min read' }, + ] + }, + { + title: 'Advanced Topics', + icon: '🧠', + color: '#a855f7', + docs: [ + { name: 'Decentralized Storage', description: 'IPFS and distributed data patterns', time: '18 min read' }, + { name: 'Smart Contracts', description: 'On-chain asset management', time: '22 min read' }, + { name: 'AI Integration', description: 'Machine learning APIs and models', time: '20 min read' }, + { name: 'Security Best Practices', description: 'Hardening your implementation', time: '15 min read' }, + ] + } +]; + +const popularDocs = [ + { name: 'Quickstart Guide', views: '12.4k', icon: '📖' }, + { name: 'Authentication Setup', views: '8.2k', icon: '🔐' }, + { name: 'JavaScript SDK', views: '6.8k', icon: '💻' }, + { name: 'Identity API', views: '5.1k', icon: '👤' }, +]; +--- + + +
+
+
+

Documentation

+

Everything you need to build on the AeThex ecosystem. Comprehensive guides, API references, and tutorials.

+ + + +
+
+ + +
+
+ 150+ + Documentation Pages +
+
+ 4 + SDKs Available +
+
+ 50+ + Code Examples +
+
+ Weekly + Updates +
+
+ + + + + +
+ {docCategories.map(category => ( +
+
+ {category.icon} +

{category.title}

+
+
+ {category.docs.map(doc => ( + +

{doc.name}

+

{doc.description}

+ {doc.time} +
+ ))} +
+
+ ))} +
+ + +
+
+

Full API Reference

+

Dive into the complete API documentation with interactive examples, request/response schemas, and authentication guides.

+ +
+
+
// Example: Authenticate a user
+const user = await aethex.auth.login({'{'}
+  email: 'user@example.com',
+  provider: 'sso'
+{'}'});
+
+// Access user profile
+console.log(user.profile);
+
+
+ + +