Andrés Tróchez 9b95141933 chore(media): extract Volver a ti copy and prepare Kundalini media assets (#8)
* test(media): add Red contract checks for Volver a ti assets

- Add tests/media-assets.test.js asserting the five deterministic volver-a-ti-*.webp names, valid RIFF/WEBP headers, <=150 KB budgets, and pure-JS dimension bounds
- Assert og-kundalini.jpg is a valid <=300 KB JPEG at exactly 1200x630 so WhatsApp previews stay shareable
- Parse image headers in JavaScript so CI needs no system image binaries

Rationale: AC2/AC3 media constraints had no coverage; a failing Red test makes the Phase 0 deliverables falsifiable before any assets are generated.

* feat(media): add Volver a ti WebP assets from approved docx images

- Add volver-a-ti-hero.webp (1200x800, 82,946 bytes) from docx image5.png for the eager top hero
- Add volver-a-ti-proceso-inicial.webp (1200x655, 71,408 bytes), volver-a-ti-practica-personal.webp (1200x800, 45,024 bytes), volver-a-ti-diario.webp (1200x670, 71,528 bytes), and volver-a-ti-recursos.webp (900x900, 50,638 bytes) for below-the-fold sections
- Keep aspect ratios and deterministic role-based names; all five files stay under the 150 KB budget enforced by the new contract test

Rationale: the owner approved all five embedded docx images for public use; transcoding them locally gives Phase 2 pages explicit-width/height assets without third-party hotlinks.

* feat(media): add 1200x630 Open Graph JPEG for Kundalini routes

- Generate public/img/og-kundalini.jpg (1200x630, 78,861 bytes) with a center-cover crop from the approved kundalini-yoga.webp
- Stay under the 300 KB budget so WhatsApp link previews for /kundalini/ and /volver-a-ti/ are not dropped

Rationale: WhatsApp previews inconsistently render WebP thumbnails; a JPEG preview keeps the shareable program URL legible.
2026-11-29 16:30:36 -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).
  • Linting & Formatting: Biome (biome check .).
  • Contract Tests: Hermetic node:test suites (tests/*.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.

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%