From 4573edfedcad38721428c15439548da761db760d Mon Sep 17 00:00:00 2001 From: Emiliano Frascaro Date: Fri, 21 Aug 2026 16:10:18 +0200 Subject: [PATCH] Aggiunge i link ai profili social ufficiali nel footer e in Contatti. Co-authored-by: Cursor --- backend/app/views/layouts/marketing.html.erb | 2 +- .../app/views/layouts/marketing_live.html.erb | 2 +- .../app/views/public/contacts/show.html.erb | 7 ++ .../views/shared/_marketing_footer.html.erb | 9 +- .../_marketing_footer_app_store.html.erb | 7 +- .../app/views/shared/_social_links.html.erb | 41 +++++++++ backend/config/locales/pages.de.yml | 1 + backend/config/locales/pages.en.yml | 1 + backend/config/locales/pages.es.yml | 1 + backend/config/locales/pages.fr.yml | 1 + backend/config/locales/pages.it.yml | 1 + backend/config/locales/ui.de.yml | 5 ++ backend/config/locales/ui.en.yml | 5 ++ backend/config/locales/ui.es.yml | 5 ++ backend/config/locales/ui.fr.yml | 5 ++ backend/config/locales/ui.it.yml | 5 ++ backend/public/marketing.css | 88 ++++++++++++++++++- 17 files changed, 177 insertions(+), 9 deletions(-) create mode 100644 backend/app/views/shared/_social_links.html.erb diff --git a/backend/app/views/layouts/marketing.html.erb b/backend/app/views/layouts/marketing.html.erb index be4cea3..845d110 100644 --- a/backend/app/views/layouts/marketing.html.erb +++ b/backend/app/views/layouts/marketing.html.erb @@ -9,7 +9,7 @@ <%= render "shared/meta_tags" %> <%= yield :head %> - + data-ga-id="<%= MatchLiveTv.google_analytics_measurement_id %>"<% end %>> <%= render "shared/cookie_banner" %> diff --git a/backend/app/views/layouts/marketing_live.html.erb b/backend/app/views/layouts/marketing_live.html.erb index 3ef6255..7b49751 100644 --- a/backend/app/views/layouts/marketing_live.html.erb +++ b/backend/app/views/layouts/marketing_live.html.erb @@ -7,7 +7,7 @@ <%= csrf_meta_tags %> <%= render "shared/meta_tags" %> - + <%= yield :head %> diff --git a/backend/app/views/public/contacts/show.html.erb b/backend/app/views/public/contacts/show.html.erb index 507baf4..529cdcf 100644 --- a/backend/app/views/public/contacts/show.html.erb +++ b/backend/app/views/public/contacts/show.html.erb @@ -63,6 +63,13 @@ +
+
+

<%= t("pages.contacts.social_title") %>

+ <%= render "shared/social_links", modifier: "panel" %> +
+
+

<%= t("pages.contacts.form_title") %>

diff --git a/backend/app/views/shared/_marketing_footer.html.erb b/backend/app/views/shared/_marketing_footer.html.erb index 476bc48..94f76d8 100644 --- a/backend/app/views/shared/_marketing_footer.html.erb +++ b/backend/app/views/shared/_marketing_footer.html.erb @@ -1,10 +1,9 @@