Files
corazoncp-landing/AGENTS.md
kiskaadee 3f39cc770c feat(nav): route Service Card 2 and nav link to /kundalini/
- `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
2026-11-30 04:48:50 -05:00

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.md and, 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 per docs/specs/kundalini-volver-a-ti-design.md.
  • Visual & a11y baseline: Mobile-first (375px to 1440px), 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 by scripts/html-partials-plugin.ts); edit them there, not inline. Any other structural, CSS class, asset, or design token change applied to index.html (Spanish default) must be mirrored with identical structural parity in en/index.html (English), maintaining localized copy, reciprocal hreflang tags, and language-specific WhatsApp inquiry strings. Exception: /kundalini/, /volver-a-ti/, and /descargo/ are temporarily Spanish-only until Milestone 1 Slice 5 (ROADMAP.md); no en/ mirrors are required for them yet.