Aggiorna marketing: prezzi lancio, Funzionalità narrativa e link store.

Allinea i piani Light/Full ai prezzi di lancio, ripensa /funzionalita per vendere il prodotto e aggiunge i badge App Store/Play nella home.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-14 23:00:17 +02:00
co-authored by Cursor
parent bc2257efd2
commit 3ed70b6999
42 changed files with 2115 additions and 266 deletions
@@ -0,0 +1,41 @@
require "rails_helper"
RSpec.describe "Public home page", type: :request do
it "mostra i link agli store nell'hero e nel footer" do
get root_path
expect(response).to have_http_status(:ok)
expect(response.body).to include(MatchLiveTv.app_store_url)
expect(response.body).to include(MatchLiveTv.play_store_url)
expect(response.body).to include(I18n.t("home.stores_label", locale: :it))
expect(response.body).to include(I18n.t("home.store_app_store_name", locale: :it))
expect(response.body).to include(I18n.t("home.store_play_name", locale: :it))
expect(response.body.scan(MatchLiveTv.app_store_url).size).to eq(3)
expect(response.body.scan(MatchLiveTv.play_store_url).size).to eq(3)
end
{
"it" => "Per andare in diretta dallo smartphone",
"en" => "To go live from your smartphone",
"fr" => "Pour passer en direct depuis le smartphone",
"de" => "Live gehen vom Smartphone",
"es" => "Para emitir en directo desde el smartphone"
}.each do |locale, label|
it "traduce i badge store in #{locale} senza translation missing" do
cookies[:mltv_locale] = locale
get root_path
expect(response).to have_http_status(:ok)
expect(response.body).to include(label)
expect(response.body).not_to include("translation missing")
end
end
it "non mostra i badge store nel chrome App Store Review" do
get public_support_path
expect(response).to have_http_status(:ok)
expect(response.body).not_to include(MatchLiveTv.app_store_url)
expect(response.body).not_to include(MatchLiveTv.play_store_url)
end
end