fix: cohort CAC/ROAS desde deals Clientify y más contraste en dashboards

Los totales de Métricas usaban solo ad_daily (cohort a 0). Ahora suman
deals won; selectores y tipografía ganan contraste sobre fondo blanco.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-09-24 10:40:12 +02:00
parent 8fda2996b6
commit 21051afda9
20 changed files with 383 additions and 184 deletions

View File

@@ -222,7 +222,7 @@ function CreativeCard({
<button
type="button"
onClick={onZoom}
className="inline-flex items-center gap-1 rounded-lg border border-brand-500/40 bg-brand-500/10 px-2.5 py-1 text-[11px] font-medium text-brand-300 hover:bg-brand-500/20"
className="inline-flex items-center gap-1 rounded-lg border border-brand-500/40 bg-brand-500/10 px-2.5 py-1 text-[11px] font-medium text-brand-700 hover:bg-brand-500/20"
>
<Maximize2 className="w-3.5 h-3.5" /> Zoom
</button>
@@ -297,7 +297,7 @@ function CreativeCard({
</div>
) : null}
{ad.cta ? (
<p className="text-[10px] text-brand-300 uppercase tracking-wide">
<p className="text-[10px] text-brand-700 uppercase tracking-wide">
CTA · {ad.cta}
</p>
) : null}
@@ -423,7 +423,7 @@ export function CreativeZoomModal({
</p>
{ad.cta ? (
<p>
CTA: <span className="text-brand-300">{ad.cta}</span>
CTA: <span className="text-brand-700">{ad.cta}</span>
</p>
) : null}
{ad.businessName ? (