Agregar política de privacidad y términos y condiciones

Páginas legales en los cuatro idiomas con URLs localizadas, enlazadas
desde el footer e incluidas en el sitemap. El selector de idioma, el
canonical y los hreflang apuntan a la misma página en cada idioma.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jose Selesan
2026-11-07 16:19:42 -03:00
parent caac6fa7e4
commit 07aa761dc8
24 changed files with 675 additions and 27 deletions

View File

@@ -9,7 +9,7 @@
<!-- Desktop links -->
<div class="hidden items-center gap-8 md:flex">
{% for item in site.nav %}
<a href="{{ item.href }}" class="text-sm font-medium text-slate-600 transition hover:text-brand-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:text-slate-300 dark:hover:text-brand-400 dark:focus-visible:ring-offset-slate-950">{{ t.nav[item.key] }}</a>
<a href="{{ navBase }}{{ item.href }}" class="text-sm font-medium text-slate-600 transition hover:text-brand-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:text-slate-300 dark:hover:text-brand-400 dark:focus-visible:ring-offset-slate-950">{{ t.nav[item.key] }}</a>
{% endfor %}
</div>
@@ -31,7 +31,7 @@
</button>
<div id="lang-menu" class="absolute right-0 mt-2 hidden w-56 overflow-hidden rounded-xl border border-slate-200 bg-white py-1 shadow-xl shadow-slate-900/10 dark:border-slate-700 dark:bg-slate-900 dark:shadow-black/40">
{% for l in locales %}
<a href="{{ l.path }}" hreflang="{{ l.htmlLang }}" lang="{{ l.htmlLang }}" data-lang="{{ l.code }}" {% if l.code == locale.code %}aria-current="true"{% endif %} class="flex items-center justify-between gap-3 px-4 py-2.5 text-sm transition hover:bg-slate-100 focus:outline-none focus-visible:bg-slate-100 dark:hover:bg-slate-800 dark:focus-visible:bg-slate-800 {% if l.code == locale.code %}font-semibold text-brand-700 dark:text-brand-300{% else %}text-slate-700 dark:text-slate-200{% endif %}">
<a href="{{ pagePaths[l.code] }}" hreflang="{{ l.htmlLang }}" lang="{{ l.htmlLang }}" data-lang="{{ l.code }}" {% if l.code == locale.code %}aria-current="true"{% endif %} class="flex items-center justify-between gap-3 px-4 py-2.5 text-sm transition hover:bg-slate-100 focus:outline-none focus-visible:bg-slate-100 dark:hover:bg-slate-800 dark:focus-visible:bg-slate-800 {% if l.code == locale.code %}font-semibold text-brand-700 dark:text-brand-300{% else %}text-slate-700 dark:text-slate-200{% endif %}">
{{ l.label }}
{% if l.code == locale.code %}<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5" /></svg>{% endif %}
</a>
@@ -81,12 +81,12 @@
<span class="text-base font-medium text-slate-700 dark:text-slate-200">{{ t.ui.language }}</span>
<div class="mt-3 grid grid-cols-2 gap-2">
{% for l in locales %}
<a href="{{ l.path }}" hreflang="{{ l.htmlLang }}" lang="{{ l.htmlLang }}" data-lang="{{ l.code }}" {% if l.code == locale.code %}aria-current="true"{% endif %} class="rounded-lg border px-3 py-2 text-center text-sm transition focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 {% if l.code == locale.code %}border-brand-500 bg-brand-50 font-semibold text-brand-700 dark:border-brand-400 dark:bg-brand-500/15 dark:text-brand-300{% else %}border-slate-200 text-slate-700 hover:bg-slate-100 dark:border-slate-700 dark:text-slate-200 dark:hover:bg-slate-800{% endif %}">{{ l.label }}</a>
<a href="{{ pagePaths[l.code] }}" hreflang="{{ l.htmlLang }}" lang="{{ l.htmlLang }}" data-lang="{{ l.code }}" {% if l.code == locale.code %}aria-current="true"{% endif %} class="rounded-lg border px-3 py-2 text-center text-sm transition focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 {% if l.code == locale.code %}border-brand-500 bg-brand-50 font-semibold text-brand-700 dark:border-brand-400 dark:bg-brand-500/15 dark:text-brand-300{% else %}border-slate-200 text-slate-700 hover:bg-slate-100 dark:border-slate-700 dark:text-slate-200 dark:hover:bg-slate-800{% endif %}">{{ l.label }}</a>
{% endfor %}
</div>
</div>
{% for item in site.nav %}
<a href="{{ item.href }}" class="block rounded-lg px-3 py-2.5 text-base font-medium text-slate-700 transition hover:bg-slate-100 hover:text-brand-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 dark:text-slate-200 dark:hover:bg-slate-800 dark:hover:text-brand-400" data-menu-link>{{ t.nav[item.key] }}</a>
<a href="{{ navBase }}{{ item.href }}" class="block rounded-lg px-3 py-2.5 text-base font-medium text-slate-700 transition hover:bg-slate-100 hover:text-brand-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 dark:text-slate-200 dark:hover:bg-slate-800 dark:hover:text-brand-400" data-menu-link>{{ t.nav[item.key] }}</a>
{% endfor %}
<div class="pt-3">
<a href="{{ site.app.login }}" class="block rounded-lg px-3 py-2.5 text-base font-medium text-slate-700 transition hover:bg-slate-100 hover:text-brand-600 dark:text-slate-200 dark:hover:bg-slate-800 dark:hover:text-brand-400" data-menu-link>{{ t.ui.login }}</a>