import React, { useState } from 'react'; import { Button, Input, Label } from 'xertica-ui/ui'; import { XerticaLogo } from 'xertica-ui/brand'; import { ArrowLeft } from 'lucide-react'; import { useNavigate } from 'react-router-dom'; import { AuthPageShell } from './AuthPageShell'; import { SocialLoginButtons } from './SocialLoginButtons'; import { useTranslation } from 'react-i18next'; export function ForgotPasswordContent() { const navigate = useNavigate(); const { t } = useTranslation(); const [email, setEmail] = useState(''); const [isLoading, setIsLoading] = useState(false); const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setIsLoading(true); await new Promise(resolve => setTimeout(resolve, 1500)); navigate('/verify-email', { state: { email } }); setIsLoading(false); }; return (

{t('forgotPassword.heading')}

{t('forgotPassword.subheading')}

setEmail(e.target.value)} />
console.log(`Login com ${provider}`)} />
); }