Agregar soporte multi idioma (es-AR, es-419, pt-BR, en)

- Una página estática por idioma: / (es-AR), /es/, /pt/ y /en/.
- Textos en src/_data/strings/<idioma>.json y lista de idiomas en locales.json.
- Detección del idioma del navegador en / (fallback a inglés) y selector
  manual en header y menú mobile; la elección se guarda en localStorage.
- SEO por idioma: lang, canonical, hreflang, og:locale, JSON-LD y sitemap.
- nginx: no-cache para todas las páginas HTML.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jose Selesan
2026-11-03 09:11:01 -03:00
parent 01e31ddbbd
commit caac6fa7e4
23 changed files with 848 additions and 255 deletions

View File

@@ -31,7 +31,7 @@ Los links hacia la app (registro e inicio de sesión) se configuran por entorno
ELEVENTY_ENV=qa npm run build # o npm run build:qa
```
- `src/_data/site.base.json`: datos comunes (nombre, navegación, footer).
- `src/_data/site.base.json`: datos comunes (nombre, URL, anchors de navegación).
- `src/_data/site.dev.json`: `http://localhost:6173/signup` y `/login` (app web en modo desarrollo).
- `src/_data/site.qa.json`: links del entorno de pruebas/QA.
- `src/_data/site.prod.json`: links de producción.
@@ -40,6 +40,29 @@ ELEVENTY_ENV=qa npm run build # o npm run build:qa
En el build de Docker, `ELEVENTY_ENV` se pasa como *build arg* (por defecto `prod`); docker-compose lo toma de la variable de entorno `ELEVENTY_ENV` del host.
## Idiomas
El sitio se genera en cuatro idiomas, cada uno con su propia URL estática:
| Idioma | Código | URL |
| ----------------------- | -------- | ------ |
| Español (Argentina) | `es-AR` | `/` |
| Español (Latinoamérica) | `es-419` | `/es/` |
| Português (Brasil) | `pt-BR` | `/pt/` |
| English | `en` | `/en/` |
- `src/_data/locales.json`: lista de idiomas (código, ruta, etiqueta, `og:locale`).
- `src/_data/strings/<código>.json`: todos los textos de la página para cada idioma (deben tener las mismas claves).
- `src/index.njk` se pagina sobre `locales` y genera una página por idioma; `src/index.11tydata.js` expone el diccionario del idioma actual como `t` (ej. `{{ t.hero.title }}`).
Comportamiento en el navegador (script inline en `base.njk`):
1. Si el usuario eligió un idioma con el selector, se guarda en `localStorage` (`lang`) y se respeta siempre.
2. Si no hay preferencia y entra a `/`, se detecta el idioma del navegador: `es-AR` → `/`, otro español → `/es/`, portugués → `/pt/`, inglés u otro idioma → `/en/`. Los bots no se redirigen.
3. Un link directo a `/es/`, `/pt/` o `/en/` sin preferencia guardada no se redirige.
Para agregar un idioma: sumarlo a `locales.json` y crear su `strings/<código>.json`; si corresponde, agregar la regla de detección en `base.njk`.
## Acceso desde otros dispositivos
El servidor de desarrollo escucha en todas las interfaces (`host: 0.0.0.0`), por lo que otros dispositivos de la misma red local pueden abrir la página usando la IP LAN de tu equipo dentro de la URL. Para conocer tu IP en macOS:

View File

@@ -15,7 +15,7 @@ server {
try_files $uri $uri/ /index.html;
}
location = /index.html {
location ~ \.html$ {
add_header Cache-Control "no-cache";
}

6
src/_data/locales.json Normal file
View File

@@ -0,0 +1,6 @@
[
{ "code": "es-AR", "path": "/", "htmlLang": "es-AR", "ogLocale": "es_AR", "label": "Español (Argentina)", "short": "AR" },
{ "code": "es-419", "path": "/es/", "htmlLang": "es-419", "ogLocale": "es_LA", "label": "Español (Latinoamérica)", "short": "ES" },
{ "code": "pt-BR", "path": "/pt/", "htmlLang": "pt-BR", "ogLocale": "pt_BR", "label": "Português (Brasil)", "short": "PT" },
{ "code": "en", "path": "/en/", "htmlLang": "en", "ogLocale": "en_US", "label": "English", "short": "EN" }
]

View File

@@ -6,31 +6,14 @@
"plans": [
{
"name": "Starter",
"tagline": "Para quienes recién empiezan con grupos chicos.",
"price": { "ars": 0, "usd": 0 },
"cta": "Empezar gratis",
"ctaStyle": "outline",
"features": [
"Hasta 50 participantes",
"Clases recurrentes con días y horarios",
"1 evento especial al mes",
"Cobros mensuales o por clase"
]
"ctaStyle": "outline"
},
{
"name": "Pro",
"tagline": "Para quienes manejan varios grupos y más participantes.",
"price": { "ars": 30000, "usd": 25 },
"cta": "Empezar",
"ctaStyle": "solid",
"highlight": true,
"badge": "Para crecer",
"features": [
"Todo lo del plan Starter",
"Más grupos y participantes que en Starter",
"Más eventos especiales por mes que en Starter",
"Seguimiento de cobros: al día, pendientes y atrasados"
]
"highlight": true
}
]
}

View File

@@ -1,20 +1,11 @@
{
"name": "Gruperly",
"description": "Organizá tus actividades recurrentes, gestioná reservas y asistencia, y creá workshops o encuentros especiales con Gruperly.",
"url": "https://gruperly.com",
"year": "2026",
"nav": [
{ "label": "Características", "href": "#caracteristicas" },
{ "label": "Cómo funciona", "href": "#como-funciona" },
{ "label": "Precios", "href": "#precios" },
{ "label": "Preguntas frecuentes", "href": "#faq" }
],
"footer": {
"producto": [
{ "label": "Características", "href": "#caracteristicas" },
{ "label": "Cómo funciona", "href": "#como-funciona" },
{ "label": "Precios", "href": "#precios" },
{ "label": "Preguntas frecuentes", "href": "#faq" }
]
}
{ "key": "features", "href": "#caracteristicas" },
{ "key": "howItWorks", "href": "#como-funciona" },
{ "key": "pricing", "href": "#precios" },
{ "key": "faq", "href": "#faq" }
]
}

139
src/_data/strings/en.json Normal file
View File

@@ -0,0 +1,139 @@
{
"meta": {
"title": "Gruperly — Your groups, classes and participants, all in one place",
"description": "Organize your recurring activities, manage bookings and attendance, and create workshops or special events with Gruperly."
},
"nav": {
"features": "Features",
"howItWorks": "How it works",
"pricing": "Pricing",
"faq": "FAQ"
},
"ui": {
"mainNav": "Main navigation",
"home": "home",
"login": "Log in",
"signup": "Sign up",
"themeToggle": "Toggle light/dark theme",
"theme": "Theme",
"language": "Language",
"changeLanguage": "Change language",
"openMenu": "Open menu",
"closeMenu": "Close menu"
},
"hero": {
"badge": "For teachers, personal trainers and professionals who work with groups",
"titleStart": "Your groups, classes and participants,",
"titleHighlight": "all in one place.",
"subtitle": "Organize your recurring activities, manage bookings and attendance, and create workshops or special events with Gruperly.",
"ctaPrimary": "Sign up for free",
"ctaSecondary": "See how it works"
},
"demo": {
"eyebrow": "See how it works",
"title": "Your workday, on a single screen",
"subtitle": "Today's schedule, activities, spots, participants and payments without jumping between tools.",
"studio": "Vinyasa Studio",
"sidebar": { "today": "Today", "activities": "Activities", "participants": "Participants", "payments": "Payments" },
"agendaTitle": "Today's schedule",
"agendaDate": "Tuesday 16",
"agenda1": "Vinyasa · Level 1",
"agenda2": "Functional · South Gym",
"agenda3": "Workshop: breathing and mobility",
"spots": "Spots",
"attendance": "Attendance",
"activitiesTitle": "My activities",
"activity1": "Vinyasa · Monday, Wednesday and Friday · 09:00",
"activity1Tag": "Recurring activity",
"activity2": "Workshop: breathing and mobility · Tue 20 · 20:00",
"activity2Tag": "Special event",
"participantsTitle": "Today's participants",
"participantsSummary": "15 registered · 3 to confirm",
"participant1": "Emma Johnson",
"participant1Initials": "EJ",
"participant2": "Liam Carter",
"participant2Initials": "LC",
"statusUpToDate": "Up to date",
"statusPending": "Pending",
"paymentsTitle": "Recurring payments for this group",
"paymentsUpToDate": "Up to date",
"paymentsPending": "Pending",
"paymentsOverdue": "Overdue",
"disclaimer": "Illustrative example of a professional's daily view. Not an actual screenshot of the app."
},
"features": {
"eyebrow": "Features",
"title": "Everything you need to work with your groups",
"subtitle": "Organize groups, recurring classes and special events with your participants.",
"items": [
{ "title": "Groups and participants", "text": "Give each group a name and description, set its maximum capacity and register participants with their details. Everything organized by group." },
{ "title": "Recurring classes and activities", "text": "Set the usual days and times for each group: they're the foundation of your recurring classes, with their capacity and pricing." },
{ "title": "Special events", "text": "Create workshops or one-off gatherings, kept separate from each group's recurring classes." },
{ "title": "Tracking and automation", "text": "Charge per class or monthly with a due date, and track the status of every payment: up to date, pending or overdue. Connect your payment account from day one." }
]
},
"howItWorks": {
"eyebrow": "How it works",
"title": "Start with your first group",
"subtitle": "Three steps to go from zero to having your groups and payments organized.",
"steps": [
{ "title": "Create your first group", "text": "Sign up and set the name, class days and times, maximum capacity, price and billing type (monthly or per class)." },
{ "title": "Add participants", "text": "Register each participant in their group and keep their details and payments organized." },
{ "title": "Organize your activities", "text": "With your recurring classes set, handle the day to day: spots, participants and payments, and plan the month's special events." }
],
"cta": "Create my free account"
},
"pricing": {
"eyebrow": "Pricing",
"title": "Simple plans for every stage",
"subtitle": "Start for free and add capacity when you need it.",
"perMonth": "/month",
"note": "Monthly prices. In Argentina they're shown in Argentine pesos (ARS); everywhere else in US dollars (USD).",
"plans": [
{
"tagline": "For those just getting started with small groups.",
"cta": "Start for free",
"features": [
"Up to 50 participants",
"Recurring classes with days and times",
"1 special event per month",
"Monthly or per-class billing"
]
},
{
"tagline": "For those managing several groups and more participants.",
"cta": "Get started",
"badge": "To grow",
"features": [
"Everything in Starter",
"More groups and participants than Starter",
"More special events per month than Starter",
"Payment tracking: up to date, pending and overdue"
]
}
]
},
"faq": {
"eyebrow": "FAQ",
"title": "Got questions?",
"items": [
{ "q": "Who is Gruperly for?", "a": "For professionals who work with groups of people: teachers, personal trainers, instructors and similar roles who need to organize groups, participants and payments." },
{ "q": "How do I create my first group?", "a": "Create your account and set the group's name, class days and times, maximum capacity, price and billing type (monthly or per class). You can always edit it later." },
{ "q": "How do I add participants?", "a": "Register each participant in their group with their contact details. Gruperly stores that information and their payments by group." },
{ "q": "How are participants charged?", "a": "For each group you set a price, a billing type (monthly or per class) and a due date. Every payment has a clear status: up to date, pending or overdue." },
{ "q": "What's the difference between recurring activities and special events?", "a": "Recurring activities are a group's regular classes, with repeating days and times. Special events are workshops or one-off gatherings, kept separate from recurring classes." },
{ "q": "Do I need an account to use Gruperly?", "a": "Yes. You create an account with your name, email and password, and confirm your email through the verification link." }
]
},
"finalCta": {
"title": "Ready to organize your groups with Gruperly?",
"subtitle": "Create your first group with the participants you already have: classes, spots and payments in one place.",
"primary": "Sign up for free",
"secondary": "See pricing"
},
"footer": {
"tagline": "Your groups, classes and participants, all in one place. Organize recurring activities, special events and payments with Gruperly.",
"product": "Product",
"rights": "All rights reserved."
}
}

View File

@@ -0,0 +1,139 @@
{
"meta": {
"title": "Gruperly — Tus grupos, clases y participantes, en un solo lugar",
"description": "Organiza tus actividades recurrentes, gestiona reservas y asistencia, y crea workshops o encuentros especiales con Gruperly."
},
"nav": {
"features": "Características",
"howItWorks": "Cómo funciona",
"pricing": "Precios",
"faq": "Preguntas frecuentes"
},
"ui": {
"mainNav": "Navegación principal",
"home": "inicio",
"login": "Iniciar sesión",
"signup": "Crear cuenta",
"themeToggle": "Cambiar tema claro/oscuro",
"theme": "Tema",
"language": "Idioma",
"changeLanguage": "Cambiar idioma",
"openMenu": "Abrir menú",
"closeMenu": "Cerrar menú"
},
"hero": {
"badge": "Para profesores, entrenadores personales y profesionales que trabajan con grupos",
"titleStart": "Tus grupos, clases y participantes,",
"titleHighlight": "en un solo lugar.",
"subtitle": "Organiza tus actividades recurrentes, gestiona reservas y asistencia, y crea workshops o encuentros especiales con Gruperly.",
"ctaPrimary": "Crear cuenta gratis",
"ctaSecondary": "Ver cómo funciona"
},
"demo": {
"eyebrow": "Ver cómo funciona",
"title": "Tu día de trabajo, en una sola pantalla",
"subtitle": "Agenda, actividades, cupos, participantes y cobros del día sin saltar entre herramientas.",
"studio": "Estudio Vinyasa",
"sidebar": { "today": "Hoy", "activities": "Actividades", "participants": "Participantes", "payments": "Cobros" },
"agendaTitle": "Agenda de hoy",
"agendaDate": "Martes 16",
"agenda1": "Vinyasa · Nivel 1",
"agenda2": "Funcional · Gimnasio Sur",
"agenda3": "Workshop: respiración y movilidad",
"spots": "Cupo",
"attendance": "Asistencia",
"activitiesTitle": "Mis actividades",
"activity1": "Vinyasa · Lunes, miércoles y viernes · 09:00",
"activity1Tag": "Actividad recurrente",
"activity2": "Workshop: respiración y movilidad · Mar 20 · 20:00",
"activity2Tag": "Evento especial",
"participantsTitle": "Participantes de hoy",
"participantsSummary": "15 registrados · 3 por confirmar",
"participant1": "Camila López",
"participant1Initials": "CL",
"participant2": "Mateo Pérez",
"participant2Initials": "MP",
"statusUpToDate": "Al día",
"statusPending": "Pendiente",
"paymentsTitle": "Cobros recurrentes de este grupo",
"paymentsUpToDate": "Al día",
"paymentsPending": "Pendientes",
"paymentsOverdue": "Atrasados",
"disclaimer": "Ejemplo ilustrativo de la vista diaria de un profesional. No es una captura real de la aplicación."
},
"features": {
"eyebrow": "Características",
"title": "Lo que necesitas para trabajar con tus grupos",
"subtitle": "Organiza grupos, clases recurrentes y encuentros especiales con tus participantes.",
"items": [
{ "title": "Grupos y participantes", "text": "Dale nombre y descripción a cada grupo, define su cupo máximo y registra a los participantes con sus datos. Todo ordenado por grupo." },
{ "title": "Clases y actividades recurrentes", "text": "Define los días y horarios habituales de cada grupo: son la base de tus clases recurrentes, con su cupo y su cobro." },
{ "title": "Eventos especiales", "text": "Crea workshops, talleres o encuentros puntuales, separados de las clases recurrentes de cada grupo." },
{ "title": "Seguimiento y automatización", "text": "Cobra por clase o por mes con día de vencimiento, y sigue el estado de cada pago: al día, pendiente o atrasado. Conecta tu cuenta de cobro desde el inicio." }
]
},
"howItWorks": {
"eyebrow": "Cómo funciona",
"title": "Empieza con tu primer grupo",
"subtitle": "Tres pasos para pasar de cero a tener tus grupos y cobros organizados.",
"steps": [
{ "title": "Crea tu primer grupo", "text": "Regístrate y define el nombre, los días y el horario de las clases, el cupo máximo, el precio y el tipo de cobro (mensual o por clase)." },
{ "title": "Suma participantes", "text": "Registra a cada participante en el grupo donde participa y mantén sus datos y cobros ordenados." },
{ "title": "Organiza tus actividades", "text": "Con las clases recurrentes definidas, maneja el día a día: cupos, participantes y cobros, y arma los encuentros especiales del mes." }
],
"cta": "Crear mi cuenta gratis"
},
"pricing": {
"eyebrow": "Precios",
"title": "Planes simples para cada etapa",
"subtitle": "Empieza gratis y suma capacidad cuando lo necesites.",
"perMonth": "/mes",
"note": "Valores mensuales. En Argentina se muestran en pesos (ARS) y en el resto de la región en dólares (USD).",
"plans": [
{
"tagline": "Para quienes recién empiezan con grupos pequeños.",
"cta": "Empezar gratis",
"features": [
"Hasta 50 participantes",
"Clases recurrentes con días y horarios",
"1 evento especial al mes",
"Cobros mensuales o por clase"
]
},
{
"tagline": "Para quienes manejan varios grupos y más participantes.",
"cta": "Empezar",
"badge": "Para crecer",
"features": [
"Todo lo del plan Starter",
"Más grupos y participantes que en Starter",
"Más eventos especiales por mes que en Starter",
"Seguimiento de cobros: al día, pendientes y atrasados"
]
}
]
},
"faq": {
"eyebrow": "Preguntas frecuentes",
"title": "Resuelve tus dudas",
"items": [
{ "q": "¿Para quién es Gruperly?", "a": "Para profesionales que trabajan con grupos de personas: profesores, entrenadores personales, instructores y perfiles similares que necesitan organizar grupos, participantes y cobros." },
{ "q": "¿Cómo creo mi primer grupo?", "a": "Creas tu cuenta y defines el nombre del grupo, los días y el horario de las clases, el cupo máximo, el precio y el tipo de cobro (mensual o por clase). Después siempre puedes editarlo." },
{ "q": "¿Cómo incorporo participantes?", "a": "Registras a cada participante en el grupo donde participa con sus datos de contacto. Gruperly guarda esa información y sus cobros por grupo." },
{ "q": "¿Cómo se cobra a los participantes?", "a": "Por grupo defines un precio, un tipo de cobro (mensual o por clase) y un día de vencimiento. Cada cobro queda con un estado claro: al día, pendiente o atrasado." },
{ "q": "¿Qué diferencia hay entre actividades recurrentes y eventos especiales?", "a": "Las actividades recurrentes son las clases habituales de un grupo, con días y horarios repetidos. Los eventos especiales son workshops, talleres o encuentros puntuales, separados de las clases recurrentes." },
{ "q": "¿Necesito una cuenta para usar Gruperly?", "a": "Sí. Creas una cuenta con tu nombre, correo electrónico y contraseña, y confirmas tu correo desde el enlace de verificación." }
]
},
"finalCta": {
"title": "¿Listo para organizar tus grupos con Gruperly?",
"subtitle": "Crea tu primer grupo con los participantes que ya tienes: clases, cupos y cobros en un solo lugar.",
"primary": "Crear cuenta gratis",
"secondary": "Ver precios"
},
"footer": {
"tagline": "Tus grupos, clases y participantes, en un solo lugar. Organiza actividades recurrentes, eventos especiales y cobros con Gruperly.",
"product": "Producto",
"rights": "Todos los derechos reservados."
}
}

View File

@@ -0,0 +1,139 @@
{
"meta": {
"title": "Gruperly — Tus grupos, clases y participantes, en un solo lugar",
"description": "Organizá tus actividades recurrentes, gestioná reservas y asistencia, y creá workshops o encuentros especiales con Gruperly."
},
"nav": {
"features": "Características",
"howItWorks": "Cómo funciona",
"pricing": "Precios",
"faq": "Preguntas frecuentes"
},
"ui": {
"mainNav": "Navegación principal",
"home": "inicio",
"login": "Iniciar sesión",
"signup": "Crear cuenta",
"themeToggle": "Cambiar tema claro/oscuro",
"theme": "Tema",
"language": "Idioma",
"changeLanguage": "Cambiar idioma",
"openMenu": "Abrir menú",
"closeMenu": "Cerrar menú"
},
"hero": {
"badge": "Para profesores, personal trainers y profesionales que trabajan con grupos",
"titleStart": "Tus grupos, clases y participantes,",
"titleHighlight": "en un solo lugar.",
"subtitle": "Organizá tus actividades recurrentes, gestioná reservas y asistencia, y creá workshops o encuentros especiales con Gruperly.",
"ctaPrimary": "Crear cuenta gratis",
"ctaSecondary": "Ver cómo funciona"
},
"demo": {
"eyebrow": "Ver cómo funciona",
"title": "Tu día de trabajo, en una sola pantalla",
"subtitle": "Agenda, actividades, cupos, participantes y cobros del día sin saltar entre herramientas.",
"studio": "Estudio Vinyasa",
"sidebar": { "today": "Hoy", "activities": "Actividades", "participants": "Participantes", "payments": "Cobros" },
"agendaTitle": "Agenda de hoy",
"agendaDate": "Martes 16",
"agenda1": "Vinyasa · Nivel 1",
"agenda2": "Funcional · Gimnasio Sur",
"agenda3": "Workshop: respiración y movilidad",
"spots": "Cupo",
"attendance": "Asistencia",
"activitiesTitle": "Mis actividades",
"activity1": "Vinyasa · Lunes, miércoles y viernes · 09:00",
"activity1Tag": "Actividad recurrente",
"activity2": "Workshop: respiración y movilidad · Mar 20 · 20:00",
"activity2Tag": "Evento especial",
"participantsTitle": "Participantes de hoy",
"participantsSummary": "15 registrados · 3 por confirmar",
"participant1": "Camila López",
"participant1Initials": "CL",
"participant2": "Mateo Pérez",
"participant2Initials": "MP",
"statusUpToDate": "Al día",
"statusPending": "Pendiente",
"paymentsTitle": "Cobros recurrentes de este grupo",
"paymentsUpToDate": "Al día",
"paymentsPending": "Pendientes",
"paymentsOverdue": "Atrasados",
"disclaimer": "Ejemplo ilustrativo de la vista diaria de un profesional. No es una captura real de la aplicación."
},
"features": {
"eyebrow": "Características",
"title": "Lo que necesitás para trabajar con tus grupos",
"subtitle": "Organizá grupos, clases recurrentes y encuentros especiales con tus participantes.",
"items": [
{ "title": "Grupos y participantes", "text": "Dale nombre y descripción a cada grupo, definí su cupo máximo y registrá a los participantes con sus datos. Todo ordenado por grupo." },
{ "title": "Clases y actividades recurrentes", "text": "Definí los días y horarios habituales de cada grupo: son la base de tus clases recurrentes, con su cupo y su cobro." },
{ "title": "Eventos especiales", "text": "Creá workshops, talleres o encuentros puntuales, separados de las clases recurrentes de cada grupo." },
{ "title": "Seguimiento y automatización", "text": "Cobrá por clase o por mes con día de vencimiento, y seguí el estado de cada pago: al día, pendiente o atrasado. Conectá tu cuenta de cobro desde el inicio." }
]
},
"howItWorks": {
"eyebrow": "Cómo funciona",
"title": "Empezá con tu primer grupo",
"subtitle": "Tres pasos para pasar de cero a tener tus grupos y cobros organizados.",
"steps": [
{ "title": "Creá tu primer grupo", "text": "Registrate y definí el nombre, los días y el horario de las clases, el cupo máximo, el precio y el tipo de cobro (mensual o por clase)." },
{ "title": "Sumá participantes", "text": "Registrá a cada participante en el grupo donde participa y mantené sus datos y cobros ordenados." },
{ "title": "Organizá tus actividades", "text": "Con las clases recurrentes definidas, manejá el día a día: cupos, participantes y cobros, y armá los encuentros especiales del mes." }
],
"cta": "Crear mi cuenta gratis"
},
"pricing": {
"eyebrow": "Precios",
"title": "Planes simples para cada etapa",
"subtitle": "Empezá gratis y sumá capacidad cuando lo necesites.",
"perMonth": "/mes",
"note": "Valores mensuales. En Argentina se muestran en pesos (ARS) y en el resto de la región en dólares (USD).",
"plans": [
{
"tagline": "Para quienes recién empiezan con grupos chicos.",
"cta": "Empezar gratis",
"features": [
"Hasta 50 participantes",
"Clases recurrentes con días y horarios",
"1 evento especial al mes",
"Cobros mensuales o por clase"
]
},
{
"tagline": "Para quienes manejan varios grupos y más participantes.",
"cta": "Empezar",
"badge": "Para crecer",
"features": [
"Todo lo del plan Starter",
"Más grupos y participantes que en Starter",
"Más eventos especiales por mes que en Starter",
"Seguimiento de cobros: al día, pendientes y atrasados"
]
}
]
},
"faq": {
"eyebrow": "Preguntas frecuentes",
"title": "Resolvé tus dudas",
"items": [
{ "q": "¿Para quién es Gruperly?", "a": "Para profesionales que trabajan con grupos de personas: profesores, personal trainers, instructores y perfiles similares que necesitan organizar grupos, participantes y cobros." },
{ "q": "¿Cómo creo mi primer grupo?", "a": "Creás tu cuenta y definís el nombre del grupo, los días y el horario de las clases, el cupo máximo, el precio y el tipo de cobro (mensual o por clase). Después siempre podés editarlo." },
{ "q": "¿Cómo incorporo participantes?", "a": "Registrás a cada participante en el grupo donde participa con sus datos de contacto. Gruperly guarda esa información y sus cobros por grupo." },
{ "q": "¿Cómo se cobra a los participantes?", "a": "Por grupo definís un precio, un tipo de cobro (mensual o por clase) y un día de vencimiento. Cada cobro queda con un estado claro: al día, pendiente o atrasado." },
{ "q": "¿Qué diferencia hay entre actividades recurrentes y eventos especiales?", "a": "Las actividades recurrentes son las clases habituales de un grupo, con días y horarios repetidos. Los eventos especiales son workshops, talleres o encuentros puntuales, separados de las clases recurrentes." },
{ "q": "¿Necesito una cuenta para usar Gruperly?", "a": "Sí. Creás una cuenta con tu nombre, email y contraseña, y confirmás tu email desde el enlace de verificación." }
]
},
"finalCta": {
"title": "¿Listo para organizar tus grupos con Gruperly?",
"subtitle": "Creá tu primer grupo con los participantes que ya tenés: clases, cupos y cobros en un solo lugar.",
"primary": "Crear cuenta gratis",
"secondary": "Ver precios"
},
"footer": {
"tagline": "Tus grupos, clases y participantes, en un solo lugar. Organizá actividades recurrentes, eventos especiales y cobros con Gruperly.",
"product": "Producto",
"rights": "Todos los derechos reservados."
}
}

View File

@@ -0,0 +1,139 @@
{
"meta": {
"title": "Gruperly — Seus grupos, aulas e participantes, em um só lugar",
"description": "Organize suas atividades recorrentes, gerencie reservas e presença, e crie workshops ou encontros especiais com o Gruperly."
},
"nav": {
"features": "Recursos",
"howItWorks": "Como funciona",
"pricing": "Preços",
"faq": "Perguntas frequentes"
},
"ui": {
"mainNav": "Navegação principal",
"home": "início",
"login": "Entrar",
"signup": "Criar conta",
"themeToggle": "Alternar tema claro/escuro",
"theme": "Tema",
"language": "Idioma",
"changeLanguage": "Mudar idioma",
"openMenu": "Abrir menu",
"closeMenu": "Fechar menu"
},
"hero": {
"badge": "Para professores, personal trainers e profissionais que trabalham com grupos",
"titleStart": "Seus grupos, aulas e participantes,",
"titleHighlight": "em um só lugar.",
"subtitle": "Organize suas atividades recorrentes, gerencie reservas e presença, e crie workshops ou encontros especiais com o Gruperly.",
"ctaPrimary": "Criar conta grátis",
"ctaSecondary": "Ver como funciona"
},
"demo": {
"eyebrow": "Ver como funciona",
"title": "Seu dia de trabalho, em uma única tela",
"subtitle": "Agenda, atividades, vagas, participantes e cobranças do dia sem pular entre ferramentas.",
"studio": "Estúdio Vinyasa",
"sidebar": { "today": "Hoje", "activities": "Atividades", "participants": "Participantes", "payments": "Cobranças" },
"agendaTitle": "Agenda de hoje",
"agendaDate": "Terça 16",
"agenda1": "Vinyasa · Nível 1",
"agenda2": "Funcional · Academia Sul",
"agenda3": "Workshop: respiração e mobilidade",
"spots": "Vagas",
"attendance": "Presença",
"activitiesTitle": "Minhas atividades",
"activity1": "Vinyasa · Segunda, quarta e sexta · 09:00",
"activity1Tag": "Atividade recorrente",
"activity2": "Workshop: respiração e mobilidade · Ter 20 · 20:00",
"activity2Tag": "Evento especial",
"participantsTitle": "Participantes de hoje",
"participantsSummary": "15 inscritos · 3 a confirmar",
"participant1": "Camila Souza",
"participant1Initials": "CS",
"participant2": "Mateus Pereira",
"participant2Initials": "MP",
"statusUpToDate": "Em dia",
"statusPending": "Pendente",
"paymentsTitle": "Cobranças recorrentes deste grupo",
"paymentsUpToDate": "Em dia",
"paymentsPending": "Pendentes",
"paymentsOverdue": "Atrasadas",
"disclaimer": "Exemplo ilustrativo da visão diária de um profissional. Não é uma captura real do aplicativo."
},
"features": {
"eyebrow": "Recursos",
"title": "Tudo o que você precisa para trabalhar com seus grupos",
"subtitle": "Organize grupos, aulas recorrentes e encontros especiais com seus participantes.",
"items": [
{ "title": "Grupos e participantes", "text": "Dê nome e descrição a cada grupo, defina o número máximo de vagas e cadastre os participantes com seus dados. Tudo organizado por grupo." },
{ "title": "Aulas e atividades recorrentes", "text": "Defina os dias e horários habituais de cada grupo: eles são a base das suas aulas recorrentes, com suas vagas e sua cobrança." },
{ "title": "Eventos especiais", "text": "Crie workshops, oficinas ou encontros pontuais, separados das aulas recorrentes de cada grupo." },
{ "title": "Acompanhamento e automação", "text": "Cobre por aula ou por mês com dia de vencimento, e acompanhe o status de cada pagamento: em dia, pendente ou atrasado. Conecte sua conta de recebimento desde o início." }
]
},
"howItWorks": {
"eyebrow": "Como funciona",
"title": "Comece com seu primeiro grupo",
"subtitle": "Três passos para sair do zero e ter seus grupos e cobranças organizados.",
"steps": [
{ "title": "Crie seu primeiro grupo", "text": "Cadastre-se e defina o nome, os dias e o horário das aulas, o número máximo de vagas, o preço e o tipo de cobrança (mensal ou por aula)." },
{ "title": "Adicione participantes", "text": "Cadastre cada participante no grupo do qual faz parte e mantenha seus dados e cobranças organizados." },
{ "title": "Organize suas atividades", "text": "Com as aulas recorrentes definidas, cuide do dia a dia: vagas, participantes e cobranças, e monte os encontros especiais do mês." }
],
"cta": "Criar minha conta grátis"
},
"pricing": {
"eyebrow": "Preços",
"title": "Planos simples para cada etapa",
"subtitle": "Comece grátis e aumente a capacidade quando precisar.",
"perMonth": "/mês",
"note": "Valores mensais. Na Argentina são exibidos em pesos (ARS) e no restante da região em dólares (USD).",
"plans": [
{
"tagline": "Para quem está começando com grupos pequenos.",
"cta": "Começar grátis",
"features": [
"Até 50 participantes",
"Aulas recorrentes com dias e horários",
"1 evento especial por mês",
"Cobranças mensais ou por aula"
]
},
{
"tagline": "Para quem gerencia vários grupos e mais participantes.",
"cta": "Começar",
"badge": "Para crescer",
"features": [
"Tudo do plano Starter",
"Mais grupos e participantes do que no Starter",
"Mais eventos especiais por mês do que no Starter",
"Acompanhamento de cobranças: em dia, pendentes e atrasadas"
]
}
]
},
"faq": {
"eyebrow": "Perguntas frequentes",
"title": "Tire suas dúvidas",
"items": [
{ "q": "Para quem é o Gruperly?", "a": "Para profissionais que trabalham com grupos de pessoas: professores, personal trainers, instrutores e perfis semelhantes que precisam organizar grupos, participantes e cobranças." },
{ "q": "Como crio meu primeiro grupo?", "a": "Você cria sua conta e define o nome do grupo, os dias e o horário das aulas, o número máximo de vagas, o preço e o tipo de cobrança (mensal ou por aula). Depois, você sempre pode editá-lo." },
{ "q": "Como adiciono participantes?", "a": "Você cadastra cada participante no grupo do qual faz parte, com seus dados de contato. O Gruperly guarda essas informações e suas cobranças por grupo." },
{ "q": "Como funciona a cobrança dos participantes?", "a": "Para cada grupo você define um preço, um tipo de cobrança (mensal ou por aula) e um dia de vencimento. Cada cobrança fica com um status claro: em dia, pendente ou atrasada." },
{ "q": "Qual é a diferença entre atividades recorrentes e eventos especiais?", "a": "As atividades recorrentes são as aulas habituais de um grupo, com dias e horários que se repetem. Os eventos especiais são workshops, oficinas ou encontros pontuais, separados das aulas recorrentes." },
{ "q": "Preciso de uma conta para usar o Gruperly?", "a": "Sim. Você cria uma conta com seu nome, e-mail e senha, e confirma seu e-mail pelo link de verificação." }
]
},
"finalCta": {
"title": "Pronto para organizar seus grupos com o Gruperly?",
"subtitle": "Crie seu primeiro grupo com os participantes que você já tem: aulas, vagas e cobranças em um só lugar.",
"primary": "Criar conta grátis",
"secondary": "Ver preços"
},
"footer": {
"tagline": "Seus grupos, aulas e participantes, em um só lugar. Organize atividades recorrentes, eventos especiais e cobranças com o Gruperly.",
"product": "Produto",
"rights": "Todos os direitos reservados."
}
}

View File

@@ -1,14 +1,55 @@
<!DOCTYPE html>
<html lang="es" class="scroll-smooth">
<html lang="{{ locale.htmlLang }}" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ title or site.name }}</title>
<meta name="description" content="{{ description or site.description }}" />
<script>
// Idioma: respeta la preferencia guardada; si no hay, en "/" detecta el idioma del navegador.
(function () {
var LOCALES = {{ locales | json | safe }};
var current = {{ locale.code | json | safe }};
function pathOf(code) {
for (var i = 0; i < LOCALES.length; i++) if (LOCALES[i].code === code) return LOCALES[i].path;
return null;
}
function detect(langs) {
for (var i = 0; i < langs.length; i++) {
var l = String(langs[i] || '').toLowerCase();
if (l === 'es-ar') return 'es-AR';
if (l.indexOf('es') === 0) return 'es-419';
if (l.indexOf('pt') === 0) return 'pt-BR';
if (l.indexOf('en') === 0) return 'en';
}
return 'en';
}
var stored = null;
try { stored = localStorage.getItem('lang'); } catch (e) {}
var target = null;
if (stored && pathOf(stored)) {
target = stored;
} else if (location.pathname === '/' && !/bot|crawl|spider|slurp|lighthouse|preview/i.test(navigator.userAgent)) {
target = detect(navigator.languages && navigator.languages.length ? navigator.languages : [navigator.language]);
}
if (target && target !== current) {
location.replace(pathOf(target) + location.search + location.hash);
}
})();
</script>
<title>{{ t.meta.title }}</title>
<meta name="description" content="{{ t.meta.description }}" />
<meta name="robots" content="index, follow" />
<meta name="theme-color" content="#1d33d8" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#0b1023" media="(prefers-color-scheme: dark)" />
<link rel="canonical" href="{{ site.url }}/" />
<link rel="canonical" href="{{ site.url }}{{ locale.path }}" />
{%- for l in locales %}
<link rel="alternate" hreflang="{{ l.htmlLang }}" href="{{ site.url }}{{ l.path }}" />
{%- endfor %}
<link rel="alternate" hreflang="x-default" href="{{ site.url }}/" />
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<link rel="icon" type="image/png" sizes="512x512" href="/assets/isotipo-y-organica-preview.png" />
<link rel="apple-touch-icon" href="/assets/isotipo-y-organica-preview.png" />
@@ -16,22 +57,25 @@
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:site_name" content="{{ site.name }}" />
<meta property="og:url" content="{{ site.url }}/" />
<meta property="og:title" content="{{ title or site.name }}" />
<meta property="og:description" content="{{ description or site.description }}" />
<meta property="og:url" content="{{ site.url }}{{ locale.path }}" />
<meta property="og:title" content="{{ t.meta.title }}" />
<meta property="og:description" content="{{ t.meta.description }}" />
<meta property="og:image" content="{{ site.url }}/assets/og-image.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="{{ site.name }}" />
<meta property="og:locale" content="es_AR" />
<meta property="og:locale" content="{{ locale.ogLocale }}" />
{%- for l in locales %}{% if l.code != locale.code %}
<meta property="og:locale:alternate" content="{{ l.ogLocale }}" />
{%- endif %}{% endfor %}
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ title or site.name }}" />
<meta name="twitter:description" content="{{ description or site.description }}" />
<meta name="twitter:title" content="{{ t.meta.title }}" />
<meta name="twitter:description" content="{{ t.meta.description }}" />
<meta name="twitter:image" content="{{ site.url }}/assets/og-image.png" />
<meta name="twitter:url" content="{{ site.url }}/" />
<meta name="twitter:url" content="{{ site.url }}{{ locale.path }}" />
{% include "partials/seo-schema.njk" %}
<script>
@@ -156,7 +200,7 @@
iconMenu.classList.toggle('hidden', open);
iconClose.classList.toggle('hidden', !open);
menuToggle.setAttribute('aria-expanded', String(open));
menuToggle.setAttribute('aria-label', open ? 'Cerrar menú' : 'Abrir menú');
menuToggle.setAttribute('aria-label', open ? menuToggle.dataset.labelClose : menuToggle.dataset.labelOpen);
}
menuToggle.addEventListener('click', () => setMenu(mobileMenu.classList.contains('hidden')));
@@ -171,6 +215,39 @@
menuToggle.focus();
}
});
// Selector de idioma
const langToggle = document.getElementById('lang-toggle');
const langMenu = document.getElementById('lang-menu');
function setLangMenu(open) {
langMenu.classList.toggle('hidden', !open);
langToggle.setAttribute('aria-expanded', String(open));
}
langToggle.addEventListener('click', (event) => {
event.stopPropagation();
setLangMenu(langMenu.classList.contains('hidden'));
});
document.addEventListener('click', (event) => {
if (!langMenu.classList.contains('hidden') && !langMenu.contains(event.target)) setLangMenu(false);
});
document.addEventListener('keydown', (event) => {
if (event.key === 'Escape' && !langMenu.classList.contains('hidden')) {
setLangMenu(false);
langToggle.focus();
}
});
document.querySelectorAll('[data-lang]').forEach(link => {
link.addEventListener('click', (event) => {
event.preventDefault();
try { localStorage.setItem('lang', link.dataset.lang); } catch (e) {}
window.location.href = link.getAttribute('href') + window.location.hash;
});
});
</script>
</body>
</html>

View File

@@ -3,9 +3,9 @@
============================================================ -->
<section id="demo" class="mx-auto max-w-7xl px-4 py-16 sm:px-6 lg:px-8 lg:py-20">
<div class="mx-auto max-w-2xl text-center">
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">Ver cómo funciona</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">Tu día de trabajo, en una sola pantalla</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">Agenda, actividades, cupos, participantes y cobros del día sin saltar entre herramientas.</p>
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">{{ t.demo.eyebrow }}</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">{{ t.demo.title }}</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">{{ t.demo.subtitle }}</p>
</div>
<!-- Illustrative dashboard -->
@@ -33,14 +33,14 @@
<div class="mb-3 flex items-center gap-2">
<img src="/assets/isotipo-y-organica.svg" alt="{{ site.name }}" class="h-7 w-7 dark:hidden" width="32" height="32" />
<img src="/assets/isotipo-y-organica-oscuro.svg" alt="" class="hidden h-7 w-7 dark:block" width="32" height="32" />
<span class="text-sm font-bold">Estudio Vinyasa</span>
<span class="text-sm font-bold">{{ t.demo.studio }}</span>
</div>
<div class="flex items-center gap-2 rounded-lg bg-brand-600/10 px-3 py-2 text-xs font-semibold text-brand-700 dark:bg-brand-500/15 dark:text-brand-300">
<span class="h-1.5 w-1.5 rounded-full bg-brand-500"></span> Hoy
<span class="h-1.5 w-1.5 rounded-full bg-brand-500"></span> {{ t.demo.sidebar.today }}
</div>
<div class="flex items-center gap-2 rounded-lg px-3 py-2 text-xs text-slate-500 dark:text-slate-400"><span class="h-1.5 w-1.5 rounded-full bg-slate-400"></span> Actividades</div>
<div class="flex items-center gap-2 rounded-lg px-3 py-2 text-xs text-slate-500 dark:text-slate-400"><span class="h-1.5 w-1.5 rounded-full bg-slate-400"></span> Participantes</div>
<div class="flex items-center gap-2 rounded-lg px-3 py-2 text-xs text-slate-500 dark:text-slate-400"><span class="h-1.5 w-1.5 rounded-full bg-slate-400"></span> Cobros</div>
<div class="flex items-center gap-2 rounded-lg px-3 py-2 text-xs text-slate-500 dark:text-slate-400"><span class="h-1.5 w-1.5 rounded-full bg-slate-400"></span> {{ t.demo.sidebar.activities }}</div>
<div class="flex items-center gap-2 rounded-lg px-3 py-2 text-xs text-slate-500 dark:text-slate-400"><span class="h-1.5 w-1.5 rounded-full bg-slate-400"></span> {{ t.demo.sidebar.participants }}</div>
<div class="flex items-center gap-2 rounded-lg px-3 py-2 text-xs text-slate-500 dark:text-slate-400"><span class="h-1.5 w-1.5 rounded-full bg-slate-400"></span> {{ t.demo.sidebar.payments }}</div>
</div>
<!-- Main content -->
@@ -48,29 +48,29 @@
<!-- Today -->
<div class="rounded-xl border border-slate-200 bg-white p-4 dark:border-slate-700 dark:bg-slate-800/60">
<div class="flex items-center justify-between">
<p class="text-sm font-semibold">Agenda de hoy</p>
<span class="rounded-full bg-brand-50 px-2.5 py-0.5 text-[11px] font-semibold text-brand-700 dark:bg-brand-500/15 dark:text-brand-300">Martes 16</span>
<p class="text-sm font-semibold">{{ t.demo.agendaTitle }}</p>
<span class="rounded-full bg-brand-50 px-2.5 py-0.5 text-[11px] font-semibold text-brand-700 dark:bg-brand-500/15 dark:text-brand-300">{{ t.demo.agendaDate }}</span>
</div>
<ul class="mt-3 space-y-2">
<li class="flex items-center justify-between gap-3 text-sm">
<span class="flex items-center gap-2"><span class="rounded-md bg-brand-50 px-2 py-1 text-xs font-bold text-brand-700 dark:bg-brand-500/15 dark:text-brand-300">09:00</span> Vinyasa · Nivel 1</span>
<span class="flex items-center gap-2"><span class="rounded-md bg-brand-50 px-2 py-1 text-xs font-bold text-brand-700 dark:bg-brand-500/15 dark:text-brand-300">09:00</span> {{ t.demo.agenda1 }}</span>
<span class="inline-flex items-center gap-1.5 rounded-full bg-emerald-50 px-2.5 py-1 text-[11px] font-semibold text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400">
<svg class="h-3 w-3" 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>
Cupo 12/15
{{ t.demo.spots }} 12/15
</span>
</li>
<li class="flex items-center justify-between gap-3 text-sm">
<span class="flex items-center gap-2"><span class="rounded-md bg-brand-50 px-2 py-1 text-xs font-bold text-brand-700 dark:bg-brand-500/15 dark:text-brand-300">18:00</span> Funcional · Gimnasio Sur</span>
<span class="flex items-center gap-2"><span class="rounded-md bg-brand-50 px-2 py-1 text-xs font-bold text-brand-700 dark:bg-brand-500/15 dark:text-brand-300">18:00</span> {{ t.demo.agenda2 }}</span>
<span class="inline-flex items-center gap-1.5 rounded-full bg-emerald-50 px-2.5 py-1 text-[11px] font-semibold text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400">
<svg class="h-3 w-3" 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>
Cupo 8/10
{{ t.demo.spots }} 8/10
</span>
</li>
<li class="flex items-center justify-between gap-3 text-sm">
<span class="flex items-center gap-2"><span class="rounded-md bg-amber-50 px-2 py-1 text-xs font-bold text-amber-700 dark:bg-amber-500/15 dark:text-amber-300">20:00</span> Workshop: respiración y movilidad</span>
<span class="flex items-center gap-2"><span class="rounded-md bg-amber-50 px-2 py-1 text-xs font-bold text-amber-700 dark:bg-amber-500/15 dark:text-amber-300">20:00</span> {{ t.demo.agenda3 }}</span>
<span class="inline-flex items-center gap-1.5 rounded-full bg-amber-50 px-2.5 py-1 text-[11px] font-semibold text-amber-700 dark:bg-amber-500/15 dark:text-amber-300">
<svg class="h-3 w-3" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14L20 6" /><path d="m22 4-10 10-3-3" /></svg>
Asistencia 14/16
{{ t.demo.attendance }} 14/16
</span>
</li>
</ul>
@@ -78,25 +78,25 @@
<!-- Activities -->
<div class="rounded-xl border border-slate-200 bg-white p-4 dark:border-slate-700 dark:bg-slate-800/60">
<p class="text-sm font-semibold">Mis actividades</p>
<p class="text-sm font-semibold">{{ t.demo.activitiesTitle }}</p>
<ul class="mt-3 space-y-2 text-sm">
<li class="flex items-center justify-between gap-3">
<span class="flex items-center gap-2">
<span class="inline-flex h-8 w-8 items-center justify-center rounded-lg bg-brand-50 text-brand-600 dark:bg-brand-500/15 dark:text-brand-400">
<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"><circle cx="12" cy="12" r="10" /><path d="M12 6v6l4 2" /></svg>
</span>
Vinyasa · Lunes, miércoles y viernes · 09:00
{{ t.demo.activity1 }}
</span>
<span class="rounded-full bg-slate-100 px-2.5 py-1 text-[11px] font-semibold text-slate-600 dark:bg-slate-800 dark:text-slate-300">Actividad recurrente</span>
<span class="rounded-full bg-slate-100 px-2.5 py-1 text-[11px] font-semibold text-slate-600 dark:bg-slate-800 dark:text-slate-300">{{ t.demo.activity1Tag }}</span>
</li>
<li class="flex items-center justify-between gap-3">
<span class="flex items-center gap-2">
<span class="inline-flex h-8 w-8 items-center justify-center rounded-lg bg-amber-50 text-amber-600 dark:bg-amber-500/15 dark:text-amber-400">
<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"><rect x="3" y="4" width="18" height="18" rx="2" /><path d="M16 2v4M8 2v4M3 10h18" /></svg>
</span>
Workshop: respiración y movilidad · Mar 20 · 20:00
{{ t.demo.activity2 }}
</span>
<span class="rounded-full bg-amber-50 px-2.5 py-1 text-[11px] font-semibold text-amber-700 dark:bg-amber-500/15 dark:text-amber-300">Evento especial</span>
<span class="rounded-full bg-amber-50 px-2.5 py-1 text-[11px] font-semibold text-amber-700 dark:bg-amber-500/15 dark:text-amber-300">{{ t.demo.activity2Tag }}</span>
</li>
</ul>
</div>
@@ -104,42 +104,42 @@
<!-- Participants -->
<div class="rounded-xl border border-slate-200 bg-white p-4 dark:border-slate-700 dark:bg-slate-800/60">
<div class="flex items-center justify-between">
<p class="text-sm font-semibold">Participantes de hoy</p>
<span class="text-[11px] font-semibold text-slate-500 dark:text-slate-400">15 registrados · 3 por confirmar</span>
<p class="text-sm font-semibold">{{ t.demo.participantsTitle }}</p>
<span class="text-[11px] font-semibold text-slate-500 dark:text-slate-400">{{ t.demo.participantsSummary }}</span>
</div>
<ul class="mt-3 space-y-2 text-sm">
<li class="flex items-center justify-between gap-3">
<span class="flex items-center gap-2">
<span class="inline-flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-brand-400 to-brand-600 text-[11px] font-bold text-white" aria-hidden="true">CL</span>
Camila López
<span class="inline-flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-brand-400 to-brand-600 text-[11px] font-bold text-white" aria-hidden="true">{{ t.demo.participant1Initials }}</span>
{{ t.demo.participant1 }}
</span>
<span class="rounded-full bg-emerald-50 px-2.5 py-1 text-[11px] font-semibold text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400">Al día</span>
<span class="rounded-full bg-emerald-50 px-2.5 py-1 text-[11px] font-semibold text-emerald-600 dark:bg-emerald-500/15 dark:text-emerald-400">{{ t.demo.statusUpToDate }}</span>
</li>
<li class="flex items-center justify-between gap-3">
<span class="flex items-center gap-2">
<span class="inline-flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-emerald-400 to-teal-600 text-[11px] font-bold text-white" aria-hidden="true">MP</span>
Mateo Pérez
<span class="inline-flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-emerald-400 to-teal-600 text-[11px] font-bold text-white" aria-hidden="true">{{ t.demo.participant2Initials }}</span>
{{ t.demo.participant2 }}
</span>
<span class="rounded-full bg-amber-50 px-2.5 py-1 text-[11px] font-semibold text-amber-700 dark:bg-amber-500/15 dark:text-amber-300">Pendiente</span>
<span class="rounded-full bg-amber-50 px-2.5 py-1 text-[11px] font-semibold text-amber-700 dark:bg-amber-500/15 dark:text-amber-300">{{ t.demo.statusPending }}</span>
</li>
</ul>
</div>
<!-- Payments summary (real states) -->
<div class="rounded-xl border border-slate-200 bg-white p-4 dark:border-slate-700 dark:bg-slate-800/60">
<p class="text-sm font-semibold">Cobros recurrentes de este grupo</p>
<p class="text-sm font-semibold">{{ t.demo.paymentsTitle }}</p>
<div class="mt-3 grid grid-cols-3 gap-2 text-center">
<div>
<p class="text-xl font-extrabold text-emerald-500">12</p>
<p class="text-[11px] font-medium text-slate-500 dark:text-slate-400">Al día</p>
<p class="text-[11px] font-medium text-slate-500 dark:text-slate-400">{{ t.demo.paymentsUpToDate }}</p>
</div>
<div>
<p class="text-xl font-extrabold text-amber-500">3</p>
<p class="text-[11px] font-medium text-slate-500 dark:text-slate-400">Pendientes</p>
<p class="text-[11px] font-medium text-slate-500 dark:text-slate-400">{{ t.demo.paymentsPending }}</p>
</div>
<div>
<p class="text-xl font-extrabold text-rose-500">2</p>
<p class="text-[11px] font-medium text-slate-500 dark:text-slate-400">Atrasados</p>
<p class="text-[11px] font-medium text-slate-500 dark:text-slate-400">{{ t.demo.paymentsOverdue }}</p>
</div>
</div>
</div>
@@ -148,7 +148,7 @@
</div>
<p class="mt-4 text-center text-sm text-slate-500 dark:text-slate-400">
Ejemplo ilustrativo de la vista diaria de un profesional. No es una captura real de la aplicación.
{{ t.demo.disclaimer }}
</p>
</div>
</section>

View File

@@ -3,69 +3,21 @@
============================================================ -->
<section id="faq" class="mx-auto max-w-4xl px-4 py-16 sm:px-6 lg:px-8 lg:py-20">
<div class="mx-auto max-w-2xl text-center">
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">Preguntas frecuentes</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">Resolvé tus dudas</h2>
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">{{ t.faq.eyebrow }}</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">{{ t.faq.title }}</h2>
</div>
<div class="mt-10 space-y-4">
{% for item in t.faq.items %}
<details class="group rounded-2xl border border-slate-200 bg-white p-6 shadow-sm open:shadow-md dark:border-slate-800 dark:bg-slate-900">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 text-base font-bold focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950 [&::-webkit-details-marker]:hidden">
<h3 class="text-base font-bold">¿Para quién es Gruperly?</h3>
<h3 class="text-base font-bold">{{ item.q }}</h3>
<svg class="h-5 w-5 shrink-0 text-brand-500 transition-transform group-open:rotate-45" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14" /></svg>
</summary>
<p class="mt-3 text-sm leading-relaxed text-slate-600 dark:text-slate-400">
Para profesionales que trabajan con grupos de personas: profesores, personal trainers, instructores y perfiles similares que necesitan organizar grupos, participantes y cobros.
</p>
</details>
<details class="group rounded-2xl border border-slate-200 bg-white p-6 shadow-sm open:shadow-md dark:border-slate-800 dark:bg-slate-900">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 text-base font-bold focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950 [&::-webkit-details-marker]:hidden">
<h3 class="text-base font-bold">¿Cómo creo mi primer grupo?</h3>
<svg class="h-5 w-5 shrink-0 text-brand-500 transition-transform group-open:rotate-45" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14" /></svg>
</summary>
<p class="mt-3 text-sm leading-relaxed text-slate-600 dark:text-slate-400">
Creás tu cuenta y definís el nombre del grupo, los días y el horario de las clases, el cupo máximo, el precio y el tipo de cobro (mensual o por clase). Después siempre podés editarlo.
</p>
</details>
<details class="group rounded-2xl border border-slate-200 bg-white p-6 shadow-sm open:shadow-md dark:border-slate-800 dark:bg-slate-900">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 text-base font-bold focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950 [&::-webkit-details-marker]:hidden">
<h3 class="text-base font-bold">¿Cómo incorporo participantes?</h3>
<svg class="h-5 w-5 shrink-0 text-brand-500 transition-transform group-open:rotate-45" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14" /></svg>
</summary>
<p class="mt-3 text-sm leading-relaxed text-slate-600 dark:text-slate-400">
Registrás a cada participante en el grupo donde participa con sus datos de contacto. Gruperly guarda esa información y sus cobros por grupo.
</p>
</details>
<details class="group rounded-2xl border border-slate-200 bg-white p-6 shadow-sm open:shadow-md dark:border-slate-800 dark:bg-slate-900">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 text-base font-bold focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950 [&::-webkit-details-marker]:hidden">
<h3 class="text-base font-bold">¿Cómo se cobra a los participantes?</h3>
<svg class="h-5 w-5 shrink-0 text-brand-500 transition-transform group-open:rotate-45" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14" /></svg>
</summary>
<p class="mt-3 text-sm leading-relaxed text-slate-600 dark:text-slate-400">
Por grupo definís un precio, un tipo de cobro (mensual o por clase) y un día de vencimiento. Cada cobro queda con un estado claro: al día, pendiente o atrasado.
</p>
</details>
<details class="group rounded-2xl border border-slate-200 bg-white p-6 shadow-sm open:shadow-md dark:border-slate-800 dark:bg-slate-900">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 text-base font-bold focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950 [&::-webkit-details-marker]:hidden">
<h3 class="text-base font-bold">¿Qué diferencia hay entre actividades recurrentes y eventos especiales?</h3>
<svg class="h-5 w-5 shrink-0 text-brand-500 transition-transform group-open:rotate-45" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14" /></svg>
</summary>
<p class="mt-3 text-sm leading-relaxed text-slate-600 dark:text-slate-400">
Las actividades recurrentes son las clases habituales de un grupo, con días y horarios repetidos. Los eventos especiales son workshops, talleres o encuentros puntuales, separados de las clases recurrentes.
</p>
</details>
<details class="group rounded-2xl border border-slate-200 bg-white p-6 shadow-sm open:shadow-md dark:border-slate-800 dark:bg-slate-900">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 text-base font-bold focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950 [&::-webkit-details-marker]:hidden">
<h3 class="text-base font-bold">¿Necesito una cuenta para usar Gruperly?</h3>
<svg class="h-5 w-5 shrink-0 text-brand-500 transition-transform group-open:rotate-45" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14" /></svg>
</summary>
<p class="mt-3 text-sm leading-relaxed text-slate-600 dark:text-slate-400">
Sí. Creás una cuenta con tu nombre, email y contraseña, y confirmás tu email desde el enlace de verificación.
{{ item.a }}
</p>
</details>
{% endfor %}
</div>
</section>

View File

@@ -3,9 +3,9 @@
============================================================ -->
<section id="caracteristicas" class="mx-auto max-w-7xl px-4 py-16 sm:px-6 lg:px-8 lg:py-20">
<div class="mx-auto max-w-2xl text-center">
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">Características</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">Lo que necesitás para trabajar con tus grupos</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">Organizá grupos, clases recurrentes y encuentros especiales con tus participantes.</p>
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">{{ t.features.eyebrow }}</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">{{ t.features.title }}</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">{{ t.features.subtitle }}</p>
</div>
<div class="mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-4">
@@ -14,8 +14,8 @@
<span class="inline-flex h-12 w-12 items-center justify-center rounded-xl bg-brand-50 text-brand-600 ring-1 ring-brand-100 transition group-hover:scale-110 dark:bg-brand-500/15 dark:text-brand-300 dark:ring-brand-500/20">
<svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" /><circle cx="9" cy="7" r="4" /><path d="M23 21v-2a4 4 0 0 0-3-3.87" /><path d="M16 3.13a4 4 0 0 1 0 7.75" /></svg>
</span>
<h3 class="mt-5 text-lg font-bold">Grupos y participantes</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">Dale nombre y descripción a cada grupo, definí su cupo máximo y registrá a los participantes con sus datos. Todo ordenado por grupo.</p>
<h3 class="mt-5 text-lg font-bold">{{ t.features.items[0].title }}</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.features.items[0].text }}</p>
</article>
<!-- Clases y actividades recurrentes -->
@@ -23,8 +23,8 @@
<span class="inline-flex h-12 w-12 items-center justify-center rounded-xl bg-brand-50 text-brand-600 ring-1 ring-brand-100 transition group-hover:scale-110 dark:bg-brand-500/15 dark:text-brand-300 dark:ring-brand-500/20">
<svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10" /><path d="M12 6v6l4 2" /></svg>
</span>
<h3 class="mt-5 text-lg font-bold">Clases y actividades recurrentes</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">Definí los días y horarios habituales de cada grupo: son la base de tus clases recurrentes, con su cupo y su cobro.</p>
<h3 class="mt-5 text-lg font-bold">{{ t.features.items[1].title }}</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.features.items[1].text }}</p>
</article>
<!-- Eventos especiales -->
@@ -32,8 +32,8 @@
<span class="inline-flex h-12 w-12 items-center justify-center rounded-xl bg-brand-50 text-brand-600 ring-1 ring-brand-100 transition group-hover:scale-110 dark:bg-brand-500/15 dark:text-brand-300 dark:ring-brand-500/20">
<svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2" /><path d="M16 2v4M8 2v4M3 10h18" /></svg>
</span>
<h3 class="mt-5 text-lg font-bold">Eventos especiales</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">Creá workshops, talleres o encuentros puntuales, separados de las clases recurrentes de cada grupo.</p>
<h3 class="mt-5 text-lg font-bold">{{ t.features.items[2].title }}</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.features.items[2].text }}</p>
</article>
<!-- Seguimiento y automatización -->
@@ -41,8 +41,8 @@
<span class="inline-flex h-12 w-12 items-center justify-center rounded-xl bg-brand-50 text-brand-600 ring-1 ring-brand-100 transition group-hover:scale-110 dark:bg-brand-500/15 dark:text-brand-300 dark:ring-brand-500/20">
<svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 3v18h18" /><path d="m19 9-5 5-4-4-3 3" /></svg>
</span>
<h3 class="mt-5 text-lg font-bold">Seguimiento y automatización</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">Cobró por clase o por mes con día de vencimiento, y seguí el estado de cada pago: al día, pendiente o atrasado. Conectá tu cuenta de cobro desde el inicio.</p>
<h3 class="mt-5 text-lg font-bold">{{ t.features.items[3].title }}</h3>
<p class="mt-2 text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.features.items[3].text }}</p>
</article>
</div>
</section>

View File

@@ -8,11 +8,11 @@
<div class="absolute -bottom-20 -right-20 h-64 w-64 rounded-full bg-brand-300/20 blur-3xl"></div>
</div>
<div class="relative">
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">¿Listo para organizar tus grupos con Gruperly?</h2>
<p class="mx-auto mt-4 max-w-2xl text-lg text-brand-100">Creá tu primer grupo con los participantes que ya tenés: clases, cupos y cobros en un solo lugar.</p>
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">{{ t.finalCta.title }}</h2>
<p class="mx-auto mt-4 max-w-2xl text-lg text-brand-100">{{ t.finalCta.subtitle }}</p>
<div class="mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row">
<a href="{{ site.app.signup }}" class="inline-flex w-full items-center justify-center gap-2 rounded-xl bg-white px-7 py-3.5 text-base font-semibold text-brand-700 shadow-xl transition hover:bg-brand-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-brand-700 sm:w-auto">Crear cuenta gratis</a>
<a href="#precios" class="inline-flex w-full items-center justify-center gap-2 rounded-xl border border-white/30 px-7 py-3.5 text-base font-semibold text-white transition hover:bg-white/10 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-brand-700 sm:w-auto">Ver precios</a>
<a href="{{ site.app.signup }}" class="inline-flex w-full items-center justify-center gap-2 rounded-xl bg-white px-7 py-3.5 text-base font-semibold text-brand-700 shadow-xl transition hover:bg-brand-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-brand-700 sm:w-auto">{{ t.finalCta.primary }}</a>
<a href="#precios" class="inline-flex w-full items-center justify-center gap-2 rounded-xl border border-white/30 px-7 py-3.5 text-base font-semibold text-white transition hover:bg-white/10 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-brand-700 sm:w-auto">{{ t.finalCta.secondary }}</a>
</div>
</div>
</div>

View File

@@ -3,27 +3,27 @@
<div class="grid gap-10 md:grid-cols-3">
<!-- Brand -->
<div class="md:col-span-2">
<a href="/" class="inline-flex items-center" aria-label="{{ site.name }} — inicio">
<a href="/" class="inline-flex items-center" aria-label="{{ site.name }} — {{ t.ui.home }}">
<img src="/assets/logotipo-y-organica.svg" alt="{{ site.name }}" class="h-10 w-auto dark:hidden" width="252" height="83" />
<img src="/assets/logotipo-y-organica-oscuro.svg" alt="" class="hidden h-10 w-auto dark:block" width="252" height="83" />
</a>
<p class="mt-4 max-w-md text-sm leading-relaxed text-slate-600 dark:text-slate-400">Tus grupos, clases y participantes, en un solo lugar. Organizá actividades recurrentes, eventos especiales y cobros con Gruperly.</p>
<p class="mt-4 max-w-md text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.footer.tagline }}</p>
</div>
<!-- Product links -->
<div>
<h3 class="text-sm font-bold uppercase tracking-wide text-slate-900 dark:text-white">Producto</h3>
<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.footer.producto %}
<li><a href="{{ 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">{{ item.label }}</a></li>
{% for item in site.nav %}
<li><a href="{{ 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>
</div>
</div>
<div class="mt-12 flex flex-col items-center justify-between gap-4 border-t border-slate-200 pt-8 sm:flex-row dark:border-slate-800">
<p class="text-sm text-slate-500 dark:text-slate-400">© {{ site.year }} {{ site.name }}. Todos los derechos reservados.</p>
<a href="{{ site.app.login }}" 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-400 dark:hover:text-brand-400 dark:focus-visible:ring-offset-slate-900">Iniciar sesión</a>
<p class="text-sm text-slate-500 dark:text-slate-400">© {{ site.year }} {{ site.name }}. {{ t.footer.rights }}</p>
<a href="{{ site.app.login }}" 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-400 dark:hover:text-brand-400 dark:focus-visible:ring-offset-slate-900">{{ t.ui.login }}</a>
</div>
</div>
</footer>

View File

@@ -1,7 +1,7 @@
<header class="sticky top-0 z-50 border-b border-slate-200/70 bg-white/80 backdrop-blur-lg dark:border-slate-800 dark:bg-slate-950/80">
<nav class="mx-auto flex h-16 max-w-7xl items-center justify-between px-4 sm:px-6 lg:px-8" aria-label="Navegación principal">
<nav class="mx-auto flex h-16 max-w-7xl items-center justify-between px-4 sm:px-6 lg:px-8" aria-label="{{ t.ui.mainNav }}">
<!-- Logo -->
<a href="/" class="flex items-center" aria-label="{{ site.name }} — inicio">
<a href="/" class="flex items-center" aria-label="{{ site.name }} — {{ t.ui.home }}">
<img src="/assets/logotipo-y-organica.svg" alt="{{ site.name }}" class="h-12 w-auto dark:hidden" width="252" height="83" />
<img src="/assets/logotipo-y-organica-oscuro.svg" alt="" class="hidden h-12 w-auto dark:block" width="252" height="83" />
</a>
@@ -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">{{ item.label }}</a>
<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>
{% endfor %}
</div>
@@ -17,14 +17,30 @@
<div class="flex items-center gap-3">
<!-- CTA -->
<a href="{{ site.app.login }}" class="hidden items-center gap-2 text-sm font-semibold text-slate-700 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-200 dark:hover:text-brand-400 dark:focus-visible:ring-offset-slate-950 sm:inline-flex">
Iniciar sesión
{{ t.ui.login }}
</a>
<a href="{{ site.app.signup }}" class="inline-flex items-center justify-center rounded-lg bg-brand-600 px-4 py-2.5 text-sm font-semibold text-white shadow-lg shadow-brand-600/25 transition hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2 dark:focus:ring-offset-slate-950">
Crear cuenta
{{ t.ui.signup }}
</a>
<!-- Language switcher (desktop only) -->
<div class="relative hidden md:block">
<button id="lang-toggle" type="button" aria-label="{{ t.ui.changeLanguage }}" aria-haspopup="true" aria-expanded="false" aria-controls="lang-menu" class="inline-flex h-10 items-center gap-1.5 rounded-full border border-slate-200 px-3 text-sm font-semibold text-slate-600 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:focus-visible:ring-offset-slate-950">
<svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10" /><path d="M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10Z" /></svg>
<span>{{ locale.short }}</span>
</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 %}">
{{ 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>
{% endfor %}
</div>
</div>
<!-- Dark mode toggle (desktop only) -->
<button id="theme-toggle" type="button" aria-label="Cambiar tema claro/oscuro" class="hidden h-10 w-10 items-center justify-center rounded-full border border-slate-200 text-slate-600 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 md:inline-flex dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:focus-visible:ring-offset-slate-950">
<button id="theme-toggle" type="button" aria-label="{{ t.ui.themeToggle }}" class="hidden h-10 w-10 items-center justify-center rounded-full border border-slate-200 text-slate-600 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 md:inline-flex dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:focus-visible:ring-offset-slate-950">
<!-- Sun icon (shown in dark mode to switch to light) -->
<svg id="icon-sun" class="hidden h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<circle cx="12" cy="12" r="4" />
@@ -37,7 +53,7 @@
</button>
<!-- Menu toggle (mobile only, far right) -->
<button id="menu-toggle" type="button" aria-label="Abrir menú" aria-expanded="false" aria-controls="mobile-menu" class="inline-flex h-10 w-10 items-center justify-center rounded-full border border-slate-200 text-slate-600 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 md:hidden dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:focus-visible:ring-offset-slate-950">
<button id="menu-toggle" type="button" aria-label="{{ t.ui.openMenu }}" data-label-open="{{ t.ui.openMenu }}" data-label-close="{{ t.ui.closeMenu }}" aria-expanded="false" aria-controls="mobile-menu" class="inline-flex h-10 w-10 items-center justify-center rounded-full border border-slate-200 text-slate-600 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 md:hidden dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:focus-visible:ring-offset-slate-950">
<svg id="icon-menu" class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 6h16M4 12h16M4 18h16" /></svg>
<svg id="icon-close" class="hidden h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18" /></svg>
</button>
@@ -49,8 +65,8 @@
<div class="space-y-1 px-4 py-4 sm:px-6">
<!-- Dark mode toggle (mobile) -->
<div class="flex items-center justify-between gap-4 border-b border-slate-200/70 px-3 pb-3 dark:border-slate-800">
<span class="text-base font-medium text-slate-700 dark:text-slate-200">Tema</span>
<button id="theme-toggle-mobile" type="button" aria-label="Cambiar tema claro/oscuro" class="inline-flex h-10 w-10 items-center justify-center rounded-full border border-slate-200 text-slate-600 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:focus-visible:ring-offset-slate-950">
<span class="text-base font-medium text-slate-700 dark:text-slate-200">{{ t.ui.theme }}</span>
<button id="theme-toggle-mobile" type="button" aria-label="{{ t.ui.themeToggle }}" class="inline-flex h-10 w-10 items-center justify-center rounded-full border border-slate-200 text-slate-600 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:focus-visible:ring-offset-slate-950">
<svg id="icon-sun-mobile" class="hidden h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<circle cx="12" cy="12" r="4" />
<path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41" />
@@ -60,11 +76,20 @@
</svg>
</button>
</div>
<!-- Language switcher (mobile) -->
<div class="border-b border-slate-200/70 px-3 py-3 dark:border-slate-800">
<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>
{% 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>{{ item.label }}</a>
<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>
{% 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>Iniciar sesión</a>
<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>
</div>
</div>
</div>

View File

@@ -15,24 +15,24 @@
<svg class="h-3.5 w-3.5" 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>
Para profesores, personal trainers y profesionales que trabajan con grupos
{{ t.hero.badge }}
</span>
<!-- Title -->
<h1 class="mt-5 text-4xl font-extrabold tracking-tight text-balance sm:text-5xl">
Tus grupos, clases y participantes,
<span class="bg-gradient-to-r from-brand-500 to-brand-700 bg-clip-text text-transparent dark:from-brand-400 dark:to-brand-500">en un solo lugar.</span>
{{ t.hero.titleStart }}
<span class="bg-gradient-to-r from-brand-500 to-brand-700 bg-clip-text text-transparent dark:from-brand-400 dark:to-brand-500">{{ t.hero.titleHighlight }}</span>
</h1>
<!-- Subtitle -->
<p class="mx-auto mt-5 max-w-2xl text-lg leading-relaxed text-slate-600 dark:text-slate-400">
Organizá tus actividades recurrentes, gestioná reservas y asistencia, y creá workshops o encuentros especiales con Gruperly.
{{ t.hero.subtitle }}
</p>
<!-- CTA buttons -->
<div class="mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row">
<a href="{{ site.app.signup }}" class="inline-flex w-full items-center justify-center gap-2 rounded-xl bg-brand-600 px-7 py-3.5 text-base font-semibold text-white shadow-xl shadow-brand-600/30 transition hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2 dark:focus:ring-offset-slate-950 sm:w-auto">
Crear cuenta gratis
{{ t.hero.ctaPrimary }}
<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="M5 12h14M12 5l7 7-7 7" />
</svg>
@@ -42,7 +42,7 @@
<path d="M3 12h4M17 12h4M12 3v4M12 17v4" />
<circle cx="12" cy="12" r="4" />
</svg>
Ver cómo funciona
{{ t.hero.ctaSecondary }}
</a>
</div>
</div>

View File

@@ -4,9 +4,9 @@
<section id="como-funciona" 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-16 sm:px-6 lg:px-8 lg:py-20">
<div class="mx-auto max-w-2xl text-center">
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">Cómo funciona</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">Empezá con tu primer grupo</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">Tres pasos para pasar de cero a tener tus grupos y cobros organizados.</p>
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">{{ t.howItWorks.eyebrow }}</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">{{ t.howItWorks.title }}</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">{{ t.howItWorks.subtitle }}</p>
</div>
<div class="mt-12 grid gap-10 sm:grid-cols-3 sm:gap-6">
@@ -14,30 +14,30 @@
<div class="relative text-center">
<div class="pointer-events-none absolute top-8 hidden h-px w-full bg-gradient-to-r from-brand-300 via-slate-300 to-brand-300 sm:left-1/2 sm:block dark:from-brand-700 dark:via-slate-700 dark:to-brand-700" aria-hidden="true"></div>
<div class="relative mx-auto flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 to-brand-700 text-2xl font-extrabold text-white shadow-lg shadow-brand-600/30">1</div>
<h3 class="mt-5 text-lg font-bold">Creá tu primer grupo</h3>
<p class="mx-auto mt-2 max-w-xs text-sm leading-relaxed text-slate-600 dark:text-slate-400">Registrate y definí el nombre, los días y el horario de las clases, el cupo máximo, el precio y el tipo de cobro (mensual o por clase).</p>
<h3 class="mt-5 text-lg font-bold">{{ t.howItWorks.steps[0].title }}</h3>
<p class="mx-auto mt-2 max-w-xs text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.howItWorks.steps[0].text }}</p>
</div>
<!-- Step 2 (connector on desktop) -->
<div class="relative text-center">
<div class="pointer-events-none absolute top-8 hidden h-px w-full bg-gradient-to-r from-brand-300 via-slate-300 to-brand-300 sm:left-1/2 sm:block dark:from-brand-700 dark:via-slate-700 dark:to-brand-700" aria-hidden="true"></div>
<div class="relative mx-auto flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 to-brand-700 text-2xl font-extrabold text-white shadow-lg shadow-brand-600/30">2</div>
<h3 class="mt-5 text-lg font-bold">Sumá participantes</h3>
<p class="mx-auto mt-2 max-w-xs text-sm leading-relaxed text-slate-600 dark:text-slate-400">Registrá a cada participante en el grupo donde participa y mantené sus datos y cobros ordenados.</p>
<h3 class="mt-5 text-lg font-bold">{{ t.howItWorks.steps[1].title }}</h3>
<p class="mx-auto mt-2 max-w-xs text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.howItWorks.steps[1].text }}</p>
</div>
<!-- Step 3 -->
<div class="relative text-center">
<div class="mx-auto flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 to-brand-700 text-2xl font-extrabold text-white shadow-lg shadow-brand-600/30">3</div>
<h3 class="mt-5 text-lg font-bold">Organizá tus actividades</h3>
<p class="mx-auto mt-2 max-w-xs text-sm leading-relaxed text-slate-600 dark:text-slate-400">Con las clases recurrentes definidas, manejá el día a día: cupos, participantes y cobros, y armá los encuentros especiales del mes.</p>
<h3 class="mt-5 text-lg font-bold">{{ t.howItWorks.steps[2].title }}</h3>
<p class="mx-auto mt-2 max-w-xs text-sm leading-relaxed text-slate-600 dark:text-slate-400">{{ t.howItWorks.steps[2].text }}</p>
</div>
</div>
<!-- CTA -->
<div class="mt-12 text-center">
<a href="{{ site.app.signup }}" class="inline-flex items-center justify-center gap-2 rounded-xl bg-brand-600 px-7 py-3.5 text-base font-semibold text-white shadow-xl shadow-brand-600/30 transition hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2 dark:focus:ring-offset-slate-950">
Crear mi cuenta gratis
{{ t.howItWorks.cta }}
<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="M5 12h14M12 5l7 7-7 7" /></svg>
</a>
</div>

View File

@@ -3,31 +3,32 @@
============================================================ -->
<section id="precios" class="mx-auto max-w-7xl px-4 py-16 sm:px-6 lg:px-8 lg:py-20">
<div class="mx-auto max-w-2xl text-center">
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">Precios</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">Planes simples para cada etapa</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">Empezá gratis y sumá capacidad cuando lo necesites.</p>
<p class="text-sm font-bold uppercase tracking-widest text-brand-600 dark:text-brand-400">{{ t.pricing.eyebrow }}</p>
<h2 class="mt-3 text-3xl font-extrabold tracking-tight sm:text-4xl">{{ t.pricing.title }}</h2>
<p class="mt-4 text-lg text-slate-600 dark:text-slate-400">{{ t.pricing.subtitle }}</p>
</div>
<div class="mt-10 grid gap-6 lg:mx-auto lg:max-w-3xl lg:grid-cols-2 lg:items-stretch">
{% for plan in pricing.plans %}
{% set copy = t.pricing.plans[loop.index0] %}
<div class="{% if plan.highlight %}relative flex flex-col rounded-2xl border-2 border-brand-500 bg-white p-8 shadow-2xl shadow-brand-500/20 dark:border-brand-400 dark:bg-slate-900{% else %}flex flex-col rounded-2xl border border-slate-200 bg-white p-8 dark:border-slate-800 dark:bg-slate-900{% endif %}">
{% if plan.highlight and plan.badge %}
<span class="absolute -top-4 left-1/2 -translate-x-1/2 rounded-full bg-gradient-to-r from-brand-500 to-brand-700 px-4 py-1.5 text-xs font-bold uppercase tracking-wide text-white shadow-lg shadow-brand-600/30">{{ plan.badge }}</span>
{% if plan.highlight and copy.badge %}
<span class="absolute -top-4 left-1/2 -translate-x-1/2 rounded-full bg-gradient-to-r from-brand-500 to-brand-700 px-4 py-1.5 text-xs font-bold uppercase tracking-wide text-white shadow-lg shadow-brand-600/30">{{ copy.badge }}</span>
{% endif %}
<h3 class="text-lg font-bold">{{ plan.name }}</h3>
<p class="mt-1 text-sm text-slate-600 dark:text-slate-400">{{ plan.tagline }}</p>
<p class="mt-1 text-sm text-slate-600 dark:text-slate-400">{{ copy.tagline }}</p>
<div class="mt-6 flex items-baseline gap-1">
<span class="price-usd text-4xl font-extrabold tracking-tight">{{ pricing.currencies.usd.symbol }} {{ plan.price.usd | formatPrice('usd') }}</span>
<span class="price-ars text-4xl font-extrabold tracking-tight">{{ pricing.currencies.ars.symbol }} {{ plan.price.ars | formatPrice('ars') }}</span>
<span class="text-sm font-medium text-slate-500 dark:text-slate-400">/mes</span>
<span class="text-sm font-medium text-slate-500 dark:text-slate-400">{{ t.pricing.perMonth }}</span>
</div>
<a href="{{ site.app.signup }}" class="mt-6 inline-flex w-full items-center justify-center rounded-xl {% if plan.ctaStyle == 'solid' %}bg-brand-600 px-6 py-3 text-sm font-semibold text-white shadow-lg shadow-brand-600/30 transition hover:bg-brand-700{% else %}border border-slate-300 bg-white px-6 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-50 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-100 dark:hover:bg-slate-800{% endif %}">{{ plan.cta }}</a>
<a href="{{ site.app.signup }}" class="mt-6 inline-flex w-full items-center justify-center rounded-xl {% if plan.ctaStyle == 'solid' %}bg-brand-600 px-6 py-3 text-sm font-semibold text-white shadow-lg shadow-brand-600/30 transition hover:bg-brand-700{% else %}border border-slate-300 bg-white px-6 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-50 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-100 dark:hover:bg-slate-800{% endif %}">{{ copy.cta }}</a>
<ul class="mt-8 space-y-3 text-sm text-slate-700 dark:text-slate-300">
{% for feature in plan.features %}
{% for feature in copy.features %}
<li class="flex items-start gap-3"><svg class="mt-0.5 h-5 w-5 shrink-0 text-emerald-500" 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>{{ feature }}</li>
{% endfor %}
</ul>
@@ -36,6 +37,6 @@
</div>
<p class="mt-8 text-center text-sm text-slate-500 dark:text-slate-400">
Valores mensuales. En Argentina se muestran en pesos (ARS) y en el resto de la región en dólares (USD).
{{ t.pricing.note }}
</p>
</section>

View File

@@ -19,17 +19,17 @@
"url": "{{ site.url }}/",
"name": "{{ site.name }}",
"publisher": { "@id": "{{ site.url }}/#organization" },
"inLanguage": "es-AR"
"inLanguage": [{% for l in locales %}"{{ l.htmlLang }}"{% if not loop.last %}, {% endif %}{% endfor %}]
},
{
"@type": "SoftwareApplication",
"@id": "{{ site.url }}/#software",
"@id": "{{ site.url }}{{ locale.path }}#software",
"name": "{{ site.name }}",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Web",
"url": "{{ site.url }}/",
"description": {{ (description or site.description) | json | safe }},
"inLanguage": "es-AR",
"url": "{{ site.url }}{{ locale.path }}",
"description": {{ t.meta.description | json | safe }},
"inLanguage": "{{ locale.htmlLang }}",
"offers": [
{% for plan in pricing.plans %}
{
@@ -37,63 +37,26 @@
"name": "{{ plan.name }}",
"price": "{{ plan.price.usd }}",
"priceCurrency": "USD",
"description": {{ plan.tagline | json | safe }}
"description": {{ t.pricing.plans[loop.index0].tagline | json | safe }}
}{% if not loop.last %},{% endif %}
{% endfor %}
]
},
{
"@type": "FAQPage",
"@id": "{{ site.url }}/#faq",
"@id": "{{ site.url }}{{ locale.path }}#faq",
"inLanguage": "{{ locale.htmlLang }}",
"mainEntity": [
{% for item in t.faq.items %}
{
"@type": "Question",
"name": "¿Para quién es Gruperly?",
"name": {{ item.q | json | safe }},
"acceptedAnswer": {
"@type": "Answer",
"text": "Para profesionales que trabajan con grupos de personas: profesores, personal trainers, instructores y perfiles similares que necesitan organizar grupos, participantes y cobros."
"text": {{ item.a | json | safe }}
}
},
{
"@type": "Question",
"name": "¿Cómo creo mi primer grupo?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Creás tu cuenta y definís el nombre del grupo, los días y el horario de las clases, el cupo máximo, el precio y el tipo de cobro (mensual o por clase). Después siempre podés editarlo."
}
},
{
"@type": "Question",
"name": "¿Cómo incorporo participantes?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Registrás a cada participante en el grupo donde participa con sus datos de contacto. Gruperly guarda esa información y sus cobros por grupo."
}
},
{
"@type": "Question",
"name": "¿Cómo se cobra a los participantes?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Por grupo definís un precio, un tipo de cobro (mensual o por clase) y un día de vencimiento. Cada cobro queda con un estado claro: al día, pendiente o atrasado."
}
},
{
"@type": "Question",
"name": "¿Qué diferencia hay entre actividades recurrentes y eventos especiales?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Las actividades recurrentes son las clases habituales de un grupo, con días y horarios repetidos. Los eventos especiales son workshops, talleres o encuentros puntuales, separados de las clases recurrentes."
}
},
{
"@type": "Question",
"name": "¿Necesito una cuenta para usar Gruperly?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Sí. Creás una cuenta con tu nombre, email y contraseña, y confirmás tu email desde el enlace de verificación."
}
}
}{% if not loop.last %},{% endif %}
{% endfor %}
]
}
]

7
src/index.11tydata.js Normal file
View File

@@ -0,0 +1,7 @@
// Expone el diccionario del idioma de cada página paginada como `t`
// (disponible en el layout y en todos los partials).
export default {
eleventyComputed: {
t: (data) => data.strings[data.locale.code],
},
};

View File

@@ -1,7 +1,10 @@
---
title: "Gruperly — Tus grupos, clases y participantes, en un solo lugar"
description: "Organizá tus actividades recurrentes, gestioná reservas y asistencia, y creá workshops o encuentros especiales con Gruperly."
layout: "base.njk"
pagination:
data: locales
size: 1
alias: locale
permalink: "{{ locale.path }}index.html"
---
{% include "partials/hero.njk" %}

View File

@@ -2,10 +2,16 @@
permalink: /sitemap.xml
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
{%- for loc in locales %}
<url>
<loc>{{ site.url }}/</loc>
<loc>{{ site.url }}{{ loc.path }}</loc>
{%- for alt in locales %}
<xhtml:link rel="alternate" hreflang="{{ alt.htmlLang }}" href="{{ site.url }}{{ alt.path }}" />
{%- endfor %}
<xhtml:link rel="alternate" hreflang="x-default" href="{{ site.url }}/" />
<changefreq>monthly</changefreq>
<priority>1.0</priority>
<priority>{% if loc.path == "/" %}1.0{% else %}0.9{% endif %}</priority>
</url>
{%- endfor %}
</urlset>