From 9fa353db80122c27a3ca5cbfddc489ef5abf0063 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Fri, 7 Nov 2025 16:15:53 -0600 Subject: [PATCH] feat: Implementar componente CTA A/B Testing completo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Actualizar textos de variantes A y B en single.php - Variante A: "Accede a 200,000+ Análisis de Precios Unitarios" - Variante B: "¿Necesitas Consultar Más APUs?" - Agregar iconos bi-arrow-right en botones - Agregar clases Bootstrap responsive (my-5, p-4, mt-3, mt-md-0) - Agregar CSS completo en style.css (líneas 1065-1109) - Gradiente naranja (orange-primary → orange-light) - Box shadow naranja pronunciada (efecto glow) - Textos blancos con !important para legibilidad - Botón naranja con hover - Estilos responsive para móvil JavaScript ya existía implementado (sin cambios). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../themes/apus-theme/assets/css/style.css | 46 +++++++++++++++++++ wp-content/themes/apus-theme/single.php | 26 ++++++----- 2 files changed, 60 insertions(+), 12 deletions(-) diff --git a/wp-content/themes/apus-theme/assets/css/style.css b/wp-content/themes/apus-theme/assets/css/style.css index 5a25d68e..aeff9d95 100644 --- a/wp-content/themes/apus-theme/assets/css/style.css +++ b/wp-content/themes/apus-theme/assets/css/style.css @@ -1061,3 +1061,49 @@ img { .share-buttons .btn:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } + +/* === CTA A/B TESTING === */ + +.cta-section { + background: linear-gradient(135deg, var(--color-orange-primary) 0%, var(--color-orange-light) 100%); + box-shadow: 0 8px 24px rgba(255, 133, 0, 0.3); + border-radius: 12px; + padding: 2rem; +} + +.cta-section h3 { + color: #ffffff !important; +} + +.cta-section p { + color: rgba(255, 255, 255, 0.95) !important; +} + +.cta-button { + background-color: var(--color-orange-primary); + color: #ffffff; + font-weight: 600; + padding: 0.75rem 2rem; + border: none; + border-radius: 8px; + transition: all 0.3s ease; + text-decoration: none; + display: inline-block; +} + +.cta-button:hover { + background-color: var(--color-orange-hover); + color: #ffffff; +} + +/* Mobile */ +@media (max-width: 768px) { + .cta-section { + padding: 1.5rem; + } + + .cta-button { + width: 100%; + margin-top: 1rem; + } +} diff --git a/wp-content/themes/apus-theme/single.php b/wp-content/themes/apus-theme/single.php index 928ea01d..d175ca07 100644 --- a/wp-content/themes/apus-theme/single.php +++ b/wp-content/themes/apus-theme/single.php @@ -116,29 +116,31 @@ get_header(); -