import { useState } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import LoginForm from '../components/auth/LoginForm';
import RegisterForm from '../components/auth/RegisterForm';
import miniLogo from '../assets/mini-logo.png';
export default function AuthPage() {
const [isLogin, setIsLogin] = useState(true);
return (
{/* Subtle texture background */}
{/* Logo */}
AETHER
{isLogin ? 'Вход в аккаунт' : 'Создание аккаунта'}
{/* Forms with animation */}
{isLogin ? : }
{/* Switch */}
{isLogin ? (
<>
Ещё нет аккаунта?{' '}
>
) : (
<>
Уже есть аккаунт?{' '}
>
)}
);
}