From 15e57cddeef573e8623014e55dbc1bf78732c3c9 Mon Sep 17 00:00:00 2001 From: Emiliano Frascaro Date: Tue, 2 Jun 2026 17:23:51 +0200 Subject: [PATCH] Card piani: un solo stile di bordo grigio per tutte e tre. Rimuove featured con contorno rosso che creava 2 card rosse e 1 grigia. Co-authored-by: Cursor --- backend/app/views/layouts/marketing.html.erb | 2 +- backend/app/views/layouts/marketing_live.html.erb | 2 +- backend/app/views/shared/_plan_cards.html.erb | 3 +-- backend/public/marketing.css | 4 ---- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/backend/app/views/layouts/marketing.html.erb b/backend/app/views/layouts/marketing.html.erb index c3d1e43..f66d46c 100644 --- a/backend/app/views/layouts/marketing.html.erb +++ b/backend/app/views/layouts/marketing.html.erb @@ -6,7 +6,7 @@ <%= content_for?(:title) ? yield(:title) : "Match Live TV" %> <%= render "shared/meta_tags" %> - + <%= render "shared/marketing_nav" %> diff --git a/backend/app/views/layouts/marketing_live.html.erb b/backend/app/views/layouts/marketing_live.html.erb index 5400857..fd7b007 100644 --- a/backend/app/views/layouts/marketing_live.html.erb +++ b/backend/app/views/layouts/marketing_live.html.erb @@ -6,7 +6,7 @@ <%= content_for?(:title) ? yield(:title) : "Match Live TV" %> <%= render "shared/meta_tags" %> - + <%= yield :head %> diff --git a/backend/app/views/shared/_plan_cards.html.erb b/backend/app/views/shared/_plan_cards.html.erb index a91a7f2..da61398 100644 --- a/backend/app/views/shared/_plan_cards.html.erb +++ b/backend/app/views/shared/_plan_cards.html.erb @@ -14,8 +14,7 @@ stripe_subscription_active: stripe_subscription_active?(subscription), current_interval: current_interval ) : nil %> - <% featured = billing_mode ? (plan.slug == current_slug) : (plan.slug == "premium_light") %> -
"> +

<%= plan.name %>

<% if plan.slug == "free" %>
€0
diff --git a/backend/public/marketing.css b/backend/public/marketing.css index 234b211..83302ca 100644 --- a/backend/public/marketing.css +++ b/backend/public/marketing.css @@ -935,10 +935,6 @@ body.nav-menu-open { overflow: hidden; } padding: 24px; box-sizing: border-box; } -.plan-card.featured { - border-color: #2a2a36; - box-shadow: 0 0 0 2px #e53935; -} .plan-card h3 { margin: 0 0 8px; } .plan-price { font-size: 1.8rem; font-weight: 800; margin: 12px 0; } .plan-card ul {