mirror of
https://github.com/corazoncp/corazoncp-landing.git
synced 2026-12-01 04:30:31 +00:00
- `src/partials/header.html`: add `Kundalini Yoga` (`/kundalini/`, `data-nav-current="kundalini"`) link between `/#servicios` and `/#otros-espacios` - `index.html`: route Service Card 2 CTA in-tab to `/kundalini/` instead of `wa.me` - `AGENTS.md`: document `/kundalini/` routing and temporary Spanish-only routes ahead of Slice 5 - `tests/html-partials.test.js` & `tests/services-catalog.test.js`: update contract tests for `/kundalini/` nav link, `aria-current="page"` mapping, and Card 2 route
2.0 KiB
2.0 KiB
AGENTS.md: corazoncp-landing
Public landing page for El Corazón como Portal (corazoncp/corazoncp-landing, pull-mirrored to self-hosted Gitea).
# Planning Contract (owned by projects)
project_number: 1
Rules for working in this repo
- Acceptance criteria: Implement strictly against
docs/specs/landing-page-brief.mdand, for the/kundalini/,/volver-a-ti/, and/descargo/routes,docs/specs/kundalini-volver-a-ti-design.md. Never invent service copy, pricing, schedules, or contact numbers. - Static-first v1: Zero backend, database, authentication, payment, or scheduling API dependencies.
- Direct conversion: All primary and per-service CTAs route directly to WhatsApp (
wa.me) with URL-encoded pre-filled inquiry text, except Service Card 2 (Kundalini Yoga), which routes in-tab to the/kundalini/hub. The hub and program pages keep their WhatsApp/payment CTAs perdocs/specs/kundalini-volver-a-ti-design.md. - Visual & a11y baseline: Mobile-first (
375pxto1440px), WCAG AA contrast (>= 4.5:1), zero console errors, and grounded warm-neutral styling per approved brand assets (never pull raw/unapproved files from workspace.internal/). - Bilingual parity invariant (multi-page static): Shared header, footer, and WhatsApp FAB live in build-time partials (
src/partials/*, injected byscripts/html-partials-plugin.ts); edit them there, not inline. Any other structural, CSS class, asset, or design token change applied toindex.html(Spanish default) must be mirrored with identical structural parity inen/index.html(English), maintaining localized copy, reciprocalhreflangtags, and language-specific WhatsApp inquiry strings. Exception:/kundalini/,/volver-a-ti/, and/descargo/are temporarily Spanish-only until Milestone 1 Slice 5 (ROADMAP.md); noen/mirrors are required for them yet.