import { useState } from "react"; import { motion } from "framer-motion"; import { MusicalNoteIcon } from "@heroicons/react/24/outline"; import LoginForm from "../components/auth/LoginForm"; import RegisterForm from "../components/auth/RegisterForm"; export default function AuthPage() { const [activeTab, setActiveTab] = useState<"login" | "register">("login"); const handleLoginSuccess = () => { // Navigation will be handled by App.tsx checking auth state }; const handleRegisterSuccess = () => { setActiveTab("login"); }; return (

PolyPhonia

Mix Tones, Create Magic

{activeTab === "login" ? ( ) : ( )}
); }