Templates for Williams Sonoma, Walmart Supplier and Instacart Partners

This commit is contained in:
Norm Rasmussen
2026-03-11 14:55:58 -04:00
parent 6b86d5bde9
commit 506a878c0e
3 changed files with 10 additions and 9 deletions

View File

@ -33,9 +33,9 @@
<div{% if desktopMode %} style="padding-top: 10px;"{% endif %}class="language-selector-dropdown">
<a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/">English (USA)</a>
<a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/es-us">Español (Estados Unidos)</a>
<a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/fr-ca">Français  (Québec)</a>
<a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/es-es">Español (España)</a>
<a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/fr-fr">Français (France)</a>
{% comment %} <a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/fr-ca">Français  (Québec)</a> {% endcomment %}
{% comment %} <a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/es-es">Español (España)</a> {% endcomment %}
{% comment %} <a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/fr-fr">Français (France)</a> {% endcomment %}
</div>
</a>

View File

@ -3,7 +3,7 @@
<div class="np-homepage-hero">
<img
class="np-homepage-hero-image"
src="https://s3.amazonaws.com/static.northpass.com/Williams-Sonoma/wsi-hero-min.gif"
src="https://s3.amazonaws.com/static.northpass.com/Williams-Sonoma/Welcome-to-WSIU.gif"
alt="{{ homepage.headline }}" />
<div class="np-homepage-hero-content"></div>
<div class="np-homepage-hero-content">
@ -44,7 +44,8 @@
<div class="col-xs-12 col-sm-12">
{% if features.learning_paths? %}
<div class="np-dashboard-resources-title">
{% t shared.learning_paths %}
ACADEMIES
{% comment %} {% t shared.learning_paths %} {% endcomment %}
</div>
{% include "learning_paths_index"
, items: learning_paths.enrolled %}

View File

@ -312,7 +312,7 @@ document.addEventListener("DOMContentLoaded", () => {
alert("Please choose if you are doing business with Walmart.");
return;
}
payload = selectedBusiness === "yes"
payload = selectedBusiness === "yes"
? { group: "164ebbb5-5ad0-45d9-81ab-3b0930d63dc8", locale: "USA", id: "{{current_person.id}}" }
: { group: "646fe445-cc88-4266-a6bd-8e28b977649e", locale: "USA", id: "{{current_person.id}}" };
break;
@ -334,8 +334,8 @@ document.addEventListener("DOMContentLoaded", () => {
.then(() => {
localStorage.setItem("modalFilled", "true");
setTimeout(() => {
location.reload();
}, 4000);
location.reload();
}, 4000);
})
.catch(() => {
alert("There was an error submitting the form.");
@ -356,4 +356,4 @@ document.addEventListener("DOMContentLoaded", () => {
if (loader) loader.remove();
}
});
</script>
</script>