- <%= image_tag "logo_full_with_label.svg", class: "mx-auto w-52 mb-7 dark:hidden" %>
- <%= image_tag "logo_full_with_label_white.svg", class: "mx-auto w-52 mb-7 hidden dark:block" %>
+ <% if (logo_url = store_logo_url) %>
+ <%= image_tag logo_url, alt: current_store.name, class: "mx-auto w-52 mb-7" %>
+ <% else %>
+ <%= image_tag "logo_full_with_label.svg", class: "mx-auto w-52 mb-7 dark:hidden" %>
+ <%= image_tag "logo_full_with_label_white.svg", class: "mx-auto w-52 mb-7 hidden dark:block" %>
+ <% end %>
<%= render partial: "shared/call_to_action", :locals => { :label => "Visit Solidus.io", :url => 'https://solidus.io', :target => '_blank', :additional_classes => "block mx-auto" } %>
diff --git a/storefront/templates/app/views/layouts/_header.html.erb b/storefront/templates/app/views/layouts/_header.html.erb
index f5abb3ba954..c9117ad7fb5 100644
--- a/storefront/templates/app/views/layouts/_header.html.erb
+++ b/storefront/templates/app/views/layouts/_header.html.erb
@@ -13,7 +13,11 @@
<%= link_to root_path, class: 'absolute lg:relative left-1/2 lg:left-0 lg:-translate-x-0 -translate-x-1/2 flex items-center space-x-3' do %>
- <%= image_tag "logo_small_no_label.svg" %>
+ <% if (logo_url = store_logo_url) %>
+ <%= image_tag logo_url, alt: current_store.name, class: "h-8 w-auto" %>
+ <% else %>
+ <%= image_tag "logo_small_no_label.svg" %>
+ <% end %>
<%= Spree::Store.default.name %>
<% end %>
diff --git a/storefront/templates/app/views/layouts/storefront.html.erb b/storefront/templates/app/views/layouts/storefront.html.erb
index 9b155048e66..ce599a40b06 100644
--- a/storefront/templates/app/views/layouts/storefront.html.erb
+++ b/storefront/templates/app/views/layouts/storefront.html.erb
@@ -14,8 +14,12 @@
<%= javascript_importmap_tags %>
- <%= favicon_link_tag '/storefront_favicon.svg', type: 'image/svg+xml', rel: 'icon' %>
- <%= favicon_link_tag '/storefront_favicon.ico', rel: 'icon', type: 'image/ico' %>
+ <% if (favicon_url = store_favicon_url) %>
+ <%= favicon_link_tag favicon_url, rel: 'icon', type: nil %>
+ <% else %>
+ <%= favicon_link_tag '/storefront_favicon.svg', type: 'image/svg+xml', rel: 'icon' %>
+ <%= favicon_link_tag '/storefront_favicon.ico', rel: 'icon', type: 'image/ico' %>
+ <% end %>