import { useState, useEffect } from "react"; import Layout from "@/components/Layout"; import SEO from "@/components/SEO"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import LoadingScreen from "@/components/LoadingScreen"; import { Link } from "react-router-dom"; import { ArrowRight, Sparkles, Zap, Target, Users, TrendingUp, LayoutDashboard, Microscope, IdCard, Briefcase, Code, BookOpen, Network, } from "lucide-react"; export default function Index() { const [isLoading, setIsLoading] = useState(true); const [activeSection, setActiveSection] = useState(0); useEffect(() => { const timer = setTimeout(() => { setIsLoading(false); }, 1200); return () => clearTimeout(timer); }, []); useEffect(() => { const interval = setInterval(() => { setActiveSection((prev) => (prev + 1) % 4); }, 4000); return () => clearInterval(interval); }, []); type FeatureCard = { title: string; description: string; icon: any; color: string; link?: string; tags?: string[]; }; // Ecosystem Audience Navigation const audienceNav = [ { title: "Solutions for Business", description: "Custom software development, consulting, and digital transformation", icon: Briefcase, color: "from-blue-500 to-cyan-500", link: "/corp", audience: "Enterprise clients", }, { title: "Explore & Learn", description: "Open source projects, educational workshops, and community resources", icon: BookOpen, color: "from-red-500 to-pink-500", link: "/foundation", audience: "Developers & learners", }, { title: "Join the Network", description: "Professional networking, job board, and portfolio showcase for Roblox devs", icon: Network, color: "from-cyan-500 to-blue-500", link: "/dev-link", audience: "Individual developers", }, { title: "Careers & Innovation", description: "Join our team and work on cutting-edge R&D and experimental features", icon: Zap, color: "from-yellow-500 to-amber-500", link: "/labs", audience: "Top-tier talent", }, ]; // Platform Features (Dashboard, Feed, etc.) const platformFeatures: FeatureCard[] = [ { title: "Dashboard", description: "Your projects, applications, and rewards — in one place", icon: LayoutDashboard, color: "from-rose-500 to-amber-500", link: "/dashboard", tags: ["Overview", "Rewards"], }, { title: "Community Feed", description: "Share progress, discover collaborators, and stay updated", icon: Users, color: "from-indigo-500 to-cyan-500", link: "/feed", tags: ["Posts", "Collab"], }, { title: "Developer Passport", description: "A public profile with verifiable achievements", icon: IdCard, color: "from-fuchsia-500 to-violet-600", link: "/passport/me", tags: ["Profile", "Badges"], }, { title: "Docs & CLI", description: "Guides, API reference, and tooling to ship faster", icon: Microscope, color: "from-lime-500 to-emerald-600", link: "/docs", tags: ["Guides", "API"], }, ]; // Showcase wins from each division const showcaseWins = [ { division: "Corp", title: "Enterprise Transformation", description: "Helped Fortune 500 company modernize their tech stack", metric: "$2.5M revenue impact", color: "bg-blue-500/10 border-blue-400/30", }, { division: "Foundation", title: "Community Education", description: "Launched Roblox development workshop series", metric: "500+ developers trained", color: "bg-red-500/10 border-red-400/30", }, { division: "Labs", title: "AI Innovation", description: "Breakthrough in procedural game content generation", metric: "Published research paper", color: "bg-yellow-500/10 border-yellow-400/30", }, { division: "Dev-Link", title: "Network Growth", description: "Reached 10K+ Roblox developers on the platform", metric: "1000+ jobs posted", color: "bg-cyan-500/10 border-cyan-400/30", }, ]; if (isLoading) { return ( ); } return ( <> {/* Hero Section */} {/* Geometric Background */} {[...Array(20)].map((_, i) => ( ))} {/* Main Content */} {/* Title & Value Prop */} AeThex Building the Future of Immersive Digital Experiences Software innovation, enterprise consulting, open source education, and professional networking—all in one ecosystem. {/* Audience Navigation Grid */} {audienceNav.map((item, index) => { const Icon = item.icon; return ( {item.title} {item.description} {item.audience} ); })} {/* Division Showcase */} Recent Wins {showcaseWins.map((win, index) => ( {win.division} {win.title} {win.description} {win.metric} ))} {/* Platform Features Section */} Your Platform {platformFeatures.map((feature, index) => { const Icon = feature.icon; const isActive = activeSection === index; return ( {feature.title} {(feature.tags || []).slice(0, 2).map((tag, i) => ( {tag} ))} {feature.description} {feature.link ? ( Explore ) : null} ); })} {/* CTA Buttons */} Get Started Explore Platform > ); }
Software innovation, enterprise consulting, open source education, and professional networking—all in one ecosystem.
{item.description}
{win.description}
{win.metric}
{feature.description}