fix(checkout-returnto): checkout login: return user to checkout after sign in
This commit is contained in:
@@ -230,10 +230,10 @@ export default function CheckoutClient() {
|
||||
<h2 className="font-bold text-gray-900 mb-1">¿Ya tienes cuenta?</h2>
|
||||
<p className="text-sm text-gray-600 mb-3">Inicia sesión para una experiencia más rápida.</p>
|
||||
<div className="flex gap-3">
|
||||
<Link href="/auth/login" className="px-4 py-2 bg-[#70ad47] hover:bg-[#5a9040] text-white text-sm font-semibold rounded-lg transition-colors">
|
||||
<Link href="/auth/login?returnTo=%2Fcheckout" className="px-4 py-2 bg-[#70ad47] hover:bg-[#5a9040] text-white text-sm font-semibold rounded-lg transition-colors">
|
||||
Iniciar sesión
|
||||
</Link>
|
||||
<Link href="/auth/register" className="px-4 py-2 border border-gray-300 hover:border-[#70ad47] text-gray-700 text-sm font-semibold rounded-lg transition-colors">
|
||||
<Link href="/auth/register?returnTo=%2Fcheckout" className="px-4 py-2 border border-gray-300 hover:border-[#70ad47] text-gray-700 text-sm font-semibold rounded-lg transition-colors">
|
||||
Crear cuenta
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user