mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
Make CTA links separate from hub link styling
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Shop for
|
||||
%strong {{enterprise.name}}
|
||||
products at:
|
||||
%a.hub{"ng-repeat" => "hub in enterprise.hubs",
|
||||
%a.cta-hub{"ng-repeat" => "hub in enterprise.hubs",
|
||||
"bo-href" => "hub.path",
|
||||
"bo-class" => "{primary: hub.active, secondary: !hub.active}",
|
||||
"ofn-empties-cart" => "hub"}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
.cta-container.small-12.columns
|
||||
.row
|
||||
.small-4.columns
|
||||
%label{"active-table-hub-link" => "enterprise", change: "Change hub to:", shop: "Shop now at:"}
|
||||
%label{"active-table-hub-link" => "enterprise", change: "Change shop to:", shop: "Shop now at:"}
|
||||
.small-8.columns.right
|
||||
%label.right{"bo-if" => "enterprise.pickup || enterprise.delivery"}
|
||||
Delivery options:
|
||||
@@ -14,7 +14,7 @@
|
||||
Delivery
|
||||
.row
|
||||
.columns.small-12
|
||||
%a.hub{"bo-href" => "enterprise.path",
|
||||
%a.cta-hub{"bo-href" => "enterprise.path",
|
||||
"ng-class" => "{primary: enterprise.active, secondary: !enterprise.active}",
|
||||
"ofn-empties-cart" => "enterprise"}
|
||||
%i.ofn-i_033-open-sign{"bo-if" => "enterprise.active"}
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
span
|
||||
text-transform: capitalize
|
||||
|
||||
.hub
|
||||
.cta-hub
|
||||
margin-right: 2rem
|
||||
margin-top: 0rem
|
||||
margin-bottom: 0.75rem
|
||||
|
||||
Reference in New Issue
Block a user