Agregar anchors a todas las secciones y enlazarlas desde el footer

- Ids nuevos: inicio, por-que-gruperly y clases-y-eventos.
- La columna "Producto" del footer lista todas las secciones (footerNav),
  también desde las páginas legales; el header mantiene sus 4 links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jose Selesan
2026-11-11 15:45:28 -03:00
parent 7a82db0b0c
commit 7f16299e56
9 changed files with 34 additions and 8 deletions

View File

@@ -8,5 +8,15 @@
{ "key": "howItWorks", "href": "#como-funciona" },
{ "key": "pricing", "href": "#precios" },
{ "key": "faq", "href": "#faq" }
],
"footerNav": [
{ "key": "features", "href": "#caracteristicas" },
{ "key": "howItWorks", "href": "#como-funciona" },
{ "key": "activityTypes", "href": "#clases-y-eventos" },
{ "key": "kidsGroups", "href": "#grupos-de-chicos" },
{ "key": "autoCharges", "href": "#cobros-automaticos" },
{ "key": "studentPortal", "href": "#app-alumnos" },
{ "key": "pricing", "href": "#precios" },
{ "key": "faq", "href": "#faq" }
]
}

View File

@@ -7,7 +7,11 @@
"features": "Features",
"howItWorks": "How it works",
"pricing": "Pricing",
"faq": "FAQ"
"faq": "FAQ",
"activityTypes": "Classes and events",
"kidsGroups": "Kids groups",
"autoCharges": "Automatic charges",
"studentPortal": "Student app"
},
"ui": {
"mainNav": "Main navigation",

View File

@@ -7,7 +7,11 @@
"features": "Características",
"howItWorks": "Cómo funciona",
"pricing": "Precios",
"faq": "Preguntas frecuentes"
"faq": "Preguntas frecuentes",
"activityTypes": "Clases y eventos",
"kidsGroups": "Grupos de niños",
"autoCharges": "Cobros automáticos",
"studentPortal": "App para alumnos"
},
"ui": {
"mainNav": "Navegación principal",

View File

@@ -7,7 +7,11 @@
"features": "Características",
"howItWorks": "Cómo funciona",
"pricing": "Precios",
"faq": "Preguntas frecuentes"
"faq": "Preguntas frecuentes",
"activityTypes": "Clases y eventos",
"kidsGroups": "Grupos de chicos",
"autoCharges": "Cobros automáticos",
"studentPortal": "App para alumnos"
},
"ui": {
"mainNav": "Navegación principal",

View File

@@ -7,7 +7,11 @@
"features": "Recursos",
"howItWorks": "Como funciona",
"pricing": "Preços",
"faq": "Perguntas frequentes"
"faq": "Perguntas frequentes",
"activityTypes": "Aulas e eventos",
"kidsGroups": "Turmas de crianças",
"autoCharges": "Cobranças automáticas",
"studentPortal": "App de alunos"
},
"ui": {
"mainNav": "Navegação principal",

View File

@@ -1,7 +1,7 @@
<!-- ============================================================
ACTIVITY TYPES: recurring classes vs. special events
============================================================ -->
<section class="mx-auto max-w-7xl px-4 py-12 sm:px-6 sm:py-16 lg:px-8 lg:py-24">
<section id="clases-y-eventos" class="mx-auto max-w-7xl px-4 py-12 sm:px-6 sm:py-16 lg:px-8 lg:py-24">
<div class="max-w-2xl">
<h2 class="text-3xl font-extrabold tracking-tight text-balance sm:text-4xl">{{ t.activityTypes.title }}</h2>
<p class="mt-3 text-base text-pretty sm:mt-4 sm:text-lg text-slate-600 dark:text-slate-400">{{ t.activityTypes.subtitle }}</p>

View File

@@ -14,7 +14,7 @@
<div>
<h3 class="text-sm font-bold uppercase tracking-wide text-slate-900 dark:text-white">{{ t.footer.product }}</h3>
<ul class="mt-4 space-y-3 text-sm">
{% for item in site.nav %}
{% for item in site.footerNav %}
<li><a href="{{ navBase }}{{ item.href }}" class="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-400 dark:hover:text-brand-400 dark:focus-visible:ring-offset-slate-900">{{ t.nav[item.key] }}</a></li>
{% endfor %}
</ul>

View File

@@ -1,7 +1,7 @@
<!-- ============================================================
HERO SECTION
============================================================ -->
<section class="relative overflow-hidden">
<section id="inicio" class="relative overflow-hidden">
<div class="mx-auto grid max-w-7xl items-center gap-12 px-4 pb-16 pt-10 sm:px-6 sm:pt-14 lg:grid-cols-12 lg:gap-10 lg:px-8 lg:pb-12 lg:pt-20">
<!-- Copy -->
<div class="lg:col-span-7">

View File

@@ -1,7 +1,7 @@
<!-- ============================================================
SWITCH: chat + spreadsheet vs. the same month in Gruperly
============================================================ -->
<section class="border-y border-slate-200 bg-slate-50 dark:border-slate-800 dark:bg-slate-900/50">
<section id="por-que-gruperly" class="border-y border-slate-200 bg-slate-50 dark:border-slate-800 dark:bg-slate-900/50">
<div class="mx-auto max-w-7xl px-4 py-12 sm:py-16 sm:px-6 lg:px-8 lg:py-24">
<div class="max-w-2xl">
<h2 class="text-3xl font-extrabold tracking-tight text-balance sm:text-4xl">{{ t.switch.title }}</h2>