- 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
39 KiB
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 fromdrive/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 2Ko-fi payment links authored directly inlanding/volver-a-ti/index.htmlalongside an ungated WhatsApp inquiry CTA and a gated WhatsApp-routed Zelle CTA so/volver-a-ti/can launch with0Ko-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 inROADMAP.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 ofdrive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docxfor 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 with0Ko-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/#inscripcionwith 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,#inscripcionpayment/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 <header>, <footer>, and floating WhatsApp markup will be extracted into landing/src/partials/header.html, landing/src/partials/footer.html, and landing/src/partials/whatsapp-fab.html, and injected at build time by a standalone Vite plugin (landing/scripts/html-partials-plugin.ts):
- Dev HMR & route-key parity:
html-partials-plugin.tsruns before Vite's script/asset resolution, watches the partials directory forvp devreloads, and normalizes dev and build paths into one canonical route key. - Root-relative navigation & active-route mapping: Header links point to
/(brand link),/#servicios,/kundalini/,/#otros-espacios,/#acerca,/#filosofia, and/#contacto. Active-route marking (aria-current="page") follows an exact per-route rule: on/, the brand link receivesaria-current="page"; on/kundalini/, the/kundalini/nav link receivesaria-current="page"; on/volver-a-ti/and/descargo/,aria-current="page"is omitted from the top nav. - Sticky header offset: The stylesheet adds top scroll padding so hash jumps (including
/volver-a-ti/#inscripcionand/#servicios) do not land beneath the sticky header. - Single-tree mobile disclosure menu (
landing/src/scripts/nav-menu.js): Replaces the missing mobile navigation with a single<nav>tree toggled on narrow viewports by a native disclosure button (aria-expanded/aria-controls) and a vanilla JS class toggle (nav-menu.js). On375pxviewports, the menu expands as a full-width panel below the header row so the brand title is never compressed; on desktop viewports, responsive CSS keeps the navigation list visible with zero JS dependency.
3. Per-Route SEO & Open Graph Metadata Contract (WhatsApp Previews)
Because Azu's primary entry path is pasting /volver-a-ti/ directly into WhatsApp, every HTML entrypoint defines route-specific <title>, <meta name="description">, <link rel="canonical">, and Open Graph tags (og:type="website", og:locale="es_CO", og:title, og:description, og:url, og:image, og:image:width, og:image:height, og:image:alt). Because WhatsApp's preview scraper inconsistently drops .webp thumbnails, /kundalini/ and /volver-a-ti/ serve a dedicated JPEG preview (landing/public/img/og-kundalini.jpg, 1200x630, <= 300 KB); azu-hero.jpg and logo.png already exist in landing/public/img/:
| Route | <title> |
<link rel="canonical"> & og:url |
og:image |
|---|---|---|---|
/ |
El Corazón como Portal — Acompañamiento Consciente en Valledupar |
https://elcorazoncomoportal.com/ |
https://elcorazoncomoportal.com/img/azu-hero.jpg |
/kundalini/ |
Kundalini Yoga — El Corazón como Portal |
https://elcorazoncomoportal.com/kundalini/ |
https://elcorazoncomoportal.com/img/og-kundalini.jpg |
/volver-a-ti/ |
Volver a ti — Acompañamiento Personalizado en Kundalini Yoga |
https://elcorazoncomoportal.com/volver-a-ti/ |
https://elcorazoncomoportal.com/img/og-kundalini.jpg |
/descargo/ |
Condiciones de Participación y Descargo — El Corazón como Portal |
https://elcorazoncomoportal.com/descargo/ |
https://elcorazoncomoportal.com/img/logo.png |
Each route's og:description carries a route-specific Spanish summary (<= 160 characters). On / and /descargo/, keep metadata minimal (canonical + basic og:* tags only; no Schema.org JSON-LD or hreflang until Milestone 1 Slice 5). Cloudflare Pages auto-injected zero-cookie Web Analytics (already permitted by landing/public/_headers) reports per-path pageviews for /kundalini/ and /volver-a-ti/ plus external referring hosts; same-origin /kundalini/ → /volver-a-ti/ referrer attribution is out of scope for zero-cookie v1 analytics.
4. One-Time Manual .docx Extraction & Media Prep
Before authoring /volver-a-ti/ and /descargo/, a one-time manual step extracts text and embedded images from drive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx into the gitignored .internal/ staging folder using pandoc. External hotlinked URLs are dropped, approved images are transcoded to .webp (<= 150 KB) in landing/public/img/ using cwebp or ffmpeg with explicit dimensions, and landing/public/img/og-kundalini.jpg (1200x630, <= 300 KB) is generated for WhatsApp previews. Only the top hero image loads eagerly with high priority; below-the-fold images are lazy-loaded.
5. Payment Block & Disclaimer Gate (landing/src/scripts/volver-a-ti.js)
Inside #inscripcion in landing/volver-a-ti/index.html, payment links (0, 1, or 2 Ko-fi tier links plus the WhatsApp-routed Zelle link) and an ungated general WhatsApp inquiry link are authored directly in HTML with intact href attributes—keeping pricing content out of landing/vite.config.ts. In the 0-Ko-fi launch state, microcopy clarifies that Colombian and international visitors can coordinate enrollment and local payment via the WhatsApp inquiry link alongside US Zelle.
landing/src/scripts/volver-a-ti.js synchronizes the disabled state on the gated payment links (Ko-fi tiers and Zelle WhatsApp only; never the general inquiry link) from the checkbox state on both initial load and browser Back-Forward Cache (BFCache) restores. Activating a gated link while the checkbox is unchecked blocks navigation, announces an inline status message associated with the checkbox for screen readers, and moves focus to the checkbox. The pre-filled Zelle WhatsApp message includes an explicit clause stating that the sender read and accepted /descargo/.
6. End-to-End Route & Conversion Flow
flowchart LR
HOME["/ (Card 2)"] --> HUB["/kundalini/"]
HUB --> VOLVER["/volver-a-ti/"]
HUB --> GROUP["Clases grupales (Placeholder)"]
VOLVER -- "Read terms" --> DESCARGO["/descargo/"]
DESCARGO -- "Return link" --> INSCRIPCION["/volver-a-ti/#inscripcion"]
VOLVER -- "Ungated" --> INQUIRY["WhatsApp Inquiry Link"]
VOLVER -- "Checkbox unchecked (JS)" --> GATE["aria-live=polite prompt + focus checkbox"]
VOLVER -- "Checkbox checked" --> KOFI["Ko-fi Tier Link(s) (0..2)"]
VOLVER -- "Checkbox checked" --> ZELLE["WhatsApp Zelle Link (with acceptance clause)"]
Alternatives Considered
Alternative A: Flat HTML Entrypoints (kundalini.html, volver-a-ti.html, descargo.html)
- Pros: Produces extensionless
/kundaliniURLs on Cloudflare Pages without trailing slashes. - Cons:
vp devrequires.htmlextensions or custom dev-server rewrite middleware, creating dev-vs-production URL divergence and trailing-slash inconsistency for canonical links and analytics paths. - Reason for Rejection: Directory indexes (
kundalini/index.html,volver-a-ti/index.html,descargo/index.html) behave identically invp devand Cloudflare Pages with zero dev middleware.
Alternative B: External HTML Templating Plugin or Client-Side Web Components (<site-header>)
- Pros: External plugins (e.g., Handlebars/EJS) support full template loops; client-side web components avoid build hooks.
- Cons: External templating plugins add npm dependencies for a 4-page site; client-side custom elements ship extra JS and risk layout shift (CLS) before hydration.
- Reason for Rejection: A standalone build-time partial plugin (
landing/scripts/html-partials-plugin.ts) injects shared partials with zero runtime JS or extra template dependencies.
Alternative C: Popover API + Polyfill or Dual DOM role="menu" Mobile Navigation
- Pros: Popover API provides native top-layer dismissal; dual DOM trees are common in utility-CSS templates.
- Cons: Popover API on a single
<nav>requires@oddbird/popover-polyfill(new runtime dependency), CSSanchor()fallbacks, and desktop override/mutation complexity to avoid hiding desktop links; dual DOM trees duplicate markup and introducerole="menu"ARIA anti-patterns. - Reason for Rejection: A single-tree
<nav>with a native<button aria-expanded="false" aria-controls="site-menu">toggling the Tailwind.hiddenclass vianav-menu.jsachieves single-DOM accessibility with zero new npm dependencies.
Alternative D: Native <form> / formaction Gate Instead of <a> + JS Gate
- Pros: Enforces the disclaimer checkbox natively even without JavaScript.
- Cons: GET form submissions strip query strings from
formaction(requiring hidden inputs for WhatsApptext), submit buttons lose standard link behaviors ("Copy link address"), andformtarget="_blank"+rel="noopener noreferrer"behavior varies across browsers. - Reason for Rejection: Intact
<a href="...">links with runtime JSaria-disabledgating andpreventDefault()keep standard link semantics and avoid misleading non-JS screen readers.
Alternative E: Publishing Azu's Zelle Identifier Directly in HTML
- Pros: Fewer clicks for US visitors paying via Zelle.
- Cons: Exposes a personal banking-linked email or phone number in a public GitHub repository, inviting phishing/spam and violating
AGENTS.mdprivacy rules. - Reason for Rejection: Routing Zelle through a pre-filled WhatsApp message protects Azu's banking-linked PII while giving US visitors a direct Zelle inquiry path.
Risks & Mitigations
- Static-site disclaimer bypass & lack of server audit log: Because
landing/has no backend, disabling JavaScript, middle-clicking (auxclick), or opening a Ko-fi URL directly bypasses the checkbox without recording proof of acceptance. Mitigation: Include an explicit/descargo/acceptance clause in the pre-filled Zelle WhatsApp message, and align with Azu to reference/descargo/in Ko-fi tier descriptions or confirm acceptance on WhatsApp before the first session. - Existing repo contract & test-seam breakage: Routing Service Card 2 to
/kundalini/and extracting shared partials out oflanding/index.htmlalterslanding/AGENTS.mdinvariants (lines 13 and 15) and breakslanding/tests/hero-whatsapp.test.jsandlanding/tests/services-catalog.test.js(which currently read rawindex.html). Mitigation: Updatelanding/AGENTS.mdin the same slice, migrate both existing test files to assert against builtlanding/dist/index.html, add a Service Card 2/kundalini/assertion, and update Criterion 5 comments (4 cards + Hatha, with 9wa.melinks and 7 unique messages still satisfying>= 8and>= 7). - Client expectation on Zelle display:
drive/01-comunicacion/pendientes/2026-11-25-integracion-kundalini-volver-a-ti.mdasks Azu whether to display Zelle on-page or share it via WhatsApp, whereas this design keeps Zelle WhatsApp-routed to protect public repo privacy. Mitigation: Communicate the phishing/privacy rationale to Azu before launch so expectations match. - Manual
.docxsource drift: If Azu editsPrograma acompañamiento personalizado kundalini yoga.docxin Google Drive after extraction,volver-a-ti/index.htmlanddescargo/index.htmlwill not update automatically. Mitigation: Treatdrive/Git sync notifications as the trigger for manual copy updates.
Non-Functional Requirements
- Security & Privacy: Zero personal Zelle identifiers,
.internal/intake files, or unapproved photos may enterlanding/ordist/. All external links (ko-fi.com,wa.me) userel="noopener noreferrer". - Performance & Core Web Vitals: Transcoded
.webpassets stay<= 150 KBwith explicit dimensions to prevent CLS; only the top hero image loads eagerly with high priority, while below-the-fold images are lazy-loaded. - Accessibility (WCAG 2.1 AA): Support full keyboard-only navigation (
Tab,Shift+Tab,Enter,Escapeon the mobile menu), a>= 44pxtouch target on the disclaimer<label>,>= 3:1contrast for non-color active-route and:focus-visibleindicators, andprefers-reduced-motion: reduce. - Browser Compatibility & CSP (
landing/public/_headers): Progressive enhancement keeps desktop navigation visible without JS and keeps intacthrefattributes (free of misleadingaria-disabled="true") if JS fails. New ES modules (landing/src/scripts/nav-menu.js,landing/src/scripts/volver-a-ti.js) load as external'self'scripts with no inline scripts oronclickhandlers—complying withscript-src 'self'without relying on the existing'unsafe-inline'token inlanding/public/_headers(enforced by contract tests; removing'unsafe-inline'is deferred to a separate hardening slice). - Rollout & Rollback:
/volver-a-ti/can launch with0Ko-fi tiers (WhatsApp inquiry + Zelle-via-WhatsApp) and add 1–2 Ko-fi links once Azu confirms"Programa 1 y 2". Because all changes are static files inlanding/, rollback is a single git revert and Cloudflare Pages redeploy.
Detailed Implementation Plan
Work is partitioned into four incremental phases. Each phase in landing/ (corazoncp-landing) leaves the repository buildable, linted, and passing under vp build, node --test, and biome check ..
Per-Route Metadata Reference (All 4 Routes)
All 4 routes include <title>, <meta name="description">, <link rel="canonical">, og:type="website", og:locale="es_CO", og:title, og:description, og:url, og:image, og:image:width, og:image:height, and og:image:alt. No Schema.org JSON-LD or hreflang is added until Milestone 1 Slice 5.
| Route | <meta name="description"> & og:description |
og:image (width × height) |
og:image:alt |
|---|---|---|---|
/ |
Sal del automático. Abre tu corazón, recupera tu soberanía. Barras de Access®, Procesos de Cuerpo y Mentorías de Consciencia en Valledupar. |
https://elcorazoncomoportal.com/img/azu-hero.jpg (529 × 530) |
Azucena Sánchez, facilitadora de El Corazón como Portal |
/kundalini/ |
Explora los caminos de Kundalini Yoga con Seva Surpreet Kaur: acompañamiento personalizado Volver a ti y clases grupales. |
https://elcorazoncomoportal.com/img/og-kundalini.jpg (1200 × 630) |
Práctica de Kundalini Yoga con Seva Surpreet Kaur |
/volver-a-ti/ |
Volver a ti: acompañamiento personalizado de Kundalini Yoga para equilibrio físico, calma emocional y conexión interior. |
https://elcorazoncomoportal.com/img/og-kundalini.jpg (1200 × 630) |
Volver a ti — Acompañamiento personalizado de Kundalini Yoga |
/descargo/ |
Condiciones de participación y descargo de responsabilidad del programa Volver a ti de El Corazón como Portal. |
https://elcorazoncomoportal.com/img/logo.png (150 × 150) |
Emblema de El Corazón como Portal |
Phase 0: Manual Intake Extraction & Media Prep (Root Staging + landing/ Assets)
1. .internal/intake/volver-a-ti-extracted.md (Create — gitignored root workspace)
- Type / Scope: Local Intake Extraction (not committed to Git)
- Proposed Changes:
- Run a one-time
pandocextraction of text (including the bottom Condiciones de participación y descargo de responsabilidad section) and embedded images fromdrive/02-contenido/servicios/Programa acompañamiento personalizado kundalini yoga.docx. - Strip external hotlinked image URLs and verify all copy sections before authoring HTML.
- Run a one-time
2. landing/public/img/volver-a-ti-*.webp & landing/public/img/og-kundalini.jpg (Create — corazoncp-landing)
- Type / Scope: Static Media Assets
- Proposed Changes:
- Transcode approved
.docximages to.webp(<= 150 KBeach) usingcwebporffmpeg, recording pixel dimensions for explicitwidth/heightattributes. - Generate
landing/public/img/og-kundalini.jpg(1200×630,<= 300 KB) so WhatsApp's preview scraper does not drop.webpthumbnails. (azu-hero.jpgandlogo.pngalready exist inlanding/public/img/.)
- Transcode approved
Phase 0 Checkpoint: Extracted .md verified in .internal/intake/; all new .webp files <= 150 KB and og-kundalini.jpg 1200 × 630 (<= 300 KB).
Phase 1: Multi-Page Build Setup, Partials, Navigation & Existing Tests (corazoncp-landing)
3. landing/scripts/html-partials-plugin.ts (Create)
- Type / Scope: Standalone Vite Build Helper
- Proposed Changes:
- Import
type { Plugin } from 'vite-plus'and define atransformIndexHtmlhook withorder: 'pre'so partials expand before Vite processes scripts and assets. - Replace
<!-- @include src/partials/... -->markers forheader.html,footer.html, andwhatsapp-fab.html; throw an explicitErrorif any referenced partial file is missing. - Normalize both
ctx.path(dev) andctx.filename(build) into canonical route keys ('/','/kundalini/','/volver-a-ti/','/descargo/'). - Replace valid HTML attribute markers
data-nav-current="home"anddata-nav-current="kundalini"inheader.htmlwitharia-current="page"on the matching route (/or/kundalini/) and strip non-matching markers (so/volver-a-ti/and/descargo/omitaria-current="page"). - Register
path.resolve(root, 'src/partials')inconfigureServer(server)viaserver.watcher.add(...), and inhandleHotUpdatematchsrc/partials/edits to triggerserver.ws.send({ type: 'full-reload' })and return[]. Keep pricing HTML out of this plugin.
- Import
4. landing/vite.config.ts (Modify — Phase 1 entrypoint only)
- Type / Scope: Build Configuration
- Proposed Changes:
- Configure
build.rollupOptions.inputusingpath.resolve(import.meta.dirname, 'index.html')formainonly in Phase 1 (the three Phase 2 entrypoints are registered in Phase 2 once their HTML files exist). - Register
htmlPartialsPlugin()from./scripts/html-partials-plugin.ts. Keeplanding/package.jsonfree of new runtime dependencies.
- Configure
5. landing/src/partials/header.html, landing/src/partials/footer.html, landing/src/partials/whatsapp-fab.html (Create)
- Type / Scope: Build-Time HTML Partials
- Proposed Changes:
- Extract shared
<header>,<footer>, and floating WhatsApp button fromlanding/index.html. - Use root-relative links:
/on the brand link (withdata-nav-current="home"),/#servicios(Servicios),/kundalini/(Kundalini Yoga, withdata-nav-current="kundalini"),/#otros-espacios(Otros Espacios),/#acerca(Acerca de Azu),/#filosofia(Filosofía), and/#contacto(Contacto). - Add a native mobile disclosure toggle
<button type="button" aria-expanded="false" aria-controls="site-menu" aria-label="Abrir menú de navegación" class="min-h-[44px] min-w-[44px] md:hidden ...">with an inline SVG hamburger icon controlling<ul id="site-menu" class="hidden absolute inset-x-0 top-full ... md:static md:inset-auto md:flex ...">. - On
375pxviewports,#site-menuexpands out of flow below the header row without wrapping or shrinking the brand title.
- Extract shared
6. landing/src/scripts/nav-menu.js (Create)
- Type / Scope: Client ES Module (zero dependencies)
- Proposed Changes:
- Toggle the Tailwind
.hiddenCSS class viaclassList.toggle("hidden")(never the HTML booleanhiddenattribute, somd:flexkeeps desktop navigation visible) and synchronizearia-expandedon toggle button clicks. - Close on
Escape(returning focus to the toggle button) and close when a same-page hash link is activated (link.hash && link.pathname === window.location.pathname).
- Toggle the Tailwind
7. landing/src/style.css (Modify)
- Type / Scope: Stylesheet (Tailwind CSS v4)
- Proposed Changes:
- Add
html { scroll-padding-top: 5.5rem; }to clear the73px(py-4+h-10)sticky top-0 z-40header on hash jumps. - Add
a[aria-current="page"]non-color indicator (text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 2px;at>= 3:1contrast). - Add
:focus-visibleoutline (outline: 2px solid var(--color-emerald); outline-offset: 2px;). - Add
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }plus transition/animation reduction. - Add
accent-color: var(--color-emerald)andmin-height: 44pxtouch-target styling forlabel[for="accept-disclaimer"], and locked styling fora[aria-disabled="true"](opacity: 0.55; cursor: not-allowed;).
- Add
8. landing/index.html (Modify)
- Type / Scope: Home Page Entrypoint (
/) - Proposed Changes:
- Replace inline
<header>,<footer>, and floating WhatsApp markup with<!-- @include ... -->markers. - Add
<link rel="canonical">and Open Graph tags per the metadata table above. - Update Service Card 2 (Clases de Kundalini Yoga y Acompañamientos) CTA
hreffromwa.meto/kundalini/and removetarget="_blank"andrel="noopener noreferrer"so it navigates in-tab. - Include
<script type="module" src="/src/scripts/nav-menu.js"></script>(root-relative).
- Replace inline
9. landing/tests/hero-whatsapp.test.js & landing/tests/services-catalog.test.js (Modify)
- Type / Scope: Existing Contract Tests
- Proposed Changes:
- Migrate both files from reading source
index.htmlto asserting against builtdist/index.html(produced bypretest: "vp build"). - In
services-catalog.test.js, add a new assertion verifying Service Card 2 links to/kundalini/withouttarget="_blank". - Update Criterion 5 test title and comments from
(5 cards + Hatha)to(4 cards + Hatha)(9wa.melinks and 7 unique?text=messages remain, continuing to satisfy>= 8and>= 7).
- Migrate both files from reading source
Phase 1 Checkpoint: Run pnpm --dir landing build, pnpm --dir landing test, and pnpm --dir landing lint (confirming biome check . accepts partial fragments in landing/src/partials/*.html without modifying landing/biome.json). All existing tests pass on dist/index.html.
Phase 2: New Kundalini Routes, Disclaimer Gate & Contract Tests (corazoncp-landing)
10. landing/kundalini/index.html (Create)
- Type / Scope: Hub Page Entrypoint (
/kundalini/) - Proposed Changes:
- Include root-relative
<link rel="stylesheet" href="/src/style.css" />,<link rel="icon" type="image/png" href="/img/logo.png" />, Google Fonts links, shared partials, and<script type="module" src="/src/scripts/nav-menu.js"></script>. - Define route-specific
<title>,<meta name="description">,<link rel="canonical">, and Open Graph tags per the metadata table (og-kundalini.jpg,1200×630). - Render Card 1 (Volver a ti — Acompañamiento personalizado, using
/img/volver-a-ti-*.webpor/img/kundalini-yoga.webp) linking to/volver-a-ti/. - Render Card 2 (Clases grupales — Miércoles 6:30 PM, using
/img/kundalini-yoga.webp) with a non-interactivePróximamentebadge and an ungated WhatsApp interest link (https://wa.me/573215428972?text=Hola%20Azu,%20quiero%20recibir%20informaci%C3%B3n%20cuando%20abran%20las%20clases%20grupales%20de%20Kundalini%20Yoga%20de%20los%20mi%C3%A9rcoles.).
- Include root-relative
11. landing/volver-a-ti/index.html (Create)
- Type / Scope: Program Page Entrypoint (
/volver-a-ti/) - Proposed Changes:
- Include root-relative
/src/style.css,/img/logo.png, Google Fonts links, shared partials,<script type="module" src="/src/scripts/nav-menu.js"></script>, and<script type="module" src="/src/scripts/volver-a-ti.js"></script>. - Define route-specific
<title>,<meta name="description">,<link rel="canonical">, and Open Graph tags per the metadata table (og-kundalini.jpg,1200×630). - Render extracted program copy with
fetchpriority="high"(withoutloading="lazy") only on the top hero image andloading="lazy"on below-the-fold images, all with explicitwidth/height. - Add
#inscripcionsection containing:- Native
<input type="checkbox" id="accept-disclaimer" aria-describedby="disclaimer-status">paired with<label for="accept-disclaimer">He leído y acepto las condiciones de participación y el descargo de responsabilidad del programa.</label>(keeping the separate<a href="/descargo/">Leer condiciones y descargo de responsabilidad</a>link outside<label>). - Empty
<p id="disclaimer-status" aria-live="polite" role="status"></p>feedback region. 0..2Ko-fi tier<a>links authored directly in HTML with distinctlabel + pricetext,data-disclaimer-gate,target="_blank" rel="noopener noreferrer", and intacthref(no hardcodedaria-disabled="true").- Ungated WhatsApp inquiry
<a>link (nodata-disclaimer-gate) onhttps://wa.me/573215428972with?text=Hola%20Azu,%20quiero%20hacer%20una%20consulta%20sobre%20el%20acompa%C3%B1amiento%20Volver%20a%20ti.and microcopy noting local Colombia/international coordination in the0-Ko-fi state. - Gated WhatsApp Zelle
<a>link withdata-disclaimer-gate,target="_blank" rel="noopener noreferrer", onhttps://wa.me/573215428972with?text=Hola%20Azu,%20he%20le%C3%ADdo%20y%20acepto%20las%20condiciones%20de%20participaci%C3%B3n%20y%20el%20descargo%20de%20responsabilidad%20de%20Volver%20a%20ti,%20y%20quiero%20coordinar%20el%20pago%20por%20Zelle..
- Native
- Include root-relative
12. landing/src/scripts/volver-a-ti.js (Create)
- Type / Scope: Client ES Module (external
'self'script, no inline handlers) - Proposed Changes:
- Query
#accept-disclaimer,#disclaimer-status, and#inscripcion a[data-disclaimer-gate](leaving general WhatsApp inquiry and/descargo/links untouched). - Set or remove
aria-disabled="true"based oncheckbox.checkedon initialization, oncheckboxchange, and onwindowpageshow(preventing BFCache desync), without mutatinghref. - When a gated link is clicked while the checkbox is unchecked (
aria-disabled="true"), callpreventDefault(), set#disclaimer-statustext to"Por favor marca la casilla de aceptación antes de continuar.", and call.focus()on#accept-disclaimer. Clear#disclaimer-statuswhen the checkbox is checked.
- Query
13. landing/descargo/index.html (Create)
- Type / Scope: Legal / Disclaimer Entrypoint (
/descargo/) - Proposed Changes:
- Include root-relative
/src/style.css,/img/logo.png, Google Fonts links, shared partials, and<script type="module" src="/src/scripts/nav-menu.js"></script>. - Define route-specific
<title>,<meta name="description">,<link rel="canonical">, and Open Graph tags per the metadata table. - Render the full participation conditions and liability disclaimer extracted from the bottom of the
.docxin small-text formatting with a return link to/volver-a-ti/#inscripcion.
- Include root-relative
13b. landing/vite.config.ts (Modify — Register Phase 2 Entrypoints)
- Type / Scope: Build Configuration
- Proposed Changes:
- Add
kundalini(kundalini/index.html),volverATi(volver-a-ti/index.html), anddescargo(descargo/index.html) tobuild.rollupOptions.inputviapath.resolve(import.meta.dirname, ...)now that all three HTML entrypoints exist.
- Add
14. landing/tests/kundalini-routes.test.js (Create)
- Type / Scope: Build-Output & Contract Test (
node:test) - Proposed Changes:
- Verify
dist/contains all 4 built HTML pages (index.html,kundalini/index.html,volver-a-ti/index.html,descargo/index.html). - Verify each route has distinct
<title>,<meta name="description">,<link rel="canonical">, andog:*tags, including absolutehttps://elcorazoncomoportal.com/img/og-kundalini.jpg(1200×630) +og:image:alton/kundalini/and/volver-a-ti/. - Verify root-relative header links and exact per-route
aria-current="page"(/on brand link,/kundalini/on nav link, omitted on/volver-a-ti/and/descargo/). - Verify
dist/volver-a-ti/index.htmlDOM structure:- Contains
#inscripcion,#accept-disclaimerwitharia-describedby="disclaimer-status",#disclaimer-status, and/descargo/link outside<label>. - Contains ungated WhatsApp inquiry link and gated Zelle link (
data-disclaimer-gate) whosedecodeURIComponent?text=payload includes"he leído y acepto las condiciones de participación y el descargo de responsabilidad". - Contains
0 <= kofiLinks.length <= 2(each starting withhttps://ko-fi.com/withdata-disclaimer-gateandtarget="_blank" rel="noopener noreferrer"), with zero hardcodedaria-disabled="true".
- Contains
- Verify built
<script type="module" ... src="/assets/...">tags exist on all 4 pages and each referenced hashed.jsbundle exists underdist/assets/, with zero inlineonclickhandlers or inline<script>blocks. - Verify
dist/descargo/index.htmllinks back to/volver-a-ti/#inscripcion. - Run PII allowlist checks across built
.htmland.jsfiles indist/(excluding.js.mapsource maps and<svg>d="..."/xmlnsattributes): every matched email equalscontactocorazoncp@gmail.com, and every matched Colombian mobile or formatted US phone number normalizes to573215428972.
- Verify
Phase 2 Checkpoint: Run pnpm --dir landing build, pnpm --dir landing test, and pnpm --dir landing lint. All 3 test suites pass.
Phase 3: Documentation & Invariant Sync (Split Across Repos)
15. landing/README.md & landing/AGENTS.md (Modify — corazoncp-landing repo commit)
- Type / Scope: Child-Repo Documentation & Invariant Sync
- Proposed Changes:
- Update
landing/AGENTS.mdto record that Service Card 2 routes to/kundalini/and that build-time partials + 3 Spanish-only routes are active ahead of Slice 5. - Document the 4-route multi-page build structure and partial plugin in
landing/README.md.
- Update
16. ROADMAP.md (Modify — separate root corazoncp/.github repo commit)
- Type / Scope: Organization Hub Roadmap Sync
- Proposed Changes:
- Log
/kundalini/,/volver-a-ti/, and/descargo/under Milestone 1 Slice 5 bilingual parity tracking in rootROADMAP.md(committed separately in the root hub repo perAGENTS.mdmulti-repo boundary rules).
- Log
Verification Plan
- Build:
pnpm --dir landing build(vp build) succeeds and outputs all 4 HTML entrypoints and hashed JS/CSS assets underlanding/dist/. - Unit & Contract Tests:
pnpm --dir landing test(vp build && node --test tests/*.test.js) passes acrosshero-whatsapp.test.js,services-catalog.test.js, andkundalini-routes.test.js. - Static Analysis & Linting:
pnpm --dir landing lint(biome check .) passes with zero errors or warnings. - Manual Browser & Accessibility QA:
- Verify keyboard-only navigation (
Tab,Shift+Tab,Enter,Escapeon the mobile disclosure menu),375pxmobile menu layout without wrapping or shrinking the brand title, and>= 3:1contrast on:focus-visibleandaria-current="page". - Verify disclaimer gating on
/volver-a-ti/:- Clicking gated Ko-fi/Zelle links while unchecked triggers
#disclaimer-status(aria-live="polite") and focuses#accept-disclaimer. - Checking the box clears
#disclaimer-statusand enables navigation; the general WhatsApp inquiry link remains ungated. - Returning from
/descargo/via browser Back preserves synced state viapageshow. - With JavaScript disabled, links remain active without
aria-disabled="true".
- Clicking gated Ko-fi/Zelle links while unchecked triggers
- Verify
/descargo/returns to/volver-a-ti/#inscripcionwithout sticky-header overlap, confirm JPEG Open Graph preview tags on both/kundalini/and/volver-a-ti/, and confirm zero CSP console errors.
- Verify keyboard-only navigation (