From d2c2e208226ecf3b5ca7fbac0e29552afb0d5099 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Fri, 22 Mar 2024 13:07:45 +0000 Subject: [PATCH] Removes #connect.pane files _learn and _connect seem to appear at the top of the homepage (and not as pane). Also, there was some hard coded URLs which seems not to be used, as the translations in the Configuration/Content section seem to work correctly. --- app/views/home/_connect.html.haml | 7 ------- app/views/home/_learn.html.haml | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 app/views/home/_connect.html.haml delete mode 100644 app/views/home/_learn.html.haml diff --git a/app/views/home/_connect.html.haml b/app/views/home/_connect.html.haml deleted file mode 100644 index 6afcb1ae96..0000000000 --- a/app/views/home/_connect.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -#connect.pane - .row - .small-12.medium-6.medium-offset-3.columns.text-center - %h2= t :label_connect - %p.text-normal= t :connect_body - %a.button.transparent{href: "https://openfoodnetwork.org/au/connect/"} - = t :connect_cta diff --git a/app/views/home/_learn.html.haml b/app/views/home/_learn.html.haml deleted file mode 100644 index f6d3061e20..0000000000 --- a/app/views/home/_learn.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -#learn.pane - .row - .small-12.medium-6.medium-offset-3.columns.text-center - %h2= t :label_learn - %p.text-normal= t :learn_body - %a.button.transparent{href: "https://openfoodnetwork.org/au/learn/"} - = t :learn_cta