Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bikontrol-web/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ <h1 class="text-2xl font-bold text-center mb-6 text-primary">Bikontrol</h1>
}

<p class="text-center text-xs text-gray-500 mt-6">
<a routerLink="/ayuda" class="hover:underline">Ayuda</a>
<a routerLink="/help" class="hover:underline">Ayuda</a>
·
<a routerLink="/terminos" class="hover:underline">Términos</a>
<a routerLink="/terms" class="hover:underline">Términos</a>
·
<a routerLink="/privacidad" class="hover:underline">Privacidad</a>
<a routerLink="/privacy" class="hover:underline">Privacidad</a>
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ <h1 class="text-2xl font-bold text-center mb-6 text-primary">Crear cuenta</h1>
}

<p class="text-center text-xs text-gray-500 mt-6">
<a routerLink="/ayuda" class="hover:underline">Ayuda</a>
<a routerLink="/help" class="hover:underline">Ayuda</a>
·
<a routerLink="/terminos" class="hover:underline">Términos</a>
<a routerLink="/terms" class="hover:underline">Términos</a>
·
<a routerLink="/privacidad" class="hover:underline">Privacidad</a>
<a routerLink="/privacy" class="hover:underline">Privacidad</a>
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h3 class="font-semibold text-red-600 mb-1">Zona de peligro</h3>
</p>
}
<a
routerLink="/ayuda"
routerLink="/help"
class="w-full block text-center py-2 border border-accent text-primary rounded-lg hover:bg-gray-50 transition-colors font-semibold"
>
Ayuda y preguntas frecuentes
Expand Down
4 changes: 2 additions & 2 deletions bikontrol-web/src/app/modules/help/help.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ <h2 class="font-bold text-gray-900 mb-2">Soporte</h2>
</div>

<p class="text-center text-xs text-gray-500 mt-8">
<a routerLink="/terminos" class="hover:underline">Términos</a>
<a routerLink="/terms" class="hover:underline">Términos</a>
·
<a routerLink="/privacidad" class="hover:underline">Privacidad</a>
<a routerLink="/privacy" class="hover:underline">Privacidad</a>
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h2 class="font-bold text-gray-900 mb-1">10. Contacto</h2>
</div>

<p class="text-sm text-primary mt-8">
Ver también los <a routerLink="/terminos" class="underline">Términos y Condiciones</a>.
Ver también los <a routerLink="/terms" class="underline">Términos y Condiciones</a>.
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2 class="font-bold text-gray-900 mb-1">11. Contacto</h2>
</div>

<p class="text-sm text-primary mt-8">
Ver también la <a routerLink="/privacidad" class="underline">Política de Privacidad</a>.
Ver también la <a routerLink="/privacy" class="underline">Política de Privacidad</a>.
</p>
</div>
</div>
2 changes: 1 addition & 1 deletion docs/specs/help.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 2 additions & 2 deletions docs/specs/legal.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading