mirror of
https://github.com/corazoncp/corazoncp-landing.git
synced 2026-12-01 04:30:31 +00:00
fix(slice-3): reconcile client review feedback across hero, services, paths, bio, and philosophy
This commit is contained in:
1 parent
818c0bdc0a
commit
157d2c37c5
2 files changed
+235
-115
No files matched your search
+78
-76
@@ -63,10 +63,7 @@
|
||||
<h1 class="font-display text-4xl leading-tight sm:text-5xl lg:text-6xl text-forest font-semibold mb-6">
|
||||
Sal del automático. Abre tu corazón, recupera tu soberanía.
|
||||
</h1>
|
||||
<p class="text-base sm:text-lg text-forest/90 leading-relaxed max-w-xl mb-4 font-normal">
|
||||
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.
|
||||
</p>
|
||||
<p class="text-sm sm:text-base text-forest/80 leading-relaxed max-w-xl mb-8">
|
||||
<p class="text-base sm:text-lg text-forest/90 leading-relaxed max-w-xl mb-8">
|
||||
Un respiro consciente frente al parloteo mental y la fatiga del sistema nervioso para abrir tu corazón a tu propia medicina interna.
|
||||
</p>
|
||||
<a
|
||||
@@ -89,7 +86,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="mt-4 md:mt-0 md:absolute md:-bottom-6 md:-left-6 rounded-2xl border border-gold/40 bg-ivory p-4 shadow-xl max-w-xs">
|
||||
<p class="font-serif italic text-xs sm:text-sm md:text-base lg:text-lg text-forest/90 leading-relaxed">
|
||||
<p class="font-serif italic text-sm md:text-base lg:text-lg text-forest/90 leading-relaxed">
|
||||
“En tu cuerpo, mente y energía reside la medicina para sanarte.”
|
||||
</p>
|
||||
</div>
|
||||
@@ -107,8 +104,8 @@
|
||||
<h2 class="font-display text-3xl sm:text-4xl lg:text-5xl font-semibold text-forest mb-4">
|
||||
Servicios & Terapias
|
||||
</h2>
|
||||
<p class="text-forest/80 text-base sm:text-lg">
|
||||
Respuestas concretas para el estrés crónico, el insomnio y la confusión emocional.
|
||||
<p class="text-forest/80 text-base sm:text-lg max-w-3xl mx-auto">
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -285,94 +282,99 @@
|
||||
</section>
|
||||
|
||||
<!-- Section 04: Caminos Complementarios / Explora Otros Espacios -->
|
||||
<section id="otros-espacios" class="py-16 md:py-24 border-b border-sage/20 bg-ivory">
|
||||
<section id="otros-espacios" class="py-16 md:py-24 bg-sage/5 border-y border-sage/20">
|
||||
<div class="mx-auto max-w-6xl px-6">
|
||||
<div class="mb-12">
|
||||
<div class="text-center max-w-3xl mx-auto mb-12">
|
||||
<span class="inline-block text-xs font-bold uppercase tracking-widest text-gold mb-2">
|
||||
Caminos Complementarios
|
||||
</span>
|
||||
<h2 class="font-display text-3xl sm:text-4xl lg:text-5xl font-semibold text-forest">
|
||||
EXPLORA OTROS ESPACIOS
|
||||
Explora Otros Espacios
|
||||
</h2>
|
||||
<div class="mt-3 h-1 w-20 bg-gradient-to-r from-gold to-sage rounded-full"></div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 lg:grid-cols-12 gap-8 items-stretch">
|
||||
<!-- Panel A (65% Anchor: Hatha Yoga) -->
|
||||
<div class="lg:col-span-8 flex flex-col justify-between rounded-3xl border border-sage/30 bg-white/70 p-6 sm:p-8 shadow-sm overflow-hidden">
|
||||
<div>
|
||||
<div class="overflow-hidden rounded-2xl aspect-[16/9] mb-6 bg-sage/10">
|
||||
<img
|
||||
src="/img/hatha-yoga.webp"
|
||||
alt="Clase de Hatha Yoga al aire libre con alineación y respiración consciente"
|
||||
class="h-full w-full object-cover transition duration-300 hover:scale-105"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div class="flex items-center justify-between text-xs font-bold uppercase tracking-wider text-gold mb-3">
|
||||
<span>Práctica Corporal & Somática</span>
|
||||
<span>Presencial & Virtual</span>
|
||||
</div>
|
||||
<h3 class="font-serif text-2xl sm:text-3xl font-bold text-forest mb-3">
|
||||
Clases de Hatha Yoga (Personalizadas y Grupales)
|
||||
</h3>
|
||||
<p class="text-forest/85 text-sm sm:text-base leading-relaxed mb-6">
|
||||
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.
|
||||
</p>
|
||||
<!-- Single Full-Width Container -->
|
||||
<div class="overflow-hidden rounded-3xl border border-sage/30 bg-ivory shadow-xl">
|
||||
<!-- Part 1: Hatha Yoga Anchor -->
|
||||
<div class="grid grid-cols-1 lg:grid-cols-12 items-center">
|
||||
<div class="lg:col-span-7 h-72 sm:h-96 lg:h-full min-h-[300px]">
|
||||
<img
|
||||
src="/img/hatha-yoga.webp"
|
||||
alt="Práctica grupal de Hatha Yoga al aire libre guiada por Seva Surpreet Kaur"
|
||||
class="h-full w-full object-cover"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<a
|
||||
href="https://wa.me/573215428972?text=Hola%20Azu,%20me%20gustar%C3%ADa%20conversar%20sobre%20las%20Clases%20de%20Hatha%20Yoga."
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="inline-flex w-full sm:w-auto items-center justify-center gap-3 rounded-full bg-emerald px-8 py-3.5 text-sm font-semibold text-ivory shadow-md transition hover:bg-forest"
|
||||
>
|
||||
<span>Conversar sobre Clases por WhatsApp</span>
|
||||
<span>→</span>
|
||||
</a>
|
||||
<div class="p-8 sm:p-10 lg:col-span-5 flex flex-col justify-between">
|
||||
<div>
|
||||
<div class="flex items-center gap-2 mb-3">
|
||||
<span class="text-xs font-bold uppercase tracking-wider text-emerald">
|
||||
Práctica Corporal & Somática
|
||||
</span>
|
||||
<span class="text-xs text-forest/40">·</span>
|
||||
<span class="text-xs font-medium text-forest/60">Presencial & Virtual</span>
|
||||
</div>
|
||||
<h3 class="font-serif text-2xl sm:text-3xl font-bold text-forest mb-4">
|
||||
Clases de Hatha Yoga (Personalizadas y Grupales)
|
||||
</h3>
|
||||
<p class="text-sm sm:text-base text-forest/80 leading-relaxed mb-6 font-sans">
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<a
|
||||
href="https://wa.me/573215428972?text=Hola%20Azu,%20me%20gustar%C3%ADa%20conversar%20sobre%20las%20Clases%20de%20Hatha%20Yoga."
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="inline-flex items-center justify-center rounded-full bg-emerald px-6 py-3.5 text-sm font-semibold text-ivory shadow-md transition hover:bg-forest"
|
||||
>
|
||||
<span>Conversar sobre Clases por WhatsApp →</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Panel B (35% Quiet Panel: Recursos Abiertos) -->
|
||||
<div class="lg:col-span-4 flex flex-col justify-between rounded-3xl border border-sage/40 bg-porcelain-mist p-6 sm:p-8 shadow-sm">
|
||||
<div>
|
||||
<span class="inline-block text-xs font-bold uppercase tracking-widest text-gold mb-3">
|
||||
RECURSOS ABIERTOS
|
||||
<!-- Part 2: Integrated Media Strip (YouTube & Spotify) -->
|
||||
<div class="border-t border-sage/25 bg-porcelain-mist p-6 sm:p-8 flex flex-col md:flex-row items-center justify-between gap-6">
|
||||
<div class="text-center md:text-left">
|
||||
<span class="block font-display text-lg sm:text-xl font-semibold text-forest mb-1">
|
||||
Escucha · Respira · Reconecta
|
||||
</span>
|
||||
<h3 class="font-serif text-2xl sm:text-3xl font-bold text-forest mb-4">
|
||||
Luz en tu Camino (YouTube & Podcast)
|
||||
</h3>
|
||||
<p class="text-forest/85 text-sm sm:text-base leading-relaxed mb-6 italic">
|
||||
«Meditaciones abiertas para encontrar calma y reconectar contigo a tu propio ritmo.»
|
||||
<p class="text-xs sm:text-sm text-forest/80 max-w-xl">
|
||||
Explora también las meditaciones abiertas en mi canal de YouTube para encontrar calma y reconectar a tu propio ritmo.
|
||||
</p>
|
||||
<div class="rounded-xl border border-sage/20 bg-white/60 p-4 mb-6">
|
||||
<p class="text-xs text-forest/75 flex items-center gap-2">
|
||||
<span class="inline-block h-2 w-2 rounded-full bg-emerald shrink-0"></span>
|
||||
<span>Próximamente disponible en Spotify con meditaciones y reflexiones abiertas.</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<a
|
||||
href="https://www.youtube.com/@Elcoraz%C3%B3ncomoportal"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="inline-flex w-full items-center justify-center gap-2 rounded-full border border-forest/30 bg-white px-6 py-3 text-center text-sm font-semibold text-forest transition hover:bg-forest hover:text-ivory shadow-sm"
|
||||
>
|
||||
<span>Explorar meditaciones →</span>
|
||||
</a>
|
||||
<div class="flex flex-wrap items-center justify-center gap-4">
|
||||
<span class="inline-flex items-center gap-1.5 text-xs font-medium text-forest/70 bg-sage/15 px-3 py-1.5 rounded-full border border-sage/30">
|
||||
<span class="inline-block w-2 h-2 rounded-full bg-emerald"></span>
|
||||
Próximamente en Spotify
|
||||
</span>
|
||||
<a
|
||||
href="https://www.youtube.com/@Elcoraz%C3%B3ncomoportal"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="inline-flex items-center gap-2 rounded-full bg-forest px-5 py-2.5 text-xs sm:text-sm font-semibold text-ivory shadow transition hover:bg-emerald"
|
||||
>
|
||||
<!-- Simple Icons YouTube SVG -->
|
||||
<svg class="h-4 w-4 fill-red-500" viewBox="0 0 24 24" role="img" aria-hidden="true">
|
||||
<path d="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"/>
|
||||
</svg>
|
||||
<span>Ver Meditaciones en YouTube ↗</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 05: Acerca de Azu (reserved for Slice 4) -->
|
||||
<!-- Section 05: Acerca de Azucena Sánchez / Seva Surpreet Kaur -->
|
||||
<section id="acerca" class="py-16 md:py-24">
|
||||
<div class="mx-auto grid max-w-6xl items-center gap-12 px-6 md:grid-cols-12">
|
||||
<div class="md:col-span-5">
|
||||
<div class="overflow-hidden rounded-3xl border border-sage/30 shadow-xl aspect-[4/5] bg-sage/10">
|
||||
<img
|
||||
src="/img/azu-about.jpg"
|
||||
alt="Azu Seva en meditación"
|
||||
src="/img/namaste-bio.webp"
|
||||
alt="Azucena Sánchez (Seva Surpreet Kaur) junto a su mentora Nam Nidhan Kaur"
|
||||
class="h-full w-full object-cover"
|
||||
loading="lazy"
|
||||
/>
|
||||
@@ -386,31 +388,31 @@
|
||||
Azucena Sánchez
|
||||
</h2>
|
||||
<p class="font-serif italic text-lg sm:text-xl text-emerald mb-6">
|
||||
Azu Seva Surpreet Kaur — Facilitadora de bienestar integral y practicante certificada.
|
||||
Seva Surpreet Kaur — Facilitadora de bienestar
|
||||
</p>
|
||||
<div class="space-y-4 text-forest/85 leading-relaxed text-sm sm:text-base">
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 06: Filosofía (reserved for Slice 4) -->
|
||||
<!-- Section 06: Filosofía -->
|
||||
<section id="filosofia" class="bg-forest py-16 md:py-24 text-center text-ivory">
|
||||
<div class="mx-auto max-w-4xl px-6">
|
||||
<blockquote class="font-serif italic text-2xl sm:text-3xl lg:text-4xl leading-snug mb-6 text-ivory/95">
|
||||
“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.”
|
||||
</blockquote>
|
||||
<span class="inline-block text-xs font-bold uppercase tracking-widest text-gold">
|
||||
El Corazón como Portal · Anahata Chakra
|
||||
El Corazón como Portal · Conecta con tu guía interno
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
+157
-39
@@ -58,7 +58,7 @@ test('Slice 3 Acceptance Criteria: 5-Card Catalog, Brand Tokens & Complementary
|
||||
);
|
||||
|
||||
await t.test(
|
||||
'Criterion 2: Hero & Header Polish (contrast wash, verbatim subtitle with "profunda", enlarged quote)',
|
||||
'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(/<header[^>]*class="([^"]*)"/i);
|
||||
@@ -73,39 +73,54 @@ test('Slice 3 Acceptance Criteria: 5-Card Catalog, Brand Tokens & Complementary
|
||||
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 verbatim copy hook with "profunda"
|
||||
// 2. Hero Subtitle single clean hook
|
||||
const heroSection = indexHtml.match(/<section id="hero"[\s\S]*?<\/section>/)?.[0];
|
||||
assert.ok(heroSection, 'Hero section must exist');
|
||||
|
||||
const expectedHook =
|
||||
'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.';
|
||||
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(expectedHook),
|
||||
'Hero must include approved verbatim copy hook containing "sanación emocional profunda"',
|
||||
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-xs/sm:text-sm)
|
||||
// 3. Quote Caption scale (desktop enlarged md:text-base/lg:text-lg, mobile text-sm without text-xs)
|
||||
const quoteBlock = heroSection.match(/<div[^>]*rounded-2xl[^>]*>[\s\S]*?<\/div>/i)?.[0];
|
||||
assert.ok(quoteBlock, 'Quote callout block must exist near portrait in Hero');
|
||||
assert.match(
|
||||
quoteBlock,
|
||||
/(md:text-base|lg:text-lg)/,
|
||||
'Quote caption must have desktop enlargement typography (md:text-base or lg:text-lg)',
|
||||
/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.match(
|
||||
quoteBlock,
|
||||
/(text-xs|text-sm)/,
|
||||
'Quote caption must retain compact mobile typography (text-xs or text-sm)',
|
||||
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',
|
||||
'Criterion 3: 5-Card Outcome-First Services Grid with balanced 3+2 architecture & reconciled subtitle',
|
||||
() => {
|
||||
const serviciosSection = indexHtml.match(/<section id="servicios"[\s\S]*?<\/section>/)?.[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',
|
||||
@@ -230,55 +245,91 @@ test('Slice 3 Acceptance Criteria: 5-Card Catalog, Brand Tokens & Complementary
|
||||
});
|
||||
|
||||
await t.test(
|
||||
'Criterion 6: Asymmetric Complementary Paths (Section 04: EXPLORA OTROS ESPACIOS)',
|
||||
'Criterion 6: Reconciled Caminos Complementarios (Section 04: single container & media strip)',
|
||||
() => {
|
||||
// Find section with EXPLORA OTROS ESPACIOS
|
||||
const otrosEspaciosSection = indexHtml.match(
|
||||
/<section id="otros-espacios"[\s\S]*?<\/section>/,
|
||||
)?.[0];
|
||||
assert.ok(otrosEspaciosSection, 'Section #otros-espacios must exist');
|
||||
|
||||
// Heading Explora Otros Espacios
|
||||
assert.match(
|
||||
indexHtml,
|
||||
/EXPLORA OTROS ESPACIOS/,
|
||||
'Document must have section with heading EXPLORA OTROS ESPACIOS',
|
||||
otrosEspaciosSection,
|
||||
/Explora Otros Espacios/i,
|
||||
'Section must have heading Explora Otros Espacios',
|
||||
);
|
||||
|
||||
// Check Panel A: Hatha Yoga anchor
|
||||
// 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(
|
||||
indexHtml,
|
||||
otrosEspaciosSection,
|
||||
/hatha-yoga\.webp/,
|
||||
'Complementary paths must include hatha-yoga.webp',
|
||||
);
|
||||
assert.match(
|
||||
indexHtml,
|
||||
otrosEspaciosSection,
|
||||
/Clases de Hatha Yoga \(Personalizadas y Grupales\)/,
|
||||
'Must include title: Clases de Hatha Yoga (Personalizadas y Grupales)',
|
||||
);
|
||||
assert.match(
|
||||
indexHtml,
|
||||
otrosEspaciosSection,
|
||||
/alineación.*respiración consciente.*desbloqueo somático/s,
|
||||
'Hatha Yoga copy must mention alignment, conscious breathing, and somatic release',
|
||||
);
|
||||
assert.match(
|
||||
indexHtml,
|
||||
otrosEspaciosSection,
|
||||
/Conversar sobre Clases por WhatsApp/,
|
||||
'Hatha Yoga CTA must have text "Conversar sobre Clases por WhatsApp"',
|
||||
);
|
||||
|
||||
// Check Panel B: Quiet panel Recursos Abiertos
|
||||
assert.match(indexHtml, /bg-porcelain-mist/, 'Panel B must use bg-porcelain-mist styling');
|
||||
assert.match(indexHtml, /RECURSOS ABIERTOS/, 'Panel B must have eyebrow RECURSOS ABIERTOS');
|
||||
// Part 2: Integrated media strip
|
||||
assert.match(
|
||||
indexHtml,
|
||||
/Luz en tu Camino \(YouTube & Podcast\)/,
|
||||
'Panel B must have title Luz en tu Camino (YouTube & Podcast)',
|
||||
otrosEspaciosSection,
|
||||
/bg-porcelain-mist/,
|
||||
'Media strip must use bg-porcelain-mist styling',
|
||||
);
|
||||
assert.match(
|
||||
indexHtml,
|
||||
/Meditaciones abiertas para encontrar calma y reconectar contigo a tu propio ritmo\./,
|
||||
'Panel B must contain approved concise copy',
|
||||
otrosEspaciosSection,
|
||||
/Escucha · Respira · Reconecta/,
|
||||
'Media strip must contain cadence header "Escucha · Respira · Reconecta"',
|
||||
);
|
||||
assert.match(indexHtml, /Spotify/i, 'Panel B must mention upcoming Spotify availability');
|
||||
assert.match(
|
||||
indexHtml,
|
||||
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,
|
||||
'Panel B must link to official YouTube channel',
|
||||
'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',
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -315,9 +366,10 @@ test('Slice 3 Acceptance Criteria: 5-Card Catalog, Brand Tokens & Complementary
|
||||
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.ok(
|
||||
distHtml.includes('EXPLORA OTROS ESPACIOS'),
|
||||
'Built HTML must contain EXPLORA OTROS ESPACIOS',
|
||||
assert.match(
|
||||
distHtml,
|
||||
/Explora Otros Espacios/i,
|
||||
'Built HTML must contain Explora Otros Espacios',
|
||||
);
|
||||
assert.ok(
|
||||
distHtml.includes('Mentorías y Oidaterapia'),
|
||||
@@ -325,4 +377,70 @@ test('Slice 3 Acceptance Criteria: 5-Card Catalog, Brand Tokens & Complementary
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
await t.test('Criterion 9: Bio & Philosophy Reconciled Integrity', () => {
|
||||
// Section 05: Acerca de
|
||||
const acercaSection = indexHtml.match(/<section id="acerca"[\s\S]*?<\/section>/)?.[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,
|
||||
/<h2[^>]*>\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(/<section id="filosofia"[\s\S]*?<\/section>/)?.[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"',
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user