diff --git a/app/views/shared/menu/_large_menu.html.haml b/app/views/shared/menu/_large_menu.html.haml index 05209dff75..6a5be15a67 100644 --- a/app/views/shared/menu/_large_menu.html.haml +++ b/app/views/shared/menu/_large_menu.html.haml @@ -17,14 +17,25 @@ %a{href: main_app.producers_path} %span.nav-primary = t 'label_producers' - %li - %a{href: main_app.groups_path} - %span.nav-primary - = t 'label_groups' - %li - %a{href: ContentConfig.footer_about_url} - %span.nav-primary - = t 'label_about' + - if feature? :connect_learn_homepage + %li + %a{href: "https://openfoodnetwork.org/au/connect/"} + %span.nav-primary + = t 'label_connect' + %li + %a{href: "https://openfoodnetwork.org/au/learn/"} + %span.nav-primary + = t 'label_learn' + - else + %li + %a{href: main_app.groups_path} + %span.nav-primary + = t 'label_groups' + %li + %a{href: ContentConfig.footer_about_url} + %span.nav-primary + = t 'label_about' + %ul.right - if spree_current_user.nil? = render 'shared/signed_out' diff --git a/app/views/shared/menu/_mobile_menu.html.haml b/app/views/shared/menu/_mobile_menu.html.haml index 71fd8ea86f..1ae4439cd9 100644 --- a/app/views/shared/menu/_mobile_menu.html.haml +++ b/app/views/shared/menu/_mobile_menu.html.haml @@ -41,15 +41,15 @@ %i.ofn-i_036-producers = t 'label_producers' %li.li-menu - %a{href: main_app.groups_path} + %a{href: "https://openfoodnetwork.org/au/connect/"} %span.nav-primary %i.ofn-i_035-groups - = t 'label_groups' + = t 'label_connect' %li.li-menu - %a{href: ContentConfig.footer_about_url} + %a{href: "https://openfoodnetwork.org/au/learn/"} %span.nav-primary %i.ofn-i_013-help - = t 'label_about' + = t 'label_learn' %li - if spree_current_user.nil? diff --git a/config/locales/en.yml b/config/locales/en.yml index 2d2e4bc3df..e56cd90622 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -255,6 +255,8 @@ en: label_producers: "Producers" label_groups: "Groups" label_about: "About" + label_connect: "Connect" + label_learn: "Learn" label_shopping: "Shopping" label_login: "Login" label_logout: "Logout"