import { useState } from "react"; import SEO from "@/components/SEO"; import Layout from "@/components/Layout"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Link } from "react-router-dom"; import { ArrowRight, Terminal, Copy, Check, BookOpen, Zap, Shield, Globe, Code2, Database, Users, Boxes, Layers, Trophy, Gamepad2, } from "lucide-react"; const codeExample = `import { AeThex } from '@aethex/sdk'; const client = new AeThex({ apiKey: process.env.AETHEX_KEY }); // Authenticate user across platforms const user = await client.passport.authenticate({ platform: 'roblox', userId: '123456789' }); // Sync achievements, inventory, progress await client.sync({ achievements: user.achievements, inventory: user.inventory, progress: user.gameProgress });`; const ecosystemPillars = [ { icon: Boxes, title: "Six Realms", description: "Specialized APIs for every use case", href: "/realms", gradient: "from-purple-500 to-indigo-600", }, { icon: Database, title: "Developer APIs", description: "REST APIs for all platforms", href: "/dev-platform/api-reference", gradient: "from-blue-500 to-cyan-600", }, { icon: Terminal, title: "SDK & Tools", description: "Ship faster with TypeScript SDK", href: "/dev-platform/quick-start", gradient: "from-cyan-500 to-emerald-600", }, { icon: Layers, title: "Marketplace", description: "Premium plugins & integrations", href: "/dev-platform/marketplace", gradient: "from-emerald-500 to-lime-600", }, { icon: Users, title: "Community", description: "12K+ developers building together", href: "/community", gradient: "from-amber-500 to-red-600", }, { icon: Trophy, title: "Opportunities", description: "Get paid to build", href: "/opportunities", gradient: "from-pink-500 to-red-600", }, ]; const stats = [ { value: "12K+", label: "Developers" }, { value: "2.5M+", label: "API Calls/Day" }, { value: "150+", label: "Examples" }, { value: "6", label: "Realms" }, ]; const features = [ { icon: Globe, title: "Cross-Platform Identity", description: "One passport across Roblox, Minecraft, Fortnite, and more.", }, { icon: Database, title: "Universal Data Sync", description: "Sync achievements, inventory, and progress with a single API.", }, { icon: Shield, title: "Enterprise Auth", description: "OAuth 2.0, PKCE, JWT. Production-ready out of the box.", }, { icon: Gamepad2, title: "Game Integration", description: "Drop-in SDKs for Roblox, Unity, Unreal, and more.", }, ]; const platforms = ["Roblox", "Minecraft", "Fortnite", "Meta Horizon", "Zepeto", "Unity", "Unreal"]; export default function Index() { const [copied, setCopied] = useState(false); const copyCode = () => { navigator.clipboard.writeText(codeExample); setCopied(true); setTimeout(() => setCopied(false), 2000); }; return ( {/* Subtle background */}
{/* Hero */}
{/* Left: Value Prop */}
v2.4.0 — TypeScript SDK

One API for
cross-platform games

Connect players across Roblox, Minecraft, Fortnite, and more. Sync identity, achievements, and inventory with a single SDK.

{/* Install command */}
npm install @aethex/sdk
{/* Stats row */}
{stats.map((stat) => (

{stat.value}

{stat.label}

))}
{/* Right: Code Example */}
app.ts
                    
                      import
                       {"{"} 
                      AeThex
                       {"}"} 
                      from
                       '@aethex/sdk'
                      ;
                      {"\n\n"}
                      const
                       client
                       = 
                      new
                       AeThex
                      {"({ "}
                      apiKey
                      : 
                      process.env.
                      AETHEX_KEY {"});"}
                      {"\n\n"}
                      // Authenticate user across platforms
                      {"\n"}
                      const
                       user
                       = 
                      await
                       client
                      .passport.
                      authenticate
                      {"({"}
                      {"\n"}
                      {"  "}
                      platform
                      : 
                      'roblox'
                      ,
                      {"\n"}
                      {"  "}
                      userId
                      : 
                      '123456789'
                      {"\n"}
                      {"});"}
                      {"\n\n"}
                      // Sync achievements, inventory, progress
                      {"\n"}
                      await
                       client
                      .
                      sync
                      {"({"}
                      {"\n"}
                      {"  "}
                      achievements
                      : 
                      user
                      .achievements,
                      {"\n"}
                      {"  "}
                      inventory
                      : 
                      user
                      .inventory,
                      {"\n"}
                      {"  "}
                      progress
                      : 
                      user
                      .gameProgress
                      {"\n"}
                      {"});"}
                    
                  
{/* Platforms */}
Works with: {platforms.map((platform) => ( {platform} ))}
{/* Ecosystem Pillars */}

The AeThex Ecosystem

Six interconnected realms with specialized APIs for every use case

{ecosystemPillars.map((pillar) => (

{pillar.title}

{pillar.description}

Explore
))}
{/* Features */}

Built for game developers

Everything you need to connect players across platforms

{features.map((feature) => (

{feature.title}

{feature.description}

))}
{/* CTA */}

Start building today

Get your API key and integrate in minutes. Free tier includes 10K API calls/month.

{/* Footer spacer */}
); }