diff --git a/lang/es.json b/lang/es.json
index 4d0c63ee..b9c82762 100644
--- a/lang/es.json
+++ b/lang/es.json
@@ -696,6 +696,7 @@
"Get started at no cost. No bank connections included.": "Empieza sin coste. Sin conexiones bancarias incluidas.",
"Get started quickly with your existing financial data.": "Comienza rápidamente con tus datos financieros existentes.",
"Github": "Github",
+ "Go now": "Ir ahora",
"Go to Dashboard": "Ir al Panel",
"Go to Settings": "Ir a Configuración",
"Go to your account's transaction history": "Ve al historial de transacciones de tu cuenta",
diff --git a/resources/js/components/landing/authenticated-redirect-dialog.test.tsx b/resources/js/components/landing/authenticated-redirect-dialog.test.tsx
index e60c1bbc..bb208d82 100644
--- a/resources/js/components/landing/authenticated-redirect-dialog.test.tsx
+++ b/resources/js/components/landing/authenticated-redirect-dialog.test.tsx
@@ -63,6 +63,14 @@ describe('AuthenticatedRedirectDialog', () => {
).toBe('50');
});
+ it('redirects immediately when clicking go now', () => {
+ render();
+
+ fireEvent.click(screen.getByRole('button', { name: 'Go now' }));
+
+ expect(mocks.routerVisit).toHaveBeenCalledWith(dashboard());
+ });
+
it('cancels the redirect and closes the modal', () => {
render();
diff --git a/resources/js/components/landing/authenticated-redirect-dialog.tsx b/resources/js/components/landing/authenticated-redirect-dialog.tsx
index 5eb9d00b..7103e6e6 100644
--- a/resources/js/components/landing/authenticated-redirect-dialog.tsx
+++ b/resources/js/components/landing/authenticated-redirect-dialog.tsx
@@ -60,6 +60,11 @@ export default function AuthenticatedRedirectDialog({
setIsOpen(false);
}
+ function redirectNow(): void {
+ setProgress(100);
+ router.visit(dashboard());
+ }
+
return (