feat: Implementar componente CTA A/B Testing completo
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user