Templates for Williams Sonoma, Walmart Supplier and Instacart Partners
This commit is contained in:
@ -33,9 +33,9 @@
|
|||||||
<div{% if desktopMode %} style="padding-top: 10px;"{% endif %}class="language-selector-dropdown">
|
<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="/">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="/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>
|
{% 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 %}
|
||||||
<a class="{% if desktopMode %}np-header-avatar-tooltip-navigation-link{% else %}language-selector-dropdown-item{% endif %}" href="/es-es">Español (España)</a>
|
{% 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 %}
|
||||||
<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-fr">Français (France)</a> {% endcomment %}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<div class="np-homepage-hero">
|
<div class="np-homepage-hero">
|
||||||
<img
|
<img
|
||||||
class="np-homepage-hero-image"
|
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 }}" />
|
alt="{{ homepage.headline }}" />
|
||||||
<div class="np-homepage-hero-content"></div>
|
<div class="np-homepage-hero-content"></div>
|
||||||
<div class="np-homepage-hero-content">
|
<div class="np-homepage-hero-content">
|
||||||
@ -44,7 +44,8 @@
|
|||||||
<div class="col-xs-12 col-sm-12">
|
<div class="col-xs-12 col-sm-12">
|
||||||
{% if features.learning_paths? %}
|
{% if features.learning_paths? %}
|
||||||
<div class="np-dashboard-resources-title">
|
<div class="np-dashboard-resources-title">
|
||||||
{% t shared.learning_paths %}
|
ACADEMIES
|
||||||
|
{% comment %} {% t shared.learning_paths %} {% endcomment %}
|
||||||
</div>
|
</div>
|
||||||
{% include "learning_paths_index"
|
{% include "learning_paths_index"
|
||||||
, items: learning_paths.enrolled %}
|
, items: learning_paths.enrolled %}
|
||||||
|
|||||||
@ -312,7 +312,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
alert("Please choose if you are doing business with Walmart.");
|
alert("Please choose if you are doing business with Walmart.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
payload = selectedBusiness === "yes"
|
payload = selectedBusiness === "yes"
|
||||||
? { group: "164ebbb5-5ad0-45d9-81ab-3b0930d63dc8", locale: "USA", id: "{{current_person.id}}" }
|
? { group: "164ebbb5-5ad0-45d9-81ab-3b0930d63dc8", locale: "USA", id: "{{current_person.id}}" }
|
||||||
: { group: "646fe445-cc88-4266-a6bd-8e28b977649e", locale: "USA", id: "{{current_person.id}}" };
|
: { group: "646fe445-cc88-4266-a6bd-8e28b977649e", locale: "USA", id: "{{current_person.id}}" };
|
||||||
break;
|
break;
|
||||||
@ -334,8 +334,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
localStorage.setItem("modalFilled", "true");
|
localStorage.setItem("modalFilled", "true");
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
location.reload();
|
location.reload();
|
||||||
}, 4000);
|
}, 4000);
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
alert("There was an error submitting the form.");
|
alert("There was an error submitting the form.");
|
||||||
@ -356,4 +356,4 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
if (loader) loader.remove();
|
if (loader) loader.remove();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user