Andrés Tróchez b5282483bb style(volver-a-ti): break card fatigue with pull-quote, 2-col checklist, 01-06 timeline, and hero framing (#18)
* test(volver-a-ti): add Red contract tests for issue #13 layout rhythm

- Add contract assertions for hero asymmetric framing and mobile-first DOM order
- Assert philosophy pull-quote without card border, 2-col checklist, 01-06 timeline, and balanced #inscripcion CTAs

* style(volver-a-ti): break card fatigue with pull-quote, 2-col checklist, 01-06 timeline, and hero framing

- Reorder hero image before intro prose in DOM for mobile (< 768px) with md:order-* desktop alignment and asymmetric organic rounding
- Replace philosophy card with centered max-w-2xl prose and border-y gold hairline italic pull-quote
- Convert 11-item checklist to md:grid-cols-2 with check icons and warm borderless tinted callout
- Replace 2x2 process grid with sequential 01-06 alternating timeline (02/03 typographic milestones; 01/04/05/06 16:10 photos)
- Balance #inscripcion CTAs with items-stretch and concise Zelle button label

* test(volver-a-ti): harden timeline alternation and philosophy slice assertions (CR-01, CR-02)

- Verify per-row alternating md:order-* classes on timeline rows 01, 04, 05, and 06 (CR-01)
- Slice philosophyChunk from blockStart so containerMatch reliably captures the outer wrapper (CR-02)
2026-11-30 15:20:25 -05:00

corazoncp-landing

Public website for El Corazón como Portal (Azucena Sánchez — Seva Surpreet Kaur), live at elcorazoncomoportal.com.


Purpose & Current Capabilities

A static-first, mobile-first Spanish website built to introduce Azu's holistic practice and convert visitors directly into WhatsApp Business conversations (+57 321 542 8972) without form friction:

  • Grounded Brand Narrative: Hero and section structure aligned with Azu's approved copy and brand palette (Porcelain Mist #F4F1EA, Gris Oscuro #303030).
  • Outcome-First Service Catalog: 5-card service grid and complementary paths with per-service pre-filled WhatsApp inquiry links.
  • Static Edge Delivery: Zero runtime JS dependencies or backend services on main; deployed automatically to Cloudflare Pages.

Technical Stack

  • Build & Dev: Vite+ (vp) with Tailwind CSS v4 (@tailwindcss/vite) and a build-time HTML partial plugin (scripts/html-partials-plugin.ts).
  • Linting & Formatting: Biome (biome check .).
  • Contract Tests: Hermetic node:test suites (tests/*.test.js: hero-whatsapp.test.js, services-catalog.test.js, html-partials.test.js, nav-menu.test.js, kundalini-routes.test.js, media-assets.test.js) asserting against built dist/ output via pretest: vp build.
  • Hosting & Security: Cloudflare Pages with static security headers (public/_headers) and public/robots.txt.

Multi-Page Structure

  • Routes (vite.config.ts): Four static HTML entrypoints built into dist/:
    • / (index.html) — Main landing page
    • /kundalini/ (kundalini/index.html) — Kundalini Yoga overview and class paths
    • /volver-a-ti/ (volver-a-ti/index.html) — «Volver a ti» program details and enrollment
    • /descargo/ (descargo/index.html) — Practice disclaimer and informed-consent terms
  • Shared Partials (src/partials/): header.html, footer.html, and whatsapp-fab.html, inlined at build time by scripts/html-partials-plugin.ts.
  • Client ES Modules (src/scripts/):
    • nav-menu.js — Mobile disclosure navigation behavior.
    • volver-a-ti.js — Disclaimer-acknowledgment gating for enrollment payment links on /volver-a-ti/.

Developer Commands

With Nix flakes and direnv enabled:

# Start local development server
direnv exec . pnpm dev

# Run automated contract tests (builds dist/ first via pretest)
direnv exec . pnpm test

# Run linter and formatter checks
direnv exec . pnpm lint

# Production build and local preview
direnv exec . pnpm build
direnv exec . pnpm preview

Repository Navigation

S
Description
No description provided
Readme
6.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 59.1%
HTML 32.8%
TypeScript 6.1%
CSS 1.2%
Nix 0.7%