diff --git a/client/pages/Foundation.tsx b/client/pages/Foundation.tsx index 159a544e..8f5dbef1 100644 --- a/client/pages/Foundation.tsx +++ b/client/pages/Foundation.tsx @@ -1,44 +1,52 @@ import Layout from "@/components/Layout"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; -import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; -import { useArmTheme } from "@/contexts/ArmThemeContext"; +import { Card, CardContent } from "@/components/ui/card"; import { Heart, - BookOpen, - Code, - Users, - Zap, + ExternalLink, ArrowRight, - GraduationCap, Gamepad2, + Users, + Code, + GraduationCap, Sparkles, - Trophy, - Compass, } from "lucide-react"; -import { useNavigate } from "react-router-dom"; -import { useEffect, useState, useRef } from "react"; +import { useEffect, useState } from "react"; import LoadingScreen from "@/components/LoadingScreen"; -import { useArmToast } from "@/hooks/use-arm-toast"; export default function Foundation() { - const navigate = useNavigate(); - const { theme } = useArmTheme(); - const armToast = useArmToast(); const [isLoading, setIsLoading] = useState(true); - const toastShownRef = useRef(false); + const [countdown, setCountdown] = useState(10); useEffect(() => { const timer = setTimeout(() => { setIsLoading(false); - if (!toastShownRef.current) { - armToast.system("Foundation network connected"); - toastShownRef.current = true; - } }, 900); return () => clearTimeout(timer); - }, [armToast]); + }, []); + + // 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 ( @@ -55,359 +63,146 @@ export default function Foundation() { return (
-
- {/* Hero Section */} -
-
- - Non-Profit Guardian - -

- AeThex Foundation -

-
-

- The heart of our ecosystem. We believe in building community, - empowering developers, and advancing game development through - open-source innovation and mentorship. -

-
- - -
-
- - {/* Flagship: GameForge Section */} - - -
- -
- - 🚀 GameForge: Our Flagship Program - -

- 30-day mentorship sprints where developers ship real games -

+
+ {/* 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. +

- - - {/* What is GameForge? */} + + {/* 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 */}
-

- - What is GameForge? -

-

- GameForge is the Foundation's flagship "master-apprentice" - mentorship program. It's our "gym" where developers - collaborate on focused, high-impact game projects within - 30-day sprints. Teams of 5 (1 mentor + 4 mentees) tackle real - game development challenges and ship playable games to our - community arcade. -

-
- - {/* The Triple Win */} -
-

- - Why GameForge Matters -

-
-
-

- Role 1: Community -

-

- Our "campfire" where developers meet, collaborate, and - build their `aethex.me` passports through real project - work. -

-
-
-

- Role 2: Education -

-

- Learn professional development practices: Code Review - (SOP-102), Scope Management (KND-001), and shipping - excellence. -

-
-
-

- Role 3: Pipeline -

-

- Top performers become "Architects" ready to work on - high-value projects. Your GameForge portfolio proves you - can execute. -

-
-
-
- - {/* How It Works */} -
-

- - How It Works -

-
-
- - 1. - -
-

- Join a 5-Person Team -

-

- 1 Forge Master (Mentor) + 4 Apprentices (Scripter, - Builder, Sound, Narrative) -

-
-
-
- - 2. - -
-

- Ship in 30 Days -

-

- Focused sprint with a strict 1-paragraph GDD. No scope - creep. Execute with excellence. -

-
-
-
- - 3. - -
-

- Ship to the Arcade -

-

- Your finished game goes live on aethex.fun. Add it to - your Passport portfolio. -

-
-
-
- - 4. - -
-

- Level Up Your Career -

-

- 3 shipped games = Architect status. Qualify for premium - opportunities on NEXUS. -

-
-
-
-
- - {/* CTA Button */} - -
-
- - {/* Foundation Mission & Values */} -
-

- - Our Mission -

- - -

- The AeThex Foundation is a non-profit organization dedicated - to advancing game development through community-driven - mentorship, open-source innovation, and educational - excellence. We believe that great developers are built, not - born—and that the future of gaming lies in collaboration, - transparency, and shared knowledge. -

-
-
-

- - Community is Our Core -

-

- Building lasting relationships and support networks within - game development. -

-
-
-

- - Open Innovation -

-

- Advancing the industry through open-source Axiom Protocol - and shared tools. -

-
-
-

- - Excellence & Growth -

-

- Mentoring developers to ship real products and achieve - their potential. -

-
-
-
-
-
- - {/* Other Programs */} -
-

- - Foundation Programs -

-
- {/* Mentorship Program */} - - - Mentorship Network - - -

- Learn from industry veterans. Our mentors bring real-world - experience from studios, indie teams, and AAA development. -

- -
-
- - {/* Open Source */} - - - Axiom Protocol - - -

- Our open-source protocol for game development. Contribute, - learn, and help shape the future of the industry. -

- -
-
- - {/* Courses */} - - - Learning Paths - - -

- Structured curricula covering game design, programming, art, - sound, and narrative design from basics to advanced. -

- -
-
- - {/* Community */} - - - Community Hub - - -

- Connect with developers, share projects, get feedback, and - build lasting professional relationships. -

- -
-
-
-
- - {/* Call to Action */} - - -
-

- Ready to Join the Foundation? +

+ Foundation Highlights

-

- Whether you're looking to learn, mentor others, or contribute - to open-source game development, there's a place for you here. -

+
-
- - + + {/* Footer Note */} +
+

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