import Layout from "@/components/Layout"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; import { Card, CardContent } from "@/components/ui/card"; import { Heart, ExternalLink, ArrowRight, Gamepad2, Users, Code, GraduationCap, Sparkles, } from "lucide-react"; import { useEffect, useState } from "react"; import LoadingScreen from "@/components/LoadingScreen"; export default function Foundation() { const [isLoading, setIsLoading] = useState(true); const [countdown, setCountdown] = useState(10); useEffect(() => { const timer = setTimeout(() => { setIsLoading(false); }, 900); return () => clearTimeout(timer); }, []); // Countdown timer for auto-redirect useEffect(() => { if (isLoading) return; const interval = setInterval(() => { setCountdown((prev) => { if (prev <= 1) { window.location.href = "https://aethex.foundation"; return 0; } return prev - 1; }); }, 1000); return () => clearInterval(interval); }, [isLoading]); const handleRedirect = () => { window.location.href = "https://aethex.foundation"; }; if (isLoading) { return ( ); } return (
{/* Main Card */} {/* Header */}
Non-Profit Guardian

AeThex Foundation

The heart of our ecosystem. Dedicated to community, mentorship, and advancing game development through open-source innovation.

{/* Redirect Notice */}
Foundation Has Moved

The AeThex Foundation now has its own dedicated home. Visit our new site for programs, resources, and community updates.

Redirecting automatically in {countdown} seconds...

{/* Quick Links */} {/* Footer Note */}

The AeThex Foundation is a 501(c)(3) non-profit organization dedicated to advancing game development education and community.

); }