From e910d22cbf825c25832be44faa0fdf7fafc81312 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Fri, 8 Aug 2025 11:04:28 +0000 Subject: [PATCH] Create docs overview/index page cgen-c11be7a40bad47dcbc76c4fe3ac54521 --- client/pages/docs/DocsOverview.tsx | 297 +++++++++++++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 client/pages/docs/DocsOverview.tsx diff --git a/client/pages/docs/DocsOverview.tsx b/client/pages/docs/DocsOverview.tsx new file mode 100644 index 00000000..4d4d0674 --- /dev/null +++ b/client/pages/docs/DocsOverview.tsx @@ -0,0 +1,297 @@ +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; +import { Badge } from "@/components/ui/badge"; +import { Link } from "react-router-dom"; +import { + BookOpen, + Code, + Terminal, + Video, + FileText, + ArrowRight, + Rocket, + Zap, + Shield, + Users, + Play, + Download, + Github, + ExternalLink, +} from "lucide-react"; + +const quickStartCards = [ + { + title: "Platform Overview", + description: "Get familiar with AeThex platform features and capabilities", + icon: Rocket, + href: "/docs/getting-started", + duration: "5 min read", + difficulty: "Beginner" + }, + { + title: "First Tutorial", + description: "Follow your first interactive tutorial to build something amazing", + icon: Play, + href: "/docs/tutorials", + duration: "15 min", + difficulty: "Beginner", + isNew: true + }, + { + title: "API Integration", + description: "Learn how to integrate with AeThex APIs and services", + icon: Code, + href: "/docs/api", + duration: "10 min read", + difficulty: "Intermediate" + }, + { + title: "CLI Tools", + description: "Master the command line tools for efficient development", + icon: Terminal, + href: "/docs/cli", + duration: "8 min read", + difficulty: "Intermediate" + } +]; + +const resourceSections = [ + { + title: "Tutorials & Guides", + description: "Step-by-step tutorials and comprehensive guides", + icon: Video, + href: "/docs/tutorials", + items: ["Platform Quick Start", "Game Development", "AI Integration", "Performance Optimization"], + badge: "6 tutorials" + }, + { + title: "API Reference", + description: "Complete API documentation with examples", + icon: Code, + href: "/docs/api", + items: ["Authentication", "Project Management", "User APIs", "Webhooks"], + badge: "40+ endpoints" + }, + { + title: "Examples", + description: "Ready-to-use code examples and templates", + icon: FileText, + href: "/docs/examples", + items: ["React Components", "Game Templates", "API Integration", "Deployment Scripts"], + badge: "25+ examples" + } +]; + +const featuredUpdates = [ + { + title: "New AI Integration Tutorials", + description: "Learn how to integrate cutting-edge AI features", + date: "2 days ago", + type: "Tutorial", + isNew: true + }, + { + title: "API v2.1 Documentation", + description: "Updated API docs with new endpoints and features", + date: "1 week ago", + type: "API" + }, + { + title: "Performance Best Practices", + description: "New guide on optimizing application performance", + date: "2 weeks ago", + type: "Guide" + } +]; + +export default function DocsOverview() { + return ( +
+ {/* Hero Section */} +
+

+ Welcome to AeThex Documentation +

+

+ Everything you need to build, deploy, and scale amazing projects with AeThex. + Get started with our guides, explore our APIs, and learn from comprehensive tutorials. +

+ +
+ + +
+
+ + {/* Quick Start Cards */} +
+

Quick Start

+
+ {quickStartCards.map((card, index) => { + const Icon = card.icon; + return ( + + + +
+ + {card.isNew && ( + + New + + )} +
+ + {card.title} + +
+ + + {card.description} + +
+ {card.duration} + + {card.difficulty} + +
+
+ +
+ ); + })} +
+
+ + {/* Resource Sections */} +
+

Documentation Sections

+
+ {resourceSections.map((section, index) => { + const Icon = section.icon; + return ( + + + +
+ + + {section.badge} + +
+ + {section.title} + + + {section.description} + +
+ +
    + {section.items.map((item, itemIndex) => ( +
  • + + {item} +
  • + ))} +
+
+ Explore section + +
+
+ +
+ ); + })} +
+
+ + {/* Featured Updates */} +
+
+

Recent Updates

+ +
+
+ {featuredUpdates.map((update, index) => ( + + +
+
+
+

{update.title}

+ {update.isNew && ( + + New + + )} + + {update.type} + +
+

{update.description}

+
+
+

{update.date}

+
+
+
+
+ ))} +
+
+ + {/* Additional Resources */} +
+ + + + + GitHub Repository + + + Explore our open-source projects and contribute to the community + + + + + + + + + + + + Community Support + + + Join our community for help, discussions, and collaboration + + + + + + +
+
+ ); +}