From 2de8ba5e8ddfe85031f49296bcda33f39df3854f Mon Sep 17 00:00:00 2001 From: Sinan Chaush Date: Mon, 4 Oct 2021 21:11:12 +0200 Subject: [PATCH 1/2] make home page labels clickable --- app/views/home/_system.html.haml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/app/views/home/_system.html.haml b/app/views/home/_system.html.haml index fdfd9660dc..ae294dec9d 100644 --- a/app/views/home/_system.html.haml +++ b/app/views/home/_system.html.haml @@ -8,23 +8,26 @@ .home-icon-box %a.search{href: "/shops"} .home-icon-box-bottom - %h4 - = t :system_step1 + %a.search{href: "/shops"} + %h4 + = t :system_step1 %p.text-normal = t :system_step1_text .small-12.medium-4.columns.text-left .home-icon-box %a.shop{href: "/shops"} .home-icon-box-bottom - %h4 - = t :system_step2 + %a.shop{href: "/shops"} + %h4 + = t :system_step2 %p.text-normal = t :system_step2_text .small-12.medium-4.columns.text-left .home-icon-box %a.pick-up-delivery{href: "/shops"} .home-icon-box-bottom - %h4 - = t :system_step3 + %a.pick-up-delivery{href: "/shops"} + %h4 + = t :system_step3 %p.text-normal = t :system_step3_text From 771ee7b3dcae07152f69ee3cb881f7ec4d13178a Mon Sep 17 00:00:00 2001 From: Sinan Chaush Date: Tue, 5 Oct 2021 17:30:56 +0200 Subject: [PATCH 2/2] classes are removed from the texts --- app/views/home/_system.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/home/_system.html.haml b/app/views/home/_system.html.haml index ae294dec9d..c8d88da8a9 100644 --- a/app/views/home/_system.html.haml +++ b/app/views/home/_system.html.haml @@ -8,7 +8,7 @@ .home-icon-box %a.search{href: "/shops"} .home-icon-box-bottom - %a.search{href: "/shops"} + %a{href: "/shops"} %h4 = t :system_step1 %p.text-normal @@ -17,7 +17,7 @@ .home-icon-box %a.shop{href: "/shops"} .home-icon-box-bottom - %a.shop{href: "/shops"} + %a{href: "/shops"} %h4 = t :system_step2 %p.text-normal @@ -26,7 +26,7 @@ .home-icon-box %a.pick-up-delivery{href: "/shops"} .home-icon-box-bottom - %a.pick-up-delivery{href: "/shops"} + %a{href: "/shops"} %h4 = t :system_step3 %p.text-normal