From ff3faf6316ccc724101eca66b9546ec81489549e Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sun, 29 Nov 2026 00:53:22 -0500 Subject: [PATCH] docs(specs): add approved Kundalini Yoga & Volver a ti integration design - Document 4-route Spanish-only static integration (/, /kundalini/, /volver-a-ti/, /descargo/) - Specify build-time HTML partials plugin, single-tree mobile disclosure nav, and disclaimer gate - Define Phase 0-3 implementation plan, per-route OG metadata, and contract test requirements --- docs/specs/kundalini-volver-a-ti-design.md | 350 +++++++++++++++++++++ 1 file changed, 350 insertions(+) create mode 100644 docs/specs/kundalini-volver-a-ti-design.md diff --git a/docs/specs/kundalini-volver-a-ti-design.md b/docs/specs/kundalini-volver-a-ti-design.md new file mode 100644 index 0000000..3509d32 --- /dev/null +++ b/docs/specs/kundalini-volver-a-ti-design.md @@ -0,0 +1,350 @@ +# Kundalini Yoga & «Volver a ti» Landing Integration + +* **Author:** kiskaadee +* **Status:** Approved +* **Date:** 2026-11-27 + +-------------------------------------------------------------------------------- + +## Overview + +This design expands `landing/` (`corazoncp-landing`), the public website for **El Corazón como Portal** owned by practitioner **Azu (Azucena Sánchez)**, from a single-page site into a 4-page Spanish-only static site. The site builds with `Vite+` (`vp`, the Vite-based CLI configured in `landing/package.json`) and deploys to Cloudflare Pages. The parent workspace contains `landing/`, a sibling `drive/` repo mirrored from Google Drive, a gitignored `.internal/` staging folder, and organization-level `ROADMAP.md` and `AGENTS.md`. + +* `/` (`landing/index.html`): Updates Service Card 2 (*Clases de Kundalini Yoga y Acompañamientos*) to route to `/kundalini/` instead of opening WhatsApp directly. +* `/kundalini/` (`landing/kundalini/index.html`): Hub page presenting two paths—*Volver a ti* (linking to `/volver-a-ti/`) and *Clases grupales — Miércoles 6:30 PM* (placeholder state until Azu provides copy). +* `/volver-a-ti/` (`landing/volver-a-ti/index.html`): Dedicated program page presenting the approved copy from `drive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx`, a pre-payment disclaimer checkbox gating payment links, 0–2 static Ko-fi tier links, an ungated WhatsApp inquiry CTA, and a gated WhatsApp-routed Zelle CTA. +* `/descargo/` (`landing/descargo/index.html`): Small-text legal page (*Condiciones de participación y descargo de responsabilidad*) sourced from the bottom of the same `.docx`, linked from `/volver-a-ti/` and returning to `/volver-a-ti/#inscripcion`. + +## The Problem + +Azu currently answers Kundalini Yoga inquiries by pasting long program text directly into WhatsApp chats, and Service Card 2 on `landing/index.html` routes straight to WhatsApp with no intermediate context or direct shareable URL. Azu needs a shareable program page (`/volver-a-ti/`), a separate participation disclaimer page (`/descargo/`), and temporary payment options (Ko-fi and US Zelle) without introducing backend infrastructure, payment webhooks, new runtime dependencies, or personal banking identifiers in public HTML. + +## Goals + +* Provide Azu with a direct, shareable Spanish URL (`/volver-a-ti/`) and a two-path Kundalini Yoga hub (`/kundalini/`) reachable from Service Card 2 on `/`. +* Maintain consistent navigation across all 4 routes on desktop and mobile using shared build-time partials (header, footer, and floating WhatsApp button), root-relative links, explicit per-route active indicators, and a single-tree mobile disclosure menu with zero new runtime dependencies. +* Gate payment links (Ko-fi tier links and the WhatsApp Zelle link) on `/volver-a-ti/` behind an explicit disclaimer checkbox acknowledgment with an inline live-region status message and focus management when activated while unchecked, while keeping pre-purchase WhatsApp inquiry links ungated. +* Support `0, 1, or 2` Ko-fi payment links authored directly in `landing/volver-a-ti/index.html` alongside an ungated WhatsApp inquiry CTA and a gated WhatsApp-routed Zelle CTA so `/volver-a-ti/` can launch with `0` Ko-fi tiers before Azu finalizes `"Programa 1 y 2"`. +* Track per-path pageviews for `/kundalini/` and `/volver-a-ti/` (plus external referring hosts) via Cloudflare Pages auto-injected zero-cookie Web Analytics once enabled in the Pages project, with no application code (same-origin funnel attribution is out of scope for v1). + +## Non-Goals + +* Implementing backend APIs (`corazoncp-api`), payment gateway webhooks (Wompi/Stripe), databases, user authentication, or Zoom scheduling. +* Publishing final copy for Wednesday 6:30 PM group classes (held as a placeholder on `/kundalini/`). +* Implementing English (`/en/`) translations or bilingual routing for the new pages (deferred to Milestone 1 Slice 5 in `ROADMAP.md`). +* Tracking outbound clicks to Ko-fi or WhatsApp with cookies or third-party scripts. +* Applying the v2 full-site redesign (`drive/01-comunicacion/ideas/spec-rediseno-detallado.md`). + +## Open Questions + +* **Tier Names, Prices, and Ko-fi URLs (`"Programa 1 y 2"`)**: `"Programa 1 y 2"` is Azu's placeholder notation at the end of `drive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx` for two pending payment tiers of *Volver a ti*. Exact labels, prices, and Ko-fi URLs are pending Azu's response to her Google Form (`El Corazón como Portal — Decisiones Pendientes`). `/volver-a-ti/` can launch with `0` Ko-fi tiers and add 1–2 Ko-fi links in a follow-up HTML edit once confirmed. +* **Group Classes Copy**: Final copy for Wednesday 6:30 PM group classes is pending from Azu; `/kundalini/` will ship with a placeholder state for this second card. + +## Critical User Journeys (CUJs) + +### CUJ 1: Prospect explores Kundalini Yoga from `/` to `/volver-a-ti/` + +* **Given**: A visitor is on `/` (`landing/index.html`) on desktop or mobile. +* **When**: The visitor activates Service Card 2 (*Clases de Kundalini Yoga y Acompañamientos*), lands on `/kundalini/`, and activates *Volver a ti*. +* **Then**: The browser loads `/kundalini/` and `/volver-a-ti/` without 404 responses, root-relative header links resolve to their targets, the expected active-route indicator is set, and the mobile disclosure button toggles menu visibility. + +### CUJ 2: Prospect attempts payment before accepting the disclaimer + +* **Given**: A visitor is on `/volver-a-ti/` with JavaScript enabled and has not checked the participation/disclaimer checkbox. +* **When**: The visitor clicks or activates a Ko-fi tier link or the Zelle WhatsApp link. +* **Then**: Navigation is prevented, an inline live-region status message prompts the visitor to accept the conditions first, and focus moves to the disclaimer checkbox. Once checked (or restored via browser Back navigation), the disabled state is removed and the payment links navigate to their targets. The general WhatsApp inquiry link remains ungated at all times. + +### CUJ 3: Prospect reviews the participation conditions and disclaimer + +* **Given**: A visitor is on `/volver-a-ti/` and wants to read the conditions before checking the box. +* **When**: The visitor follows the hyperlink to `/descargo/` and then clicks the return link. +* **Then**: `/descargo/` renders the full participation conditions and liability disclaimer in small-text formatting, and the return link jumps to `/volver-a-ti/#inscripcion` with the target heading visible below the sticky header. + +## Technical Plan (Architecture) + +### 1. Multi-Page Entrypoints & URL Routing + +`landing/vite.config.ts` will configure four directory-index HTML entrypoints so `vp dev` and Cloudflare Pages serve identical trailing-slash URLs without rewrite middleware: + +* `/` → `landing/index.html` (Service Card 2 routes to `/kundalini/`) +* `/kundalini/` → `landing/kundalini/index.html` (*Volver a ti* card → `/volver-a-ti/` + placeholder *Clases grupales — Miércoles 6:30 PM* card) +* `/volver-a-ti/` → `landing/volver-a-ti/index.html` (full program copy from the `.docx`, `#inscripcion` payment/disclaimer block with 0–2 Ko-fi links, an ungated WhatsApp inquiry CTA, and a gated WhatsApp Zelle CTA) +* `/descargo/` → `landing/descargo/index.html` (small-text legal/participation disclaimer from the bottom of the same `.docx`, returning to `/volver-a-ti/#inscripcion`) + +### 2. Build-Time Partials & Single-Tree Mobile Navigation + +Shared `
`, `