"use client"; import { useState } from "react"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useSupabaseAuth, useProfile } from "@/hooks/use-supabase"; export default function Page() { const router = useRouter(); const { user, loading } = useSupabaseAuth(); const { profile } = useProfile(); const [prompt, setPrompt] = useState(""); const handlePromptSubmit = () => { if (prompt.trim()) { sessionStorage.setItem("aethex_prompt", prompt); router.push("/ide"); } }; return (
{/* Fixed Navbar */} {/* Hero Section - Prompt First */}

Build games for{" "} every platform

The AI-powered cross-platform game IDE. Write once, deploy to Roblox, UEFN, Spatial, and the Web.

{/* Prompt Input Box */}