Walmart Supplier asked for some small updates.
This commit is contained in:
@ -1,392 +1,537 @@
|
||||
{% assign us_user_grow = false %}
|
||||
{% assign us_user_supplier = false %}
|
||||
{% assign india_user = false %}
|
||||
{% assign mexico_user = false %}
|
||||
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.name == 'Grow With Walmart' %}
|
||||
{% assign us_user_grow = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Supplier Academy' %}
|
||||
{% assign us_user_supplier = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Walmart Vriddhi' %}
|
||||
{% assign india_user = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Crece con Walmart' %}
|
||||
{% assign mexico_user = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% assign category_advisors = false %}
|
||||
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.name == 'Category Advisors' %}
|
||||
{% assign category_advisors = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<header class="np-header np-header-color">
|
||||
<div class="np-header-content">
|
||||
{% if current_school.logo_url %}
|
||||
<h1 class="np-header-logo">
|
||||
<a href="{% route home %}">
|
||||
<img
|
||||
alt="{{ current_school.name }}"
|
||||
class="np-header-logo-image"
|
||||
src="{{ current_school.logo_url }}"
|
||||
/>
|
||||
</a>
|
||||
</h1>
|
||||
{% else %}
|
||||
<a href="{% route home %}" class="np-school-name np-header-font-color">
|
||||
{{ current_school.name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="np-hidden-mobile np-header-desktop-nav hidden-mobile">
|
||||
<ul class="np-header-desktop-nav-list">
|
||||
{% for website_navigation in navigations.header_navigations_external %}
|
||||
<li class= "np-header-desktop-nav-item">
|
||||
<a
|
||||
href="{{ website_navigation.path }}"
|
||||
class="np-header-desktop-nav-link np-header-font-color"
|
||||
target="_blank"
|
||||
>
|
||||
{{ website_navigation.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<div class= "np-header-desktop-nav-link dropdown-nav">
|
||||
Programs
|
||||
<div class="header-dropdown-container">
|
||||
<div class="header-dropdown-option">
|
||||
<a
|
||||
class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn"
|
||||
href="/app/grow-with-walmart-catalog"
|
||||
>
|
||||
Grow with US
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a
|
||||
class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn"
|
||||
href="/app/welcome-to-walmart"
|
||||
>
|
||||
Welcome to Walmart
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a
|
||||
class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn"
|
||||
href="/app/walmart-start"
|
||||
>
|
||||
Walmart Start
|
||||
</a>
|
||||
</div>
|
||||
{% if category_advisors %}
|
||||
<div class="header-dropdown-option">
|
||||
<a
|
||||
class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn"
|
||||
href="/app/advisors"
|
||||
>
|
||||
Category Advisors
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class= "np-header-desktop-nav-link dropdown-nav">
|
||||
Walmart Links
|
||||
<div class="header-dropdown-container">
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn"
|
||||
href="https://supplierone.wal-mart.com/" target="_blank"> Supplier One
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="https://retaillink.login.wal-mart.com/" target="_blank"> Retail Link
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<li class= "np-header-desktop-nav-item">
|
||||
<a
|
||||
href="/app/contact"
|
||||
class="np-header-desktop-nav-link np-header-font-color"
|
||||
>
|
||||
Contact
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
<div class="np-hidden-mobile np-header-search np-header-search-expanded">
|
||||
<form action="{% route search %}" method="get" data-test="desktop-search">
|
||||
<input
|
||||
aria-label="{% t .search %}"
|
||||
class="np-header-search-input np-header-font-background-color search-input"
|
||||
type="text"
|
||||
name="q"
|
||||
placeholder="{% t .search %}"
|
||||
/>
|
||||
<i class="np-header-search-icon far fa-search"></i>
|
||||
</form>
|
||||
</div>
|
||||
<div class="hidden-desktop header-mobile-menu-nav">
|
||||
{% if current_person.signed_in? %}
|
||||
<button
|
||||
data-toggle-class="np-hidden"
|
||||
class="np-header-mobile-menu-nav-button fal fa-times np-hidden np-header-font-color"
|
||||
data-toggle-target=".np-header-mobile-avatar-menu,
|
||||
.np-header-mobile-menu-content, .np-main, .np-footer"
|
||||
></button>
|
||||
<button
|
||||
data-test="open-mobile-menu"
|
||||
data-toggle-class="np-hidden"
|
||||
class="np-header-mobile-menu-nav-button np-header-mobile-avatar-menu"
|
||||
data-toggle-target=".fa-times, .np-header-mobile-menu-content, .np-main, .np-footer"
|
||||
>
|
||||
<i class="fal fa-bars hamburger-menu"></i>
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="hidden-mobile np-header-avatar">
|
||||
<button
|
||||
class="np-header-avatar-button"
|
||||
data-test="open-desktop-menu"
|
||||
data-toggle-class-on-target="np-hidden"
|
||||
data-toggle-target=".np-header-avatar-tooltip"
|
||||
data-toggle-outside
|
||||
>
|
||||
<img
|
||||
alt="{{ current_person.name }}"
|
||||
class="np-header-avatar-image"
|
||||
src="{{ current_person.avatar_url }}"
|
||||
>
|
||||
</button>
|
||||
<div class="np-header-avatar-tooltip np-hidden" role="tooltip">
|
||||
<span class="np-header-avatar-tooltip-arrow-up"></span>
|
||||
<div class="np-header-avatar-tooltip-learner">
|
||||
<div class="np-header-avatar-tooltip-learner-name">
|
||||
{{ current_person.name }}
|
||||
</div>
|
||||
<div class="np-header-avatar-tooltip-learner-email">
|
||||
{{ current_person.email }}
|
||||
</div>
|
||||
</div>
|
||||
<nav class="np-header-avatar-tooltip-navigation">
|
||||
{% unless current_school.sso_active? %}
|
||||
<a
|
||||
class="np-header-avatar-tooltip-navigation-link"
|
||||
href="{% route account %}"
|
||||
>
|
||||
{% t .profile_settings %}
|
||||
</a>
|
||||
{% endunless %}
|
||||
<a
|
||||
class="np-header-avatar-tooltip-navigation-link np-danger"
|
||||
href="{% route logout %}"
|
||||
>
|
||||
{% t .sign_out %}
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<a
|
||||
class="np-header-sign-in np-header-desktop-nav-link np-header-font-color"
|
||||
aria-label="{% t shared.sign_in %}"
|
||||
href="{% route login %}"
|
||||
>
|
||||
{% t shared.sign_in %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="hidden-desktop">
|
||||
<div class="np-header-mobile-menu-content np-hidden">
|
||||
{% if current_person.signed_in? %}
|
||||
<img
|
||||
alt="{{ current_person.name }}"
|
||||
class="np-header-mobile-menu-content-avatar"
|
||||
src="{{ current_person.avatar_url }}"
|
||||
/>
|
||||
<div class="np-header-mobile-menu-content-name">
|
||||
{{ current_person.name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="np-header-mobile-menu-content-nav">
|
||||
<form
|
||||
class="header-search"
|
||||
data-test="mobile-search"
|
||||
method="get"
|
||||
action="{% route search %}"
|
||||
>
|
||||
<input
|
||||
aria-label="{% t .search %}"
|
||||
class="header-mobile-search-input"
|
||||
type="text"
|
||||
name="q"
|
||||
placeholder="{% t .search %}"
|
||||
/>
|
||||
<i class="np-header-search-icon far fa-search"></i>
|
||||
</form>
|
||||
<a
|
||||
class="np-header-mobile-menu-content-button start-here-btn-mobile"
|
||||
href="/app/grow-with-walmart-catalog"
|
||||
>
|
||||
Start Here
|
||||
</a>
|
||||
{% for website_navigation in navigations.header_navigations %}
|
||||
{% unless website_navigation.name == 'Dashboard' %}
|
||||
<a
|
||||
href="{{ website_navigation.path }}"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
{% if website_navigation.external? %} target="_blank" {% endif %}
|
||||
>
|
||||
{% if website_navigation.name == '' %}
|
||||
|
||||
{% endif %}
|
||||
{{ website_navigation.name }}
|
||||
</a>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
<a
|
||||
href="/app/welcome-to-walmart"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Welcome to Walmart
|
||||
</a>
|
||||
<a
|
||||
href="/app/catalog"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Courses
|
||||
</a>
|
||||
<a
|
||||
href="/app/blog"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Blog
|
||||
</a>
|
||||
<a
|
||||
href="/courses/a891fcb0-ed3a-4851-8e64-0f4f0b602c2d/activities"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Help Docs
|
||||
</a>
|
||||
<div class="np-header-mobile-menu-content-line"></div>
|
||||
<a
|
||||
href="#"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Contact
|
||||
</a>
|
||||
{% unless current_school.sso_active? %}
|
||||
<a
|
||||
class="np-header-mobile-menu-content-button"
|
||||
href="{% route account %}"
|
||||
>
|
||||
{% t .profile_settings %}
|
||||
</a>
|
||||
{% endunless %}
|
||||
<a
|
||||
class="np-header-mobile-menu-content-button np-danger"
|
||||
href="{% route logout %}"
|
||||
>
|
||||
{% t .sign_out %}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include "messages" %}
|
||||
|
||||
<style>
|
||||
.start-here-btn {
|
||||
color: #000;
|
||||
}
|
||||
.np-header-desktop-nav-link {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.header-dropdown-container {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
border: 1px solid #ccc;
|
||||
z-index: 10;
|
||||
width: fit-content;
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
.np-header-desktop-nav-link:hover .header-dropdown-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header-dropdown-option {
|
||||
display: block;
|
||||
padding: 15px;
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.dropdown-nav {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.header-dropdown-option:hover {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
.hidden-mobile {
|
||||
display: none;
|
||||
}
|
||||
.hidden-desktop {
|
||||
display: block;
|
||||
}
|
||||
.header-mobile-menu-nav {
|
||||
margin-left: 20px;
|
||||
}
|
||||
.hamburger-menu {
|
||||
color: #fff;
|
||||
}
|
||||
.header-search {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.header-mobile-search-input {
|
||||
width: 100%;
|
||||
padding: 13px;
|
||||
}
|
||||
.start-here-btn-mobile {
|
||||
background: #FFC220;
|
||||
}
|
||||
@media only screen and (min-width: 1100px) {
|
||||
.hidden-mobile {
|
||||
display: flex;
|
||||
}
|
||||
.hidden-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.np-header-mobile-menu-content {
|
||||
top: 110px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
{% assign us_user_grow = false %}
|
||||
{% assign us_user_supplier = false %}
|
||||
{% assign india_user = false %}
|
||||
{% assign mexico_user = false %}
|
||||
{% assign category_advisors = false %}
|
||||
{% assign samsclub = false %}
|
||||
{% assign import = false %}
|
||||
{% assign opencall = false %}
|
||||
|
||||
|
||||
|
||||
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.name == 'Grow With Walmart' %}
|
||||
{% assign us_user_grow = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Active Suppliers' %}
|
||||
{% assign us_user_supplier = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Walmart Vriddhi' %}
|
||||
{% assign india_user = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Crece con Walmart' %}
|
||||
{% assign mexico_user = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Category Advisors' %}
|
||||
{% assign category_advisors = true %}
|
||||
{% endif %}
|
||||
{% if group.name == "Sam's Club" %}
|
||||
{% assign samsclub = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Import' %}
|
||||
{% assign import = true %}
|
||||
{% endif %}
|
||||
{% if group.name == 'Open Call 2025' %}
|
||||
{% assign opencall = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
<header class="np-header np-header-color">
|
||||
<div class="np-header-content">
|
||||
{% if current_school.logo_url %}
|
||||
<h1 class="np-header-logo">
|
||||
<a href="{% route home %}">
|
||||
<img
|
||||
alt="{{ current_school.name }}"
|
||||
class="np-header-logo-image"
|
||||
src="{{ current_school.logo_url }}"
|
||||
/>
|
||||
</a>
|
||||
</h1>
|
||||
{% else %}
|
||||
<a href="{% route home %}" class="np-school-name np-header-font-color">
|
||||
{{ current_school.name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="np-hidden-mobile np-header-desktop-nav hidden-mobile">
|
||||
<ul class="np-header-desktop-nav-list">
|
||||
{% for website_navigation in navigations.header_navigations_external %}
|
||||
<li class= "np-header-desktop-nav-item">
|
||||
<a
|
||||
href="{{ website_navigation.path }}"
|
||||
class="np-header-desktop-nav-link np-header-font-color"
|
||||
target="_blank"
|
||||
>
|
||||
{{ website_navigation.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
<div class= "np-header-desktop-nav-link dropdown-nav start-here">
|
||||
Start Here
|
||||
<div class="header-dropdown-container">
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/grow-with-walmart-catalog">
|
||||
Grow with US
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% if us_user_supplier %}
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/welcome-to-walmart">
|
||||
Walmart US
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="np-header-desktop-nav-link dropdown-nav">
|
||||
Learn
|
||||
<div class="header-dropdown-container-row">
|
||||
<div class="header-dropdown-container-col">
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn title" > Explore All</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Getting+Paid%2CTransportation%2CEthics+and+Compliance%2CSam%27s+Club%2COnboarding%2CMerchandising%2CRetail+Basics%2CReplenishment%2CItem+Creation%2CPackaging+and+Labeling">
|
||||
Modules
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/learning_paths">
|
||||
Learning Paths
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/courses/a891fcb0-ed3a-4851-8e64-0f4f0b602c2d/activities">
|
||||
Help Docs
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/training_events">
|
||||
Training Events
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-dropdown-container-col">
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn title">Modules by Category</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Ethics%20and%20Compliance">
|
||||
Ethics and Compliance
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Getting%20Paid">
|
||||
Getting Paid
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Item%20Creation">
|
||||
Item Creation
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Merchandising">
|
||||
Merchandising
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Onboarding">
|
||||
Onboarding
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-dropdown-container-col">
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn title"> </a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Packaging%20and%20Labeling">
|
||||
Packaging and Labeling
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Replenishment">
|
||||
Replenishment
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Retail%20Basics">
|
||||
Retail Basics
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/catalog?search=Transportation">
|
||||
Transportation
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class= "np-header-desktop-nav-link dropdown-nav">
|
||||
Programs
|
||||
<div class="header-dropdown-container">
|
||||
{% if category_advisors %}
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/advisors">
|
||||
Category Advisors
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="/app/walmart-start">
|
||||
Walmart Start
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class= "np-header-desktop-nav-link dropdown-nav">
|
||||
Walmart Links
|
||||
<div class="header-dropdown-container">
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="https://supplierone.wal-mart.com/" target="_blank">
|
||||
Supplier One
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="header-dropdown-option">
|
||||
<a class="np-header-desktop-nav-link np-header-font-color header-dropdown-link start-here-btn" href="https://retaillink.login.wal-mart.com/" target="_blank">
|
||||
Retail Link
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<li class= "np-header-desktop-nav-item">
|
||||
<a href="/app/contact" class="np-header-desktop-nav-link np-header-font-color">
|
||||
Contact
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
<div class="np-hidden-mobile np-header-search np-header-search-expanded">
|
||||
<form action="{% route search %}" method="get" data-test="desktop-search">
|
||||
<input
|
||||
aria-label="{% t .search %}"
|
||||
class="np-header-search-input np-header-font-background-color search-input"
|
||||
type="text"
|
||||
name="q"
|
||||
placeholder="{% t .search %}"
|
||||
/>
|
||||
<i class="np-header-search-icon far fa-search"></i>
|
||||
</form>
|
||||
</div>
|
||||
<div class="hidden-desktop header-mobile-menu-nav">
|
||||
{% if current_person.signed_in? %}
|
||||
<button
|
||||
data-toggle-class="np-hidden"
|
||||
class="np-header-mobile-menu-nav-button fal fa-times np-hidden np-header-font-color"
|
||||
data-toggle-target=".np-header-mobile-avatar-menu,
|
||||
.np-header-mobile-menu-content, .np-main, .np-footer"
|
||||
></button>
|
||||
<button
|
||||
data-test="open-mobile-menu"
|
||||
data-toggle-class="np-hidden"
|
||||
class="np-header-mobile-menu-nav-button np-header-mobile-avatar-menu"
|
||||
data-toggle-target=".fa-times, .np-header-mobile-menu-content, .np-main, .np-footer"
|
||||
>
|
||||
<i class="fal fa-bars hamburger-menu"></i>
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="hidden-mobile np-header-avatar">
|
||||
<button
|
||||
class="np-header-avatar-button"
|
||||
data-test="open-desktop-menu"
|
||||
data-toggle-class-on-target="np-hidden"
|
||||
data-toggle-target=".np-header-avatar-tooltip"
|
||||
data-toggle-outside
|
||||
>
|
||||
<img
|
||||
alt="{{ current_person.name }}"
|
||||
class="np-header-avatar-image"
|
||||
src="{{ current_person.avatar_url }}"
|
||||
>
|
||||
</button>
|
||||
<div class="np-header-avatar-tooltip np-hidden" role="tooltip">
|
||||
<span class="np-header-avatar-tooltip-arrow-up"></span>
|
||||
<div class="np-header-avatar-tooltip-learner">
|
||||
<div class="np-header-avatar-tooltip-learner-name">
|
||||
{{ current_person.name }}
|
||||
</div>
|
||||
<div class="np-header-avatar-tooltip-learner-email">
|
||||
{{ current_person.email }}
|
||||
</div>
|
||||
</div>
|
||||
<nav class="np-header-avatar-tooltip-navigation">
|
||||
{% unless current_school.sso_active? %}
|
||||
<a
|
||||
class="np-header-avatar-tooltip-navigation-link"
|
||||
href="{% route account %}"
|
||||
>
|
||||
{% t .profile_settings %}
|
||||
</a>
|
||||
{% endunless %}
|
||||
<a
|
||||
class="np-header-avatar-tooltip-navigation-link np-danger"
|
||||
href="{% route logout %}"
|
||||
>
|
||||
{% t .sign_out %}
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<a
|
||||
class="np-header-sign-in np-header-desktop-nav-link np-header-font-color"
|
||||
aria-label="{% t shared.sign_in %}"
|
||||
href="{% route login %}">
|
||||
{% t shared.sign_in %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="hidden-desktop">
|
||||
<div class="np-header-mobile-menu-content np-hidden">
|
||||
{% if current_person.signed_in? %}
|
||||
<img
|
||||
alt="{{ current_person.name }}"
|
||||
class="np-header-mobile-menu-content-avatar"
|
||||
src="{{ current_person.avatar_url }}"
|
||||
/>
|
||||
<div class="np-header-mobile-menu-content-name">
|
||||
{{ current_person.name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="np-header-mobile-menu-content-nav">
|
||||
<form
|
||||
class="header-search"
|
||||
data-test="mobile-search"
|
||||
method="get"
|
||||
action="{% route search %}"
|
||||
>
|
||||
<input
|
||||
aria-label="{% t .search %}"
|
||||
class="header-mobile-search-input"
|
||||
type="text"
|
||||
name="q"
|
||||
placeholder="{% t .search %}"
|
||||
/>
|
||||
<i class="np-header-search-icon far fa-search"></i>
|
||||
</form>
|
||||
<a
|
||||
class="np-header-mobile-menu-content-button start-here-btn-mobile"
|
||||
href="/app/grow-with-walmart-catalog"
|
||||
>
|
||||
Start Here
|
||||
</a>
|
||||
{% for website_navigation in navigations.header_navigations %}
|
||||
{% unless website_navigation.name == 'Dashboard' %}
|
||||
<a
|
||||
href="{{ website_navigation.path }}"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
{% if website_navigation.external? %} target="_blank" {% endif %}
|
||||
>
|
||||
{% if website_navigation.name == '' %}
|
||||
|
||||
{% endif %}
|
||||
{{ website_navigation.name }}
|
||||
</a>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
<a
|
||||
href="/app/welcome-to-walmart"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Welcome to Walmart
|
||||
</a>
|
||||
<a
|
||||
href="/app/catalog"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Courses
|
||||
</a>
|
||||
<!-- <a
|
||||
href="/app/blog"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Blog
|
||||
</a> -->
|
||||
<a
|
||||
href="/courses/a891fcb0-ed3a-4851-8e64-0f4f0b602c2d/activities"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Help Docs
|
||||
</a>
|
||||
<div class="np-header-mobile-menu-content-line"></div>
|
||||
<a
|
||||
href="#"
|
||||
class="np-header-mobile-menu-content-button"
|
||||
>
|
||||
Contact
|
||||
</a>
|
||||
{% unless current_school.sso_active? %}
|
||||
<a
|
||||
class="np-header-mobile-menu-content-button"
|
||||
href="{% route account %}"
|
||||
>
|
||||
{% t .profile_settings %}
|
||||
</a>
|
||||
{% endunless %}
|
||||
<a
|
||||
class="np-header-mobile-menu-content-button np-danger"
|
||||
href="{% route logout %}"
|
||||
>
|
||||
{% t .sign_out %}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include "messages" %}
|
||||
|
||||
<style>
|
||||
.start-here-btn {
|
||||
color: #001e60;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.start-here-btn:hover {
|
||||
color:#0053E2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.np-header-desktop-nav-link {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 18px;
|
||||
font-weight:700;
|
||||
text-decoration: none;
|
||||
color: #0053e2;
|
||||
}
|
||||
|
||||
.header-dropdown-container {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
border: 1px solid #ccc;
|
||||
z-index: 100;
|
||||
width: fit-content;
|
||||
top: 55px;
|
||||
}
|
||||
|
||||
.header-dropdown-container-row {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
border: 1px solid #ccc;
|
||||
z-index: 100;
|
||||
width: 640px;
|
||||
top: 55px;
|
||||
left:-300px;
|
||||
}
|
||||
|
||||
.header-dropdown-container-col {
|
||||
float:left;
|
||||
width: 33.33%;
|
||||
height: 325px;
|
||||
}
|
||||
|
||||
.start-here {
|
||||
display:block;
|
||||
font-weight: bold;
|
||||
}
|
||||
.np-header-desktop-nav-link:hover .header-dropdown-container-row {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.np-header-desktop-nav-link:hover .header-dropdown-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header-dropdown-option a {
|
||||
text-align: left;
|
||||
font-size:18px;
|
||||
}
|
||||
|
||||
.header-dropdown-option {
|
||||
display: block;
|
||||
padding: 15px;
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
font-size:18px;
|
||||
}
|
||||
.dropdown-nav {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.header-dropdown-option:hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
.hidden-mobile {
|
||||
display: none;
|
||||
}
|
||||
.hidden-desktop {
|
||||
display: block;
|
||||
}
|
||||
.header-mobile-menu-nav {
|
||||
margin-left: 20px;
|
||||
}
|
||||
.hamburger-menu {
|
||||
color: #fff;
|
||||
}
|
||||
.header-search {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.header-mobile-search-input {
|
||||
width: 100%;
|
||||
padding: 13px;
|
||||
}
|
||||
.start-here-btn-mobile {
|
||||
background: #FFC220;
|
||||
}
|
||||
@media only screen and (min-width: 1100px) {
|
||||
.hidden-mobile {
|
||||
display: flex;
|
||||
}
|
||||
.hidden-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.np-header-mobile-menu-content {
|
||||
top: 110px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-container">
|
||||
<div class="modal-logo">
|
||||
<img class="modal-logo-img" src="https://cdn.filestackcontent.com/security=policy:eyJleHBpcnkiOjQ4ODEyOTI3OTAsImNhbGwiOlsicmVhZCIsImNvbnZlcnQiLCJzdG9yZSIsInBpY2siLCJyZW1vdmUiXX0=,signature:1ced31330ca94f7126cb6541f569f7c3caa2d116af79ee6644ee173fafdba070/glXgXFmuT2KPDDWoWnHg" alt="">
|
||||
<img class="modal-logo-img" src="https://cdn.filepicker.io/security=policy:eyJleHBpcnkiOjQ5MDE3MzM4NTQsImNhbGwiOlsicmVhZCIsImNvbnZlcnQiLCJzdG9yZSIsInBpY2siLCJyZW1vdmUiXX0=,signature:45632331d229e721a9670c0f940a2845467523a6398aa7ee0de80e7e59d8aa7a/glXgXFmuT2KPDDWoWnHg" alt="">
|
||||
</div>
|
||||
<div class="modal-content-container">
|
||||
<div class="modal-descirption">
|
||||
@ -268,7 +268,7 @@
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
if (localStorage.getItem("modalFilled") === "true") {
|
||||
if (localStorage.getItem("modalFilled") == "true") {
|
||||
document.getElementsByClassName('overlay-modal')[0].style.display = 'none';
|
||||
}
|
||||
|
||||
|
||||
@ -0,0 +1,74 @@
|
||||
<div class="welcome-section-container">
|
||||
<div class="banner-wrapper">
|
||||
<div class="banner-container">
|
||||
<div class="banner-image-wrapper">
|
||||
<img src="https://i5.walmartimages.com/dfwrs/76316474-db51/k2-_601f906b-f154-4d2f-bd26-124fcb50dd19.v1.png" width="100%" height="100%">
|
||||
<!-- <div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/1079908425?h=e98c3e5ac7&badge=0&autopause=0&player_id=0&app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media" style="position:absolute;top:0;left:0;width:100%;height:100%;" title="Welcome to Walmart Intro Video"></iframe>
|
||||
</div><script src="https://player.vimeo.com/api/player.js"></script>-->
|
||||
</div>
|
||||
<div class="banner-content-container">
|
||||
<div class="banner-descirption">
|
||||
<b>Direct Import</b><br><br>
|
||||
Our learning paths are built to guide you through the processes, expectations, and opportunites — so you can grow your business with confidence. Whether you're just getting started or looking to expand your partnership, we are here to support every step of your journey.
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
.banner-wrapper {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.banner-img {
|
||||
width: 100%;
|
||||
}
|
||||
.banner-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.banner-descirption {
|
||||
font-size: 25px;
|
||||
}
|
||||
.bold-text {
|
||||
font-weight: 700;
|
||||
}
|
||||
.deatils-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.banner-image-wrapper {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
.banner-content-container {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
@media only screen and (max-width: 900px) {
|
||||
.banner-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 500px) {
|
||||
.banner-descirption{
|
||||
font-size: 17px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,73 @@
|
||||
<div class="welcome-section-container">
|
||||
<div class="banner-wrapper">
|
||||
<div class="banner-container">
|
||||
<div class="banner-image-wrapper">
|
||||
<img src="https://i5.walmartimages.com/dfwrs/76316474-3068/k2-_4148d92b-6b29-43bd-a6b9-2a1ec9e446a9.v1.png" width="100%" height="100%">
|
||||
<!-- <div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/1079908425?h=e98c3e5ac7&badge=0&autopause=0&player_id=0&app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media" style="position:absolute;top:0;left:0;width:100%;height:100%;" title="Welcome to Walmart Intro Video"></iframe>
|
||||
</div><script src="https://player.vimeo.com/api/player.js"></script>-->
|
||||
</div>
|
||||
<div class="banner-content-container">
|
||||
<div class="banner-descirption">
|
||||
<b>Open Call</b><br><br>
|
||||
Through Open Call, We are proud to cerate pathways for small and mid-size businesses to grpw while hekping them deliver value and choice from millions of customers.]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
.banner-wrapper {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.banner-img {
|
||||
width: 100%;
|
||||
}
|
||||
.banner-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.banner-descirption {
|
||||
font-size: 25px;
|
||||
}
|
||||
.bold-text {
|
||||
font-weight: 700;
|
||||
}
|
||||
.deatils-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.banner-image-wrapper {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
.banner-content-container {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
@media only screen and (max-width: 900px) {
|
||||
.banner-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 500px) {
|
||||
.banner-descirption{
|
||||
font-size: 17px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,41 @@
|
||||
{% if current_person.properties.first_login == true %}
|
||||
<script>
|
||||
window.location.replace('/app');
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% assign in_progress_courses = 0 %}
|
||||
{% for course in courses.enrolled %}
|
||||
{% if course.progress > 0 and course.progress < 100 %}
|
||||
{% assign in_progress_courses = in_progress_courses | plus: 1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% include "headerstart" %}
|
||||
{% include "course_version_outdated_alert", courses: courses.featured %}
|
||||
<main class="np-main np-catalog np-subpage-container np-max-width">
|
||||
{% include 'welcome_section_di' %}
|
||||
<div class="lps-wrapper grid">
|
||||
{% for learning_path in learning_paths.enrolled %}
|
||||
{% for category in learning_path.categories %}
|
||||
{% if category.name == "Direct Import Onboarding" %}
|
||||
{% include "cards_learning_paths_squares" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
|
||||
<style>
|
||||
.grid {
|
||||
Display: Flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.grid {
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,41 @@
|
||||
{% if current_person.properties.first_login == true %}
|
||||
<script>
|
||||
window.location.replace('/app');
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% assign in_progress_courses = 0 %}
|
||||
{% for course in courses.enrolled %}
|
||||
{% if course.progress > 0 and course.progress < 100 %}
|
||||
{% assign in_progress_courses = in_progress_courses | plus: 1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% include "headerstart" %}
|
||||
{% include "course_version_outdated_alert", courses: courses.featured %}
|
||||
<main class="np-main np-catalog np-subpage-container np-max-width">
|
||||
{% include 'welcome_section_opencall' %}
|
||||
<div class="lps-wrapper grid">
|
||||
{% for learning_path in learning_paths.enrolled %}
|
||||
{% for category in learning_path.categories %}
|
||||
{% if category.name == "Sam's Club" %}
|
||||
{% include "cards_learning_paths_squares" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
|
||||
<style>
|
||||
.grid {
|
||||
Display: Flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.grid {
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
@ -249,6 +249,9 @@ section {
|
||||
.slick-slide {
|
||||
height: auto !important;
|
||||
}
|
||||
.np-search-result-snippet {
|
||||
color: #1B3E4F;
|
||||
}
|
||||
.carousel-filter-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
@ -0,0 +1,41 @@
|
||||
{% if current_person.properties.first_login == true %}
|
||||
<script>
|
||||
window.location.replace('/app');
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% assign in_progress_courses = 0 %}
|
||||
{% for course in courses.enrolled %}
|
||||
{% if course.progress > 0 and course.progress < 100 %}
|
||||
{% assign in_progress_courses = in_progress_courses | plus: 1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% include "headerstart" %}
|
||||
{% include "course_version_outdated_alert", courses: courses.featured %}
|
||||
<main class="np-main np-catalog np-subpage-container np-max-width">
|
||||
{% include 'welcome_section_walmart' %}
|
||||
<div class="lps-wrapper grid">
|
||||
{% for learning_path in learning_paths.enrolled %}
|
||||
{% for category in learning_path.categories %}
|
||||
{% if category.name == "Sam's Club" %}
|
||||
{% include "cards_learning_paths_squares" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
|
||||
<style>
|
||||
.grid {
|
||||
Display: Flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.grid {
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user