diff --git a/src/components/Navbar.svelte b/src/components/Navbar.svelte index 6389fd7..fcb9a7f 100644 --- a/src/components/Navbar.svelte +++ b/src/components/Navbar.svelte @@ -1,81 +1,104 @@ -
diff --git a/src/components/SubscribeBox.svelte b/src/components/SubscribeBox.svelte index cd55570..73c831e 100644 --- a/src/components/SubscribeBox.svelte +++ b/src/components/SubscribeBox.svelte @@ -75,6 +75,11 @@ } } + function isFormTooFast() { + const timeElapsed = Date.now() - formStartTime; + return timeElapsed < 3000; // Menos de 3 segundos es sospechoso + } + // Validate form submission function validateForm(event) { const target = event.target;