From 9751590c73c6cdc0623df7b74c0fc68d0f1f2586 Mon Sep 17 00:00:00 2001
From: santidev21
Date: Mon, 5 Oct 2026 16:54:50 -0500
Subject: [PATCH] refactor(routes): use English URLs for the public pages
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Routes should be English even though the UI is Spanish:
/terminos -> /terms, /privacidad -> /privacy, /ayuda -> /help.
Visibility text stays Spanish ("Términos", "Privacidad", "Ayuda").
---
bikontrol-web/src/app/app.routes.ts | 6 +++---
.../src/app/modules/auth/pages/login/login.component.html | 6 +++---
.../app/modules/auth/pages/register/register.component.html | 6 +++---
.../modules/dashboard/pages/profile/profile.component.html | 2 +-
bikontrol-web/src/app/modules/help/help.component.html | 4 ++--
.../src/app/modules/legal/privacy/privacy.component.html | 2 +-
.../src/app/modules/legal/terms/terms.component.html | 2 +-
docs/specs/help.md | 2 +-
docs/specs/legal.md | 4 ++--
9 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/bikontrol-web/src/app/app.routes.ts b/bikontrol-web/src/app/app.routes.ts
index 5b22ee7..fa98504 100644
--- a/bikontrol-web/src/app/app.routes.ts
+++ b/bikontrol-web/src/app/app.routes.ts
@@ -49,19 +49,19 @@ export const routes: Routes = [
// Legal (public)
{
- path: 'terminos',
+ path: 'terms',
loadComponent: () =>
import('./modules/legal/terms/terms.component').then((c) => c.TermsComponent),
},
{
- path: 'privacidad',
+ path: 'privacy',
loadComponent: () =>
import('./modules/legal/privacy/privacy.component').then((c) => c.PrivacyComponent),
},
// Help (public)
{
- path: 'ayuda',
+ path: 'help',
loadComponent: () => import('./modules/help/help.component').then((c) => c.HelpComponent),
},
diff --git a/bikontrol-web/src/app/modules/auth/pages/login/login.component.html b/bikontrol-web/src/app/modules/auth/pages/login/login.component.html
index c182bee..92e47ab 100644
--- a/bikontrol-web/src/app/modules/auth/pages/login/login.component.html
+++ b/bikontrol-web/src/app/modules/auth/pages/login/login.component.html
@@ -107,11 +107,11 @@ Bikontrol
}
- Ayuda
+ Ayuda
·
- Términos
+ Términos
·
- Privacidad
+ Privacidad
diff --git a/bikontrol-web/src/app/modules/auth/pages/register/register.component.html b/bikontrol-web/src/app/modules/auth/pages/register/register.component.html
index 11b7ce3..e7fa43c 100644
--- a/bikontrol-web/src/app/modules/auth/pages/register/register.component.html
+++ b/bikontrol-web/src/app/modules/auth/pages/register/register.component.html
@@ -142,11 +142,11 @@ Crear cuenta
}
- Ayuda
+ Ayuda
·
- Términos
+ Términos
·
- Privacidad
+ Privacidad
diff --git a/bikontrol-web/src/app/modules/dashboard/pages/profile/profile.component.html b/bikontrol-web/src/app/modules/dashboard/pages/profile/profile.component.html
index e88caab..58e920c 100644
--- a/bikontrol-web/src/app/modules/dashboard/pages/profile/profile.component.html
+++ b/bikontrol-web/src/app/modules/dashboard/pages/profile/profile.component.html
@@ -147,7 +147,7 @@ Zona de peligro
}
Ayuda y preguntas frecuentes
diff --git a/bikontrol-web/src/app/modules/help/help.component.html b/bikontrol-web/src/app/modules/help/help.component.html
index f096767..0587176 100644
--- a/bikontrol-web/src/app/modules/help/help.component.html
+++ b/bikontrol-web/src/app/modules/help/help.component.html
@@ -119,9 +119,9 @@ Soporte
- Términos
+ Términos
·
- Privacidad
+ Privacidad
diff --git a/bikontrol-web/src/app/modules/legal/privacy/privacy.component.html b/bikontrol-web/src/app/modules/legal/privacy/privacy.component.html
index b1633f0..c7f4542 100644
--- a/bikontrol-web/src/app/modules/legal/privacy/privacy.component.html
+++ b/bikontrol-web/src/app/modules/legal/privacy/privacy.component.html
@@ -97,7 +97,7 @@ 10. Contacto
- Ver también los Términos y Condiciones.
+ Ver también los Términos y Condiciones.
diff --git a/bikontrol-web/src/app/modules/legal/terms/terms.component.html b/bikontrol-web/src/app/modules/legal/terms/terms.component.html
index 3ead617..0aadb0c 100644
--- a/bikontrol-web/src/app/modules/legal/terms/terms.component.html
+++ b/bikontrol-web/src/app/modules/legal/terms/terms.component.html
@@ -95,7 +95,7 @@ 11. Contacto
- Ver también la Política de Privacidad.
+ Ver también la Política de Privacidad.
diff --git a/docs/specs/help.md b/docs/specs/help.md
index 8378224..12abddf 100644
--- a/docs/specs/help.md
+++ b/docs/specs/help.md
@@ -1,6 +1,6 @@
# Help / FAQ
-Public, unauthenticated page at `/ayuda` (`modules/help`). Linked from the
+Public, unauthenticated page at `/help` (`modules/help`). Linked from the
profile ("Ayuda y preguntas frecuentes") and the login/register footers.
It documents the real flows — onboarding, motorcycles, maintenance, reminders,
diff --git a/docs/specs/legal.md b/docs/specs/legal.md
index 0b272f7..b9e63cb 100644
--- a/docs/specs/legal.md
+++ b/docs/specs/legal.md
@@ -2,8 +2,8 @@
Public, unauthenticated pages linked from the login and register footers:
-- `/terminos` → Terms and Conditions (`modules/legal/terms`).
-- `/privacidad` → Privacy Policy (`modules/legal/privacy`).
+- `/terms` → Terms and Conditions (`modules/legal/terms`).
+- `/privacy` → Privacy Policy (`modules/legal/privacy`).
**The copy is a template**, marked with a visible "Borrador" banner and `[COMPLETAR]`
markers. It is scaffolding, not legal advice: the definitive text must be reviewed