From 46f49ddc70f56f9cbd8bec7abe282af8199d9a6a Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Mon, 10 Nov 2025 19:43:08 +0000 Subject: [PATCH] completionId: cgen-c74a7d0fbf0146a2a564d4e659043610 cgen-c74a7d0fbf0146a2a564d4e659043610 --- client/pages/GameForge.tsx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/client/pages/GameForge.tsx b/client/pages/GameForge.tsx index dce5e283..186bb4b2 100644 --- a/client/pages/GameForge.tsx +++ b/client/pages/GameForge.tsx @@ -11,9 +11,38 @@ import { ArrowRight, } from "lucide-react"; import { useNavigate } from "react-router-dom"; +import { useEffect, useState, useRef } from "react"; +import LoadingScreen from "@/components/LoadingScreen"; +import { aethexToast } from "@/lib/aethex-toast"; export default function GameForge() { const navigate = useNavigate(); + const [isLoading, setIsLoading] = useState(true); + const toastShownRef = useRef(false); + + useEffect(() => { + const timer = setTimeout(() => { + setIsLoading(false); + if (!toastShownRef.current) { + aethexToast.system("GameForge engine initialized"); + toastShownRef.current = true; + } + }, 900); + + return () => clearTimeout(timer); + }, []); + + if (isLoading) { + return ( + + ); + } const monthlyReleases = [ {