Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Add optional border
Matthew Kennedyfaa2dd8d1d72
diff --git a/frontend/app/assets/stylesheets/spree/frontend/views/spree/home/index.scss b/frontend/app/assets/stylesheets/spree/frontend/views/spree/home/index.scssindex 6f8f23123b..2a60c4f693 100644--- a/frontend/app/assets/stylesheets/spree/frontend/views/spree/home/index.scss+++ b/frontend/app/assets/stylesheets/spree/frontend/views/spree/home/index.scss@@ -1,3 +1,7 @@+:root {+ --spree-border-color: transparent;+}+.homepage {&-hero-image {display: flex;@@ -264,6 +268,10 @@}}}++ &-hpb {+ border: 3px solid var(--spree-border-color);+ }}#missingHomepage {diff --git a/frontend/app/views/spree/shared/cms/sections/_promo.html.erb b/frontend/app/views/spree/shared/cms/sections/_promo.html.erbindex d337eff17f..1fc9e1078c 100644--- a/frontend/app/views/spree/shared/cms/sections/_promo.html.erb+++ b/frontend/app/views/spree/shared/cms/sections/_promo.html.erb@@ -29,7 +29,7 @@alt="<%= section.icon.alt %>"><% end %>- <div class="homepage-bottom-box-inner p-1 p-sm-2 p-md-4" role="img" aria-label="New Collection">+ <div class="homepage-bottom-box-inner p-1 p-sm-2 p-md-4 homepage-hpb" role="img" aria-label="New Collection"><div class="homepage-bottom-box-inner-small-text"><%= section.title %></div>diff --git a/frontend/app/views/spree/shared/cms/sections/_taxon_category.html.erb b/frontend/app/views/spree/shared/cms/sections/_taxon_category.html.erbindex 2e2e8e4c36..672ae44d4a 100644--- a/frontend/app/views/spree/shared/cms/sections/_taxon_category.html.erb+++ b/frontend/app/views/spree/shared/cms/sections/_taxon_category.html.erb@@ -21,8 +21,8 @@alt="<%= section.title %>"><% end %>- <div class="homepage-taxon-box-text">- <h3><%= section.title %></h3>+ <div class="homepage-taxon-box-text ">+ <h3 class="homepage-hpb"><%= section.title %></h3></div><% end %><%= link_to spree.nested_taxons_path(section.button_text), class: "homepage-taxon-box" do %>@@ -47,7 +47,7 @@<% end %><div class="homepage-taxon-box-text" role="img" aria-label="Sportswear">- <h3><%= section.button_text %></h3>+ <h3 class="homepage-hpb"><%= section.button_text %></h3></div><% end %></div>@@ -75,7 +75,7 @@<% end %><div class="homepage-taxon-box-text">- <h3><%= section.subtitle %></h3>+ <h3 class="homepage-hpb"><%= section.subtitle %></h3></div><% end %></div>