import { useEffect } from "react"; import { motion } from "framer-motion"; import { Link, useLocation } from "wouter"; import { useQuery } from "@tanstack/react-query"; import { Shield, FileCode, Terminal as TerminalIcon, ChevronRight, BarChart3, Network, ExternalLink, Lock, Zap, Users, Globe, CheckCircle, ArrowRight, Star, Award, Cpu, Building, Sparkles, Monitor } from "lucide-react"; import gridBg from '@assets/generated_images/dark_subtle_digital_grid_texture.png'; import { useTutorial, homeTutorialSteps, TutorialButton } from "@/components/Tutorial"; import { ThemeToggle } from "@/components/ThemeToggle"; export default function Home() { const { startTutorial, hasCompletedTutorial, isActive } = useTutorial(); const [, navigate] = useLocation(); const { data: metrics } = useQuery({ queryKey: ["metrics"], queryFn: async () => { const res = await fetch("/api/metrics"); return res.json(); }, }); return (
{/* Mobile Back Button */}
{/* Navigation */}
{/* Hero Section */}
The Operating System for the Metaverse

AeThex

We train Architects. We build the Shield. We define the Law.

{/* Live Metrics */} {metrics && (
{metrics.totalProfiles}
Architects
{metrics.totalProjects}
Projects
{metrics.onlineUsers}
Online Now
{metrics.totalXP?.toLocaleString()}
Total XP
)}
{/* The Trinity Cards */}

Axiom

The Law. Our dual-entity protocol creates a self-sustaining ecosystem. The Foundation trains; the Corporation secures.

View Investor Pitch
{/* Features Section */}

Why AeThex

Built for the Future

Real-Time Protection

Aegis monitors every interaction, scrubbing PII and blocking threats before they reach users.

Verified Credentials

Codex certifications are blockchain-verifiable and recognized across the industry.

Platform Agnostic

Works with any engine, any platform, any virtual world. One standard for all.

Elite Community

Join a network of certified Metaverse Architects building the future together.

{/* Dual Entity Highlight */}
Non-Profit Arm

The Foundation

We believe the Metaverse should be built by trained professionals. The Foundation provides free education, gamified learning paths, and verifiable certifications to anyone with the drive to become an Architect.

  • Free curriculum access
  • XP-based progression
  • Industry-recognized certifications
For-Profit Arm

The Corporation

Security shouldn't be an afterthought. The Corporation builds Aegis - the enterprise security layer that protects builders and users alike. Real-time threat detection, PII scrubbing, and intervention systems.

  • Enterprise licensing
  • 24/7 threat monitoring
  • API integration
{/* Demo Links */}

Explore

See It In Action

{/* Footer */}
AeThex
Foundation Studio Investors Admin
© 2025 AeThex Foundry
{/* Tutorial Button */} {!isActive && ( startTutorial(homeTutorialSteps)} /> )}
); }