diff --git a/README.md b/README.md index 6f34fb9..612ada8 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,53 @@ # corazoncp-landing -The public-facing marketing and discovery website for **El Corazón como Portal** (Azu Seva Surpreet Kaur). +The public-facing marketing and discovery website for **El Corazón como Portal** (Azucena Sánchez — Seva Surpreet Kaur). --- ## 🎯 Deliverable Objective -To deliver a high-converting, serene, and responsive mobile-first landing page this week that: -1. Conveys Azu's spiritual presence and core approach. -2. Curates her active offerings (Access Bars®, Body Process, Mentoring, Oidaterapia). -3. Connects prospective clients directly to a conversation via WhatsApp without form friction. +To deliver a high-converting, serene, and responsive mobile-first landing page that: +1. Conveys Seva Surpreet Kaur's grounded spiritual authority and journey from national television production to holistic therapies. +2. Curates her approved 5-card outcome-first service catalog (Oidaterapia, Kundalini Yoga, Barras de Access®, Procesos de Cuerpo, Meditaciones Personalizadas) and complementary paths. +3. Connects prospective clients directly to a conversation via WhatsApp (`+57 321 542 8972`) without form friction, backed by a serverless contact intake. -For full product specifications and acceptance criteria: [See Landing Page Brief](./docs/specs/landing-page-brief.md) +For full product specifications and acceptance criteria: +- [Landing Page Brief](./docs/specs/landing-page-brief.md) +- [Visual Canvas & Layout Specifications](./docs/specs/visual-canvas-and-layout.md) +- [Awwwards Creative Jury Critiques](./docs/specs/awwwards-critiques/) --- -## 🏗️ Technical Architecture +## 🏗️ Technical Architecture & Stack -- **Stack:** Static-first web application (Vite+ / Tailwind CSS / Biome). -- **Primary Conversion:** Direct WhatsApp links (`https://wa.me/573215428972?text=...`). -- **Deferred:** Appointment scheduling backend and payment gateway. +- **Toolchain:** Static-first web application powered by Vite+ (`vp`) with Tailwind CSS v4 design tokens. +- **Code Quality & Linter:** Biome (`biome check .`) for formatting and strict linting. +- **Testing:** Hermetic native Node.js test runner (`node:test`) validating structural invariants, conversion deep links, phone number isolation, and accessibility targets. +- **Hosting & CI/CD:** Deployed automatically to Cloudflare Pages on push; custom domain `elcorazoncomoportal.com`. + +--- + +## 💻 Developer Commands + +Running with Nix flakes and `direnv`: + +```bash +# Start local development server +direnv exec . pnpm dev + +# Run automated acceptance test suite (hermetic build + node:test) +direnv exec . pnpm test + +# Run linter and formatter +direnv exec . pnpm lint + +# Production build +direnv exec . pnpm build +``` + +--- + +## 🗺️ Project Tracking + +- Global organization board: [El Corazón como Portal — Roadmap](https://gitea.roadtotech.me/corazoncp/-/projects/5) +- Milestone: `v1-public-landing` diff --git a/docs/specs/landing-page-brief.md b/docs/specs/landing-page-brief.md index 3388c36..2ba2c6e 100644 --- a/docs/specs/landing-page-brief.md +++ b/docs/specs/landing-page-brief.md @@ -62,15 +62,17 @@ Prospective clients frequently experience the overwhelm, chronic stress, anxiety ### Section 02: Hero — Identity, Dual Modality & Immediate Action - **Visuals:** Warm sand/cream background, Azu's grounding portrait (`/img/azu-hero.jpg`), emerald green accent. -- **Photo Caption:** Typography scale increased for the quote accompanying the entrance photo to ensure prominent readability. +- **Photo Caption:** Typography scale locked to `text-sm` (14px) on mobile viewports to preserve fold integrity, and enlarged to `md:text-base lg:text-lg` on desktop for prominent readability. - **Eyebrow (Dual Modality):** `ACOMPAÑAMIENTO CONSCIENTE · VALLEDUPAR & ONLINE` - **Headline (Slogan):** *"Sal del automático. Abre tu corazón, recupera tu soberanía."* - **Approved Subtitle Copy Hook:** - > *«Acompañamiento integral para habitar tu cuerpo sin dolor, disipar el estrés, la ansiedad y el insomnio. Un espacio seguro para transitar procesos de sanación emocional profunda, recuperar tu vitalidad y liderar tu vida desde la soberanía».* + > *«Un respiro consciente frente al parloteo mental y la fatiga del sistema nervioso para abrir tu corazón a tu propia medicina interna.»* - **Primary CTA:** `[ Conversar por WhatsApp → ]` $\rightarrow$ triggers `https://wa.me/573215428972?text=Hola%20Azu,%20visité%20tu%20página%20y%20me%20gustaría%20conversar%20sobre%20tus%20sesiones.` - **Floating WhatsApp Anchor:** Persistent action button anchored at bottom-right with touch target $\ge 48$px. ### Section 03: Servicios & Acompañamiento (5 Discrete Cards) +- **Approved Section Subtitle Hook:** + > *«Acompañamiento integral para habitar tu cuerpo sin dolor, disipar el estrés, la ansiedad y el insomnio. Un espacio seguro para transitar procesos de sanación emocional profunda, recuperar tu vitalidad y liderar tu vida desde la soberanía».* *Sequence Rule (Client Approved Order):* 1. **Mentorías y Oidaterapia (Online & Presencial):** - *Headline / Impact:* Claridad emocional, discernimiento personal y revisión de encrucijadas de vida. Sesión principal online y presencial. @@ -100,24 +102,23 @@ Prospective clients frequently experience the overwhelm, chronic stress, anxiety - *Card CTA:* `[ Solicitar Meditación ]` $\rightarrow$ pre-filled WhatsApp text. ### Section 04: Caminos Complementarios (`EXPLORA OTROS ESPACIOS`) -- **Container Architecture:** Asymmetric 65/35 composition separating bodily practice from open community media: +- **Container Architecture:** Single unified full-width card layout integrating physical bodily practice with open media channels: - **Section Heading:** `EXPLORA OTROS ESPACIOS` with subtle gold and sage accents. - - **Panel A (65% Anchor — Clases de Hatha Yoga):** - - Large landscape photo (`hatha-yoga.webp` from `IMG_9204.CR2` / `WhatsApp Image 2025-12-17...`). + - **Part 1 (Physical Practice Anchor — Clases de Hatha Yoga):** + - Large landscape photo (`hatha-yoga.webp`). - Title: `Clases de Hatha Yoga (Personalizadas y Grupales)`. - Experience: Acompañamiento físico enfocado en alineación, respiración consciente y desbloqueo somático. - Primary CTA: `[ Conversar sobre Clases por WhatsApp → ]` $\rightarrow$ triggers dedicated WhatsApp inquiry. - - **Panel B (35% Quiet Panel — Recursos Abiertos):** - - Background: `Porcelain Mist` (`#F4F1EA`) with subtle `Sage` border. - - Eyebrow: `RECURSOS ABIERTOS`. - - Title: `Luz en tu Camino (YouTube & Podcast)`. - - Concise Description: *«Meditaciones abiertas para encontrar calma y reconectar contigo a tu propio ritmo.»* - - Media Notice: Próximamente disponible en Spotify. - - Secondary Link: `[ Explorar meditaciones → ]` $\rightarrow$ direct link to YouTube (`https://www.youtube.com/@Elcorazóncomoportal`). + - **Part 2 (Integrated Media Callout — YouTube & Podcast):** + - Background: `Porcelain Mist` (`#F4F1EA`) with subtle `Sage` divider. + - Cadence Header: `Escucha · Respira · Reconecta`. + - Description: *«Explora también las meditaciones abiertas en mi canal de YouTube para encontrar calma y reconectar a tu propio ritmo.»* + - Notice: Próximamente disponible en Spotify. + - Direct CTA: `[ Ver Meditaciones en YouTube ↗ ]` with official Simple Icons YouTube vector $\rightarrow$ `https://www.youtube.com/@Elcorazóncomoportal`. -### Section 05: Acerca de Seva Surpreet Kaur (Historia y Trayectoria) -- **Identidad del Encabezado:** Se retira "Azu" del título; se titula formalmente **`Seva Surpreet Kaur — Facilitadora de bienestar`**. -- **Fotografía:** Retrato con manos en namasté (`IMG_1994.HEIC`). +### Section 05: Acerca de Azucena Sánchez / Seva Surpreet Kaur (Historia y Trayectoria) +- **Identidad del Encabezado:** Se mantiene el nombre civil como titular principal **`Azucena Sánchez`** (H2). Se retira el prefijo "Azu" estrictamente de la línea de identidad espiritual, titulando **`Seva Surpreet Kaur — Facilitadora de bienestar`**. +- **Fotografía:** Retrato junto a su mentora Nam Nidhan Kaur (`IMG_1994.HEIC` $\rightarrow$ `namaste-bio.webp`). - **Narrativa Oficial Aprobada:** > *«Tras años de trayectoria profesional como directora y productora en la televisión nacional colombiana, comencé a escuchar un profundo sentimiento de vacío y agotamiento: la señal ineludible del piloto automático.* > @@ -138,7 +139,7 @@ Prospective clients frequently experience the overwhelm, chronic stress, anxiety - **Instagram:** `https://www.instagram.com/elcorazoncomoportal` (`@elcorazoncomoportal`) - **YouTube:** `https://www.youtube.com/@Elcorazóncomoportal` (`@Elcorazóncomoportal`) - **X (Twitter):** `https://x.com/Elcorazoncp` (`@Elcorazoncp`) - - **Dirección & Ubicación:** Calle 7 #19B-88 Apto 102, Valledupar, Colombia, 200005 (enlace a Google Maps `https://maps.app.goo.gl/FbaV2eRCWbsK8Hnt5` con `target="_blank" rel="noopener noreferrer"`). + - **Dirección & Ubicación:** Calle 7 #19B-88 Apto 102, Valledupar, Colombia, 200001 (enlace a Google Maps `https://maps.app.goo.gl/FbaV2eRCWbsK8Hnt5` con `target="_blank" rel="noopener noreferrer"`). - **Floating WhatsApp Anchor:** Persistent action button anchored at bottom-right with touch target $\ge 48$px. --- @@ -169,7 +170,7 @@ Prospective clients frequently experience the overwhelm, chronic stress, anxiety - `@type: LocalBusiness / HealthAndBeautyBusiness` - Name: *El Corazón como Portal* - Founder: *Seva Surpreet Kaur* - - Address: *Calle 7 #19B-88 Apto 102, Valledupar, Colombia, 200005* + - Address: *Calle 7 #19B-88 Apto 102, Valledupar, Colombia, 200001* - GeoCoordinates / AreaServed: *Valledupar, Colombia, and Global Virtual Sessions* - Offers: *Mentorías y Oidaterapia, Clases de Kundalini Yoga, Barras de Access®, Procesos de Cuerpo, Meditaciones Personalizadas* diff --git a/docs/specs/slice-3-disambiguation-and-reconciliation.md b/docs/specs/slice-3-disambiguation-and-reconciliation.md new file mode 100644 index 0000000..b44c6a2 --- /dev/null +++ b/docs/specs/slice-3-disambiguation-and-reconciliation.md @@ -0,0 +1,228 @@ +# Slice 3 Disambiguation, Reconciliation, and Correction Specification + +**Document Version:** 1.0.0 +**Target Slice:** Slice #3 Remediation (`feat/service-cards-slice-3`) +**Linked Gitea Entity:** [Issue #3](https://gitea.roadtotech.me/corazoncp/corazoncp-landing/issues/3) / [PR #15](https://gitea.roadtotech.me/corazoncp/corazoncp-landing/pulls/15) +**Status:** Canonical Requirement & Correction Blueprint + +--- + +## 1. Executive Summary & Root Cause Analysis + +Following the Slice #2 client review (*«Revisión de Avances: Slice #2»*), several agreed-upon adjustments were either improperly implemented, misallocated across milestone horizons, or introduced regressions during Slice #3. + +This audit documents the root causes of these deviations: + +1. **Review Document Misnomer (Item 1A)**: + - *Original Feedback*: Azu explicitly requested replacing the subtitle of **Servicios** (*«Respuestas concretas para el estrés crónico, el insomnio y la confusión emocional.»*). + - *Misnomer*: The review summary table mislabeled this item as *«1A - Subtítulo del Hero (Pantalla Inicial)»*. + - *Impact*: The implementation worker inserted this dense text into the Hero section (Section 02) creating stacked duplicate paragraphs, while leaving the rejected text literally present under Section 03 (`#servicios`, line 111). +2. **Underspecified Viewport Scope (Item 1B)**: + - *Original Agreement*: Increase the font size accompanying the entrance photo *on desktop*. + - *Impact*: The worker introduced `text-xs sm:text-sm md:text-base lg:text-lg`. On mobile screens (`< 640px`), the font shrank from the Slice 2 production baseline of `text-sm` (`0.875rem` / `14px`) down to `text-xs` (`0.75rem` / `12px`), causing a mobile readability regression. +3. **Artificial Slice Boundary Splitting (Items 1C, 1D, 1E)**: + - *Defect*: Static copywriting and naming updates for Section 05 (About) and Section 06 (Filosofía) were artificially deferred to Slice 4 under the assumption that photo transcoding (`IMG_1994.HEIC`) was a blocker. + - *Impact*: All photos (including `namaste-bio.webp`) were transcoded prior to Slice 3. Deferring these simple text updates left the site displaying the rejected civil name *«Azucena Sánchez»*, the old turban portrait, the invalid hybrid spiritual name *«Azu Seva...»*, truncated bio paragraphs, and *«Anahata Chakra»* directly beneath the freshly implemented service catalog. +4. **Suboptimal Layout & Affordance (Item 2F)**: + - *Defect*: The transition bridge *«Caminos Complementarios»* was implemented as an asymmetric 65/35 two-column pane. + - *Impact*: The 35% right panel was mostly empty white space, creating visual card fatigue beneath a 5-card grid, while lacking any recognizable YouTube visual branding. + +--- + +## 2. Reconciled Feature Matrix & Expected Corrections + +| Item | Section / Area | Defect in Slice #3 | Required Correction Specification | +| :--- | :--- | :--- | :--- | +| **1A** | Section 03 (`#servicios`) & Section 02 (Hero) | Text placed in Hero; rejected text still in Services L111. | **Section 03 L111**: Replace `Respuestas concretas...` with approved text:
*«Acompañamiento integral para habitar tu cuerpo sin dolor, disipar el estrés, la ansiedad y el insomnio. Un espacio seguro para transitar procesos de sanación emocional profunda, recuperar tu vitalidad y liderar tu vida desde la soberanía».*
**Section 02 (Hero)**: Restore clean single subtitle (*«Un respiro consciente frente al parloteo mental y la fatiga del sistema nervioso para abrir tu corazón a tu propia medicina interna.»*). | +| **1B** | Section 02 (Hero Quote Caption) | Mobile text shrank from `text-sm` to `text-xs`. | Update quote `

` classes to `font-serif italic text-sm md:text-base lg:text-lg text-forest/90 leading-relaxed`. Mobile remains locked at `text-sm` (`0.875rem` / `14px`). | +| **1C** | Section 05 (`#acerca`) | Outdated photo & hybrid spiritual name *«Azu Seva...»*. | 1. Replace `/img/azu-about.jpg` with `/img/namaste-bio.webp`.
2. Keep civil name H2: `Azucena Sánchez`.
3. Strip *"Azu"* from spiritual line: `Seva Surpreet Kaur — Facilitadora de bienestar`. | +| **1D** | Section 05 (`#acerca` Bio Paragraphs) | Omitted keywords and truncated closing clause. | Update the 3 paragraphs verbatim:
• Para 1: Colombian TV producer trajectory.
• Para 2: Include *Kundalini KRI* and *, Acceso a la consciencia*.
• Para 3: Include closing clause *, y con ello, contribuir al mundo que habitamos.* | +| **1E** | Section 06 (`#filosofia`) | Missing *«trascendental»* and still displays *«Anahata Chakra»*. | 1. Quote: Include *«sabiduría trascendental del corazón»*.
2. Eyebrow: Replace *«Anahata Chakra»* with *«El Corazón como Portal · Conecta con tu guía interno»*. | +| **1F** | Section 01 (Header Bar) | Translucent green tint wash contrast. | **VERIFIED SOLVED ✅**: Retain `bg-sage/15 backdrop-blur-md border-b border-sage/30`. | +| **2A–2E**| Section 03 (5 Service Cards) | Card order, staged assets, Access Bars® trademark. | **VERIFIED SOLVED ✅**: Retain 3+2 grid layout, individual WhatsApp CTAs, and registered trademark link. | +| **2F** | Section 04 (`#otros-espacios`) | 65/35 pane division is unbalanced; empty YouTube panel. | **Redesign into single full-width container**:
• Hatha Yoga practice anchor with `/img/hatha-yoga.webp` and dedicated WhatsApp CTA.
• Integrated atmospheric media strip (*«Escucha · Respira · Reconecta»*), text inviting to YouTube open meditations, official Simple Icons YouTube SVG vector, and *«Próximamente en Spotify»* badge. | +| **3A–3B**| Design Tokens & Typography | Google Fonts & Tailwind palette. | **VERIFIED SOLVED ✅**: Retain Playfair Display, Cormorant Garamond, Raleway, Porcelain Mist (`#f4f1ea`), and Gris Oscuro (`#303030`). | +| **4A** | Footer Channels | Facebook Fanpage presence. | **VERIFIED SOLVED ✅**: Retain official link to `https://www.facebook.com/elcorazoncomoportal/`. | + +--- + +## 3. Concrete Code Specifications + +### Section 02: Hero Subtitle & Quote Box +```html + +

+ Un respiro consciente frente al parloteo mental y la fatiga del sistema nervioso para abrir tu corazón a tu propia medicina interna. +

+ + +
+

+ “En tu cuerpo, mente y energía reside la medicina para sanarte.” +

+
+``` + +### Section 03: Services Subtitle +```html +

+ Servicios & Terapias +

+

+ Acompañamiento integral para habitar tu cuerpo sin dolor, disipar el estrés, la ansiedad y el insomnio. Un espacio seguro para transitar procesos de sanación emocional profunda, recuperar tu vitalidad y liderar tu vida desde la soberanía. +

+``` + +### Section 04: Unified Full-Width Caminos Complementarios +```html +
+
+
+ + Caminos Complementarios + +

+ Explora Otros Espacios +

+
+ + +
+ +
+
+ Práctica grupal de Hatha Yoga al aire libre guiada por Seva Surpreet Kaur +
+
+
+
+ + Práctica Corporal & Somática + + · + Presencial & Virtual +
+

+ Clases de Hatha Yoga (Personalizadas y Grupales) +

+

+ Acompañamiento físico enfocado en alineación, respiración consciente y desbloqueo somático. Una práctica enraizada y progresiva para liberar tensiones corporales crónicas y habitar tu postura desde la calma. +

+
+ +
+
+ + +
+
+ + Escucha · Respira · Reconecta + +

+ Explora también las meditaciones abiertas en mi canal de YouTube para encontrar calma y reconectar a tu propio ritmo. +

+
+
+ + + Próximamente en Spotify + + + + + Ver Meditaciones en YouTube ↗ + +
+
+
+
+
+``` + +### Section 05: Bio & Spiritual Name +```html +
+
+
+
+ Azucena Sánchez (Seva Surpreet Kaur) junto a su mentora Nam Nidhan Kaur +
+
+
+ + Conoce a tu Acompañante + +

+ Azucena Sánchez +

+

+ Seva Surpreet Kaur — Facilitadora de bienestar +

+
+

+ Tras años de trayectoria profesional como directora y productora en la televisión nacional colombiana, comencé a escuchar un profundo sentimiento de vacío y agotamiento: la señal ineludible del piloto automático. +

+

+ Decidí saltar al vacío, transitando mi propia noche oscura para reconectar con el cuerpo, aquietar la mente y estudiar tecnologías milenarias: Tantra, Yoga (RYT200 / Kundalini KRI), Humanología, Acceso a la consciencia y Oidaterapia. +

+

+ Hoy acompaño a personas no desde un mapa externo impuesto, sino facilitando que despiertes tu propia brújula interna y reconozcas que en tu propia energía reside la medicina para sanarte, y con ello, contribuir al mundo que habitamos. +

+
+
+
+
+``` + +### Section 06: Filosofía Banner +```html +
+
+
+ “Aquí no atendemos pacientes pasivos; impulsamos Animados: seres soberanos que eligen su propio bienestar y despiertan la sabiduría trascendental del corazón.” +
+ + El Corazón como Portal · Conecta con tu guía interno + +
+
+``` + +--- + +## 4. Verification Seam Assertions (`tests/services-catalog.test.js`) + +The test suite must assert the following falsifiable contracts: +1. `index.html` line 111 contains verbatim *«Acompañamiento integral para habitar tu cuerpo sin dolor...»*; zero occurrences of *"Respuestas concretas para el estrés crónico"*. +2. Section 02 Hero quote `

` contains classes `text-sm md:text-base lg:text-lg`. +3. Section 04 `#otros-espacios` contains `/img/hatha-yoga.webp`, *«Escucha · Respira · Reconecta»*, Simple Icons YouTube path vector, and valid YouTube link. Zero occurrences of `lg:grid-cols-12` split cards. +4. Section 05 `#acerca` renders `src="/img/namaste-bio.webp"`, H2 `Azucena Sánchez`, subtitle `Seva Surpreet Kaur — Facilitadora de bienestar` (without `"Azu Seva"`), and all 3 updated bio paragraphs (*Kundalini KRI*, *Acceso a la consciencia*, *contribuir al mundo que habitamos*). +5. Section 06 `#filosofia` contains *«sabiduría trascendental del corazón»* and *«Conecta con tu guía interno»*; zero occurrences of *«Anahata Chakra»*. +6. All tests pass hermetically: `direnv exec . pnpm test` and `direnv exec . pnpm lint`. diff --git a/index.html b/index.html index f68298e..c5a171c 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ @@ -33,15 +33,16 @@ -

+
Logo El Corazón como Portal - El Corazón como Portal + El Corazón como Portal
-

+

“En tu cuerpo, mente y energía reside la medicina para sanarte.”

@@ -100,53 +101,138 @@ Caminos de Bienestar -

+

Servicios & Terapias

-

- Respuestas concretas para el estrés crónico, el insomnio y la confusión emocional. +

+ Acompañamiento integral para habitar tu cuerpo sin dolor, disipar el estrés, la ansiedad y el insomnio. Un espacio seguro para transitar procesos de sanación emocional profunda, recuperar tu vitalidad y liderar tu vida desde la soberanía.

-
- -
+
+ +
- -
+ +
+
+ Clases de Kundalini Yoga y acompañamiento con respiración consciente +
+
+ Online & Presencial + Acompañamiento +
+

Clases de Kundalini Yoga y Acompañamientos

+
+

Vitalidad, respiración consciente, kriya y despertar de la energía interna frente al insomnio y la fatiga.

+
+

+ Tecnologías y kriyas orientadas a equilibrar el sistema glandular, fortalecer tu sistema nervioso y expandir tu presencia vital. +

+
+ + Consultar Kundalini Yoga → + +
+ + +
+
+
+ Sesión de Barras de Access en Valledupar para liberación de sobrecarga mental +
+
+ Presencial · Valledupar + 45 – 60 min +
+

Terapias Energéticas (Barras de Access®)

+
+

«Disipa carga mental y libera de creencias limitantes»

+
+

+ Técnica certificada internacionalmente por Access Consciousness®. +

+

+ Toques suaves sobre 32 puntos de la cabeza para disipar sobrecarga electromagnética. Te recuestas cómodamente mientras se aquieta el flujo de pensamientos recurrentes. +

+
+ + Consultar Barras de Access® → + +
+ + +
+
+
+ Sesión de Procesos de Cuerpo para alivio del dolor y ligereza somática +
Presencial · Valledupar 35 – 50 min
-

Procesos de Cuerpo

+

Procesos de Cuerpo

-

Vitalidad somática, descanso y reconciliación corporal.

+

«Liberando dolor y ligereza»

- Imposición de manos suave y energética sobre áreas clave del cuerpo. Ayuda a liberar memorias de fatiga o malestar retenidas en los tejidos, restaurando la sensación de ligereza. + Imposición somática no invasiva orientada al alivio del dolor físico y reconexión celular. Facilita la liberación de tensiones y memorias retenidas en los tejidos.

- Consultar Procesos → + Consultar Procesos de Cuerpo →
- -
+ +
-
- Presencial u Online - 50 – 70 min +
+ Meditaciones personalizadas grabadas a tu medida
-

Mentorías & Oidaterapia

+
+ Asíncrono · Audio Digital + A tu propio ritmo +
+

Meditaciones Personalizadas

-

Claridad emocional, discernimiento y sentido en encrucijadas.

+

Una herramienta sonora diseñada a la medida de tu estado emocional actual.

- Un diálogo profundo de escucha consciente para revisar dónde estás poniendo tu fe, desarmar creencias que te limitan y reactivar tu brújula interior ante decisiones cruciales. + Entrega asíncrona en audio guiado aproximadamente 2 días después de diligenciar una breve consulta reflexiva para acompañar tu proceso personal.

- Consultar Mentoría → + Solicitar Meditación →
- - -
-

- ¿Sientes que necesitas un momento para ti? -

-

- Conversemos directamente para encontrar la terapia que mejor resuene con lo que tu cuerpo y momento piden. -

- - Quiero agendar o recibir información - -
- + +
+
+
+ + Caminos Complementarios + +

+ Explora Otros Espacios +

+
+ + +
+ +
+
+ Práctica grupal de Hatha Yoga al aire libre guiada por Seva Surpreet Kaur +
+
+
+
+ + Práctica Corporal & Somática + + · + Presencial & Virtual +
+

+ Clases de Hatha Yoga (Personalizadas y Grupales) +

+

+ Acompañamiento físico enfocado en alineación, respiración consciente y desbloqueo somático. Una práctica enraizada y progresiva para liberar tensiones corporales crónicas y habitar tu postura desde la calma. +

+
+ +
+
+ + +
+
+ + Escucha · Respira · Reconecta + +

+ Explora también las meditaciones abiertas en mi canal de YouTube para encontrar calma y reconectar a tu propio ritmo. +

+
+
+ + + Próximamente en Spotify + + + + + Ver Meditaciones en YouTube ↗ + +
+
+
+
+
+ +
Azu Seva en meditación @@ -222,40 +384,40 @@ Conoce a tu Acompañante -

+

Azucena Sánchez

- Azu Seva Surpreet Kaur — Facilitadora de bienestar integral y practicante certificada. + Seva Surpreet Kaur — Facilitadora de bienestar

Tras años de trayectoria profesional como directora y productora en la televisión nacional colombiana, comencé a escuchar un profundo sentimiento de vacío y agotamiento: la señal ineludible del piloto automático.

- Decidí saltar al vacío, transitando mi propia noche oscura para reconectar con el cuerpo, aquietar la mente y estudiar tecnologías milenarias: Tantra, Yoga (RYT200 / KRI), Humanología y Oidaterapia. + Decidí saltar al vacío, transitando mi propia noche oscura para reconectar con el cuerpo, aquietar la mente y estudiar tecnologías milenarias: Tantra, Yoga (RYT200 / Kundalini KRI), Humanología, Acceso a la consciencia y Oidaterapia.

- Hoy acompaño a personas no desde un mapa externo impuesto, sino facilitando que despiertes tu propia brújula interna y reconozcas que en tu propia energía reside la medicina para sanarte. + Hoy acompaño a personas no desde un mapa externo impuesto, sino facilitando que despiertes tu propia brújula interna y reconozcas que en tu propia energía reside la medicina para sanarte, y con ello, contribuir al mundo que habitamos.

- +
- “Aquí no atendemos pacientes pasivos; impulsamos Animados: seres soberanos que eligen su propio bienestar y despiertan la sabiduría del corazón.” + “Aquí no atendemos pacientes pasivos; impulsamos Animados: seres soberanos que eligen su propio bienestar y despiertan la sabiduría trascendental del corazón.”
- El Corazón como Portal · Anahata Chakra + El Corazón como Portal · Conecta con tu guía interno
- +
@@ -264,7 +426,7 @@ Empecemos una Conversación -

+

Contacto Directo

@@ -276,7 +438,7 @@ rel="noopener noreferrer" class="inline-flex items-center justify-center gap-3 rounded-full bg-emerald px-8 py-4 text-sm font-semibold text-ivory shadow-lg shadow-emerald/25 transition hover:bg-forest hover:shadow-xl" > - Escribir al WhatsApp Business + Conversar por WhatsApp →

@@ -294,7 +456,7 @@ rel="noopener noreferrer" class="group inline-block transition hover:text-emerald" > - Calle 7 #19B-88 Apto 102, Valledupar, Colombia, 200005
+ Calle 7 #19B-88 Apto 102, Valledupar, Colombia, 200001
(Atención presencial y a domicilio)

@@ -305,7 +467,7 @@ 📱
-

WhatsApp Business Oficial

+

WhatsApp Directo

Redes & Comunidad

+ + Facebook + + · Instagram @@ -363,6 +529,47 @@ diff --git a/package.json b/package.json index 483b9b6..2f59440 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "dev": "vp dev", "build": "vp build", "preview": "vp preview", + "pretest": "vp build", "test": "node --test tests/*.test.js", "lint": "biome check .", "lint:fix": "biome check --write .", diff --git a/public/img/barras-access.webp b/public/img/barras-access.webp index babb239..2c7ecac 100644 Binary files a/public/img/barras-access.webp and b/public/img/barras-access.webp differ diff --git a/public/img/namaste-bio.webp b/public/img/namaste-bio.webp index 04d8cec..9659d95 100644 Binary files a/public/img/namaste-bio.webp and b/public/img/namaste-bio.webp differ diff --git a/src/style.css b/src/style.css index 4fa242e..10abaef 100644 --- a/src/style.css +++ b/src/style.css @@ -6,9 +6,12 @@ --color-emerald: #185844; --color-sage: #78947f; --color-gold: #b08a4f; + --color-porcelain-mist: #f4f1ea; + --color-gris-oscuro: #303030; + --font-display: "Playfair Display", Georgia, serif; --font-serif: "Cormorant Garamond", Georgia, serif; - --font-sans: "Plus Jakarta Sans", sans-serif; + --font-sans: "Raleway", sans-serif; } body { diff --git a/tests/services-catalog.test.js b/tests/services-catalog.test.js new file mode 100644 index 0000000..0e8afde --- /dev/null +++ b/tests/services-catalog.test.js @@ -0,0 +1,446 @@ +import assert from 'node:assert/strict'; +import fs from 'node:fs'; +import path from 'node:path'; +import test from 'node:test'; + +const indexPath = path.resolve('index.html'); +const indexHtml = fs.readFileSync(indexPath, 'utf-8'); + +const cssPath = path.resolve('src/style.css'); +const styleCss = fs.readFileSync(cssPath, 'utf-8'); + +test('Slice 3 Acceptance Criteria: 5-Card Catalog, Brand Tokens & Complementary Paths', async (t) => { + await t.test( + 'Criterion 1: Brand System Integrity (Google Fonts loaded, Tailwind @theme color tokens)', + () => { + // 1. Google Fonts loaded in index.html + assert.match( + indexHtml, + /fonts\.googleapis\.com\/css2\?[^"]*family=Playfair\+Display/i, + 'index.html must load Playfair Display from Google Fonts', + ); + assert.match( + indexHtml, + /fonts\.googleapis\.com\/css2\?[^"]*family=Cormorant\+Garamond/i, + 'index.html must load Cormorant Garamond from Google Fonts', + ); + assert.match( + indexHtml, + /fonts\.googleapis\.com\/css2\?[^"]*family=Raleway/i, + 'index.html must load Raleway from Google Fonts', + ); + + // 2. Custom color tokens in src/style.css @theme + assert.match( + styleCss, + /--color-porcelain-mist:\s*#f4f1ea/i, + 'src/style.css must define --color-porcelain-mist: #f4f1ea in @theme', + ); + assert.match( + styleCss, + /--color-gris-oscuro:\s*#303030/i, + 'src/style.css must define --color-gris-oscuro: #303030 in @theme', + ); + + // 3. Typography mappings in @theme + assert.match( + styleCss, + /Playfair Display/i, + 'src/style.css must reference Playfair Display for headings', + ); + assert.match( + styleCss, + /Cormorant Garamond/i, + 'src/style.css must reference Cormorant Garamond for card headings', + ); + assert.match(styleCss, /Raleway/i, 'src/style.css must reference Raleway for body/ui'); + }, + ); + + await t.test( + 'Criterion 2: Hero & Header Polish (contrast wash, clean subtitle hook, enlarged quote text-sm/md/lg)', + () => { + // 1. Sticky Navigation Bar with translucent green tint wash + const headerMatch = indexHtml.match(/]*class="([^"]*)"/i); + assert.ok(headerMatch, 'Header must exist with class attribute'); + const headerClasses = headerMatch[1]; + assert.match(headerClasses, /sticky/i, 'Header must be sticky'); + assert.match( + headerClasses, + /(bg-sage\/\d+|bg-emerald\/\d+)/i, + 'Header must use translucent green tint wash (bg-sage/* or bg-emerald/*)', + ); + assert.match(headerClasses, /backdrop-blur/i, 'Header must retain backdrop-blur'); + assert.match(headerClasses, /border-b/i, 'Header must have border-b'); + + // 2. Hero Subtitle single clean hook + const heroSection = indexHtml.match(/
/)?.[0]; + assert.ok(heroSection, 'Hero section must exist'); + + const expectedHeroHook = + 'Un respiro consciente frente al parloteo mental y la fatiga del sistema nervioso para abrir tu corazón a tu propia medicina interna.'; + assert.ok( + heroSection.includes(expectedHeroHook), + 'Hero must include approved single clean subtitle hook', + ); + assert.ok( + !heroSection.includes('Acompañamiento integral para habitar tu cuerpo sin dolor'), + 'Hero must not contain dense multi-service copy (moved to Section 03)', + ); + + // 3. Quote Caption scale (desktop enlarged md:text-base/lg:text-lg, mobile text-sm without text-xs) + const quoteBlock = heroSection.match(/]*rounded-2xl[^>]*>[\s\S]*?<\/div>/i)?.[0]; + assert.ok(quoteBlock, 'Quote callout block must exist near portrait in Hero'); + assert.match( + quoteBlock, + /text-sm\s+md:text-base\s+lg:text-lg/, + 'Quote caption must scale from text-sm on mobile to md:text-base and lg:text-lg on desktop', + ); + assert.ok( + !quoteBlock.includes('text-xs'), + 'Quote caption must not contain text-xs to prevent mobile readability regression', + ); + }, + ); + + await t.test( + 'Criterion 3: 5-Card Outcome-First Services Grid with balanced 3+2 architecture & reconciled subtitle', + () => { + const serviciosSection = indexHtml.match(/
/)?.[0]; + assert.ok(serviciosSection, 'Section #servicios must exist'); + + // Subtitle with sanación emocional profunda & zero Respuestas concretas + const expectedServicesSubtitle = + 'Acompañamiento integral para habitar tu cuerpo sin dolor, disipar el estrés, la ansiedad y el insomnio. Un espacio seguro para transitar procesos de sanación emocional profunda, recuperar tu vitalidad y liderar tu vida desde la soberanía.'; + assert.ok( + serviciosSection.includes(expectedServicesSubtitle), + 'Section #servicios must contain approved subtitle with "sanación emocional profunda"', + ); + assert.ok( + !indexHtml.includes('Respuestas concretas para el estrés crónico'), + 'Document must have zero occurrences of rejected phrase "Respuestas concretas para el estrés crónico"', + ); + + // 5 approved image assets in order + const expectedAssets = [ + 'oidaterapia.webp', + 'kundalini-yoga.webp', + 'barras-access.webp', + 'procesos-cuerpo.webp', + 'meditaciones.webp', + ]; + + for (const asset of expectedAssets) { + assert.ok( + serviciosSection.includes(asset), + `Section #servicios must include service card image ${asset}`, + ); + } + + // 5 approved service card titles in order + const serviceTitles = [ + /Mentorías y Oidaterapia/i, + /Kundalini Yoga/i, + /Barras de Access®/i, + /Procesos de Cuerpo/i, + /Meditaciones Personalizadas/i, + ]; + + let lastIndex = 0; + for (const titleRegex of serviceTitles) { + const match = serviciosSection.slice(lastIndex).match(titleRegex); + assert.ok( + match, + `Service card title matching ${titleRegex} must appear in order in Section #servicios`, + ); + lastIndex += match.index + match[0].length; + } + + // Check 3+2 grid layout: 6-column grid on md/lg and 2 centered cards on row 2 + assert.match( + serviciosSection, + /(grid-cols-1.*md:grid-cols-6|md:grid-cols-6)/, + 'Services grid must use 6-column layout on desktop (md:grid-cols-6)', + ); + assert.match( + serviciosSection, + /md:col-start-2/, + 'Row 2 first card must use md:col-start-2 to center the 2 cards in 6-column grid', + ); + }, + ); + + await t.test('Criterion 4: Trademark and Authority Link for Barras de Access®', () => { + const serviciosSection = indexHtml.match(/
/)?.[0]; + assert.ok(serviciosSection, 'Section #servicios must exist'); + + // Registered trademark symbol + assert.match( + serviciosSection, + /Barras de Access®/, + 'Must include registered trademark symbol ® in Barras de Access®', + ); + + // Authority link to official Access Consciousness site + const linkMatch = serviciosSection.match( + /]+href="https:\/\/www\.accessconsciousness\.com\/bars"[^>]*>[\s\S]*?<\/a>/i, + ); + assert.ok(linkMatch, 'Must contain authority link to https://www.accessconsciousness.com/bars'); + assert.match( + linkMatch[0], + /target="_blank"/i, + 'Authority link must open in new tab (target="_blank")', + ); + assert.match( + linkMatch[0], + /rel="noopener noreferrer"/i, + 'Authority link must include rel="noopener noreferrer"', + ); + }); + + await t.test('Criterion 5: Contextual WhatsApp CTAs & Phone Invariant (5 cards + Hatha)', () => { + const phone = '573215428972'; + + // Find all WhatsApp links in the document + const waLinks = [...indexHtml.matchAll(/href="(https:\/\/wa\.me\/[^"]+)"/gi)].map((m) => m[1]); + + // Must have at least 8 WhatsApp links: floating, hero, 5 cards, hatha, contact + assert.ok(waLinks.length >= 8, `Expected at least 8 WhatsApp links, found ${waLinks.length}`); + + const uniqueMessages = new Set(); + + for (const link of waLinks) { + assert.ok( + link.startsWith(`https://wa.me/${phone}`), + `All WhatsApp links must route strictly to https://wa.me/${phone}`, + ); + + // Ensure no raw unencoded spaces in href + assert.ok(!link.includes(' '), `WhatsApp URL must not contain unencoded spaces: ${link}`); + + const url = new URL(link); + const text = url.searchParams.get('text'); + if (text) { + uniqueMessages.add(text); + } + } + + // Check that 5 service cards and Hatha Yoga have unique messages + assert.ok( + uniqueMessages.size >= 7, + `Expected at least 7 distinct contextual inquiry messages, found ${uniqueMessages.size}`, + ); + + // Verify phone invariant across entire document + const phoneMatches = indexHtml.matchAll(/(?:\+?57)?[ -]?(3\d{2}[ -]?\d{3}[ -]?\d{4})/g); + for (const match of phoneMatches) { + const rawDigits = match[0].replace(/\D/g, ''); + const normalized = rawDigits.startsWith('57') ? rawDigits : `57${rawDigits}`; + assert.equal( + normalized, + phone, + `Found unauthorized phone number: ${match[0]} (only ${phone} allowed)`, + ); + } + }); + + await t.test( + 'Criterion 6: Reconciled Caminos Complementarios (Section 04: single container & media strip)', + () => { + const otrosEspaciosSection = indexHtml.match( + /
/, + )?.[0]; + assert.ok(otrosEspaciosSection, 'Section #otros-espacios must exist'); + + // Heading Explora Otros Espacios + assert.match( + otrosEspaciosSection, + /Explora Otros Espacios/i, + 'Section must have heading Explora Otros Espacios', + ); + + // Single full-width container & absence of legacy split grid classes + assert.ok( + otrosEspaciosSection.includes( + 'overflow-hidden rounded-3xl border border-sage/30 bg-ivory shadow-xl', + ), + 'Section 04 must use single full-width container', + ); + assert.ok( + !otrosEspaciosSection.includes('lg:col-span-8'), + 'Section 04 must not contain legacy split grid class lg:col-span-8', + ); + assert.ok( + !otrosEspaciosSection.includes('lg:col-span-4'), + 'Section 04 must not contain legacy split grid class lg:col-span-4', + ); + + // Part 1: Hatha Yoga anchor + assert.match( + otrosEspaciosSection, + /hatha-yoga\.webp/, + 'Complementary paths must include hatha-yoga.webp', + ); + assert.match( + otrosEspaciosSection, + /Clases de Hatha Yoga \(Personalizadas y Grupales\)/, + 'Must include title: Clases de Hatha Yoga (Personalizadas y Grupales)', + ); + assert.match( + otrosEspaciosSection, + /alineación.*respiración consciente.*desbloqueo somático/s, + 'Hatha Yoga copy must mention alignment, conscious breathing, and somatic release', + ); + assert.match( + otrosEspaciosSection, + /Conversar sobre Clases por WhatsApp/, + 'Hatha Yoga CTA must have text "Conversar sobre Clases por WhatsApp"', + ); + + // Part 2: Integrated media strip + assert.match( + otrosEspaciosSection, + /bg-porcelain-mist/, + 'Media strip must use bg-porcelain-mist styling', + ); + assert.match( + otrosEspaciosSection, + /Escucha · Respira · Reconecta/, + 'Media strip must contain cadence header "Escucha · Respira · Reconecta"', + ); + assert.match( + otrosEspaciosSection, + /meditaciones abiertas en mi canal de YouTube/i, + 'Media strip must invite to YouTube open meditations', + ); + assert.match( + otrosEspaciosSection, + /Próximamente en Spotify/i, + 'Media strip must mention upcoming Spotify availability', + ); + assert.match( + otrosEspaciosSection, + /https:\/\/www\.youtube\.com\/@Elcoraz(?:%C3%B3|[oó])ncomoportal/i, + 'Media strip must link to official YouTube channel', + ); + + // Simple Icons YouTube SVG vector + const youtubeSvgPath = + 'M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'; + assert.ok( + otrosEspaciosSection.includes(youtubeSvgPath), + 'Media strip must render the official Simple Icons YouTube SVG path vector', + ); + }, + ); + + await t.test( + 'Criterion 7: Footer Channels (Facebook Fanpage with target="_blank" and rel="noopener noreferrer")', + () => { + const footerMatch = indexHtml.match(//i)?.[0]; + assert.ok(footerMatch, 'Footer element must exist'); + + const fbLinkMatch = footerMatch.match( + /]+href="https:\/\/www\.facebook\.com\/elcorazoncomoportal\/"[^>]*>[\s\S]*?<\/a>/i, + ); + assert.ok( + fbLinkMatch, + 'Footer must contain official Facebook Fanpage link: https://www.facebook.com/elcorazoncomoportal/', + ); + assert.match( + fbLinkMatch[0], + /target="_blank"/i, + 'Facebook link in footer must have target="_blank"', + ); + assert.match( + fbLinkMatch[0], + /rel="noopener noreferrer"/i, + 'Facebook link in footer must have rel="noopener noreferrer"', + ); + }, + ); + + await t.test( + 'Criterion 8: Build and Lint Hygiene (dist artifacts exist and reflect slice changes)', + () => { + const distHtmlPath = path.resolve('dist/index.html'); + assert.ok(fs.existsSync(distHtmlPath), 'dist/index.html must exist from build'); + const distHtml = fs.readFileSync(distHtmlPath, 'utf-8'); + assert.match( + distHtml, + /Explora Otros Espacios/i, + 'Built HTML must contain Explora Otros Espacios', + ); + assert.ok( + distHtml.includes('Mentorías y Oidaterapia'), + 'Built HTML must contain Mentorías y Oidaterapia', + ); + }, + ); + + await t.test('Criterion 9: Bio & Philosophy Reconciled Integrity', () => { + // Section 05: Acerca de + const acercaSection = indexHtml.match(/
/)?.[0]; + assert.ok(acercaSection, 'Section #acerca must exist'); + + assert.ok( + acercaSection.includes('src="/img/namaste-bio.webp"'), + 'Section #acerca must use namaste-bio.webp', + ); + assert.match( + acercaSection, + /alt="Azucena Sánchez \(Seva Surpreet Kaur\) junto a su mentora Nam Nidhan Kaur"/, + 'Section #acerca must include descriptive alt text with mentor Nam Nidhan Kaur', + ); + assert.match( + acercaSection, + /]*>\s*Azucena Sánchez\s*<\/h2>/, + 'Section #acerca must display civil name H2: Azucena Sánchez', + ); + assert.match( + acercaSection, + /Seva Surpreet Kaur — Facilitadora de bienestar/, + 'Section #acerca must display spiritual name without "Azu" prefix', + ); + assert.ok( + !acercaSection.includes('Azu Seva'), + 'Section #acerca must not include rejected hybrid name "Azu Seva"', + ); + + // Bio paragraphs verbatim keywords + assert.match( + acercaSection, + /directora y productora en la televisión nacional colombiana.*piloto automático/s, + 'Bio paragraph 1 must describe Colombian TV trajectory and autopilot', + ); + assert.match( + acercaSection, + /Kundalini KRI.*Acceso a la consciencia.*Oidaterapia/s, + 'Bio paragraph 2 must include Kundalini KRI and Acceso a la consciencia', + ); + assert.match( + acercaSection, + /despiertes tu propia brújula interna.*contribuir al mundo que habitamos/s, + 'Bio paragraph 3 must include inner compass and closing clause on contributing to the world', + ); + + // Section 06: Filosofía + const filosofiaSection = indexHtml.match(/
/)?.[0]; + assert.ok(filosofiaSection, 'Section #filosofia must exist'); + + assert.match( + filosofiaSection, + /sabiduría trascendental del corazón/, + 'Filosofía quote must contain "sabiduría trascendental del corazón"', + ); + assert.match( + filosofiaSection, + /El Corazón como Portal · Conecta con tu guía interno/, + 'Filosofía eyebrow must contain "El Corazón como Portal · Conecta con tu guía interno"', + ); + assert.ok( + !filosofiaSection.includes('Anahata Chakra'), + 'Filosofía eyebrow must not contain "Anahata Chakra"', + ); + }); +});