diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store b/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store index 5008ddfc..62a3bb9e 100644 Binary files a/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store and b/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_faq_section.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_faq_section.html.liquid index 9303b135..ce318bf5 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_faq_section.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_faq_section.html.liquid @@ -76,7 +76,7 @@
- The Supplier Academy team is happy to help support your learning. Email supplierdevelopment@walmart.com and we will respond as soon as possible. + The Supplier Academy team is happy to help support your learning. Use the form here to contact us and we will respond as soon as possible.
@@ -91,15 +91,12 @@
- Yes. Please send all feedback to supplierdevelopment@walmart.com. + We welcome all feedback! Please contact us here.
-
- Contact supplierdevelopment@walmart.com for additional support. -
- + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid index cf80eab3..5e94fc5a 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid @@ -10,6 +10,24 @@ {{ color_palette.header_color }} */ +@font-face { + font-family: "EverydaySans"; + src: url(https://s3.us-east-1.amazonaws.com/static.northpass.com/walmart-supplier/fonts/EverydaySansUI-Italic-VF_wght.ttf); + font-style: italic; +} + +@font-face { + font-family: "EverydaySans"; + src: url(https://s3.us-east-1.amazonaws.com/static.northpass.com/walmart-supplier/fonts/EverydaySansUITT-Bold.ttf); + font-style: bold; +} + +@font-face { + font-family: "EverydaySans"; + src: url(https://s3.us-east-1.amazonaws.com/static.northpass.com/walmart-supplier/fonts/EverydaySansUITT-Regular.ttf); + font-style: normal; +} + @font-face { font-family: "Bogle"; src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Regular.OTF); @@ -64,7 +82,7 @@ body, html { - font-family: "Bogle", "Roboto", sans-serif; + font-family: "EverydaySans", "Bogle", "Roboto", sans-serif; color: #fff; } @@ -263,8 +281,8 @@ height: 20px; .filter-content { position: absolute; - top: 100%; - width: 250px; + top: 100%; + width: 250px; background-color: #fff; border: 1px solid #ccc; border-radius: 4px; @@ -273,7 +291,7 @@ height: 20px; gap: 10px; max-height: 0; overflow: hidden; - transition: max-height 0.4s ease, width 0.4s ease; + transition: max-height 0.4s ease, width 0.4s ease; z-index: 111; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 5px; @@ -299,8 +317,8 @@ height: 20px; .filter-active .filter-content { display: flex; - max-height: 500px; - width: 250px; + max-height: 500px; + width: 250px; } .card-course-container { margin-bottom: 20px; @@ -352,4 +370,4 @@ height: 20px; .np-header-logo-image { height: 20px; } -} \ No newline at end of file +} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Sandbox/.DS_Store b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_header.html.liquid index f99f5d00..8e6c4ee5 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_header.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_header.html.liquid @@ -58,23 +58,16 @@ {% endfor %} - - - + - - -
  • - - @@ -346,7 +316,6 @@ .np-header-desktop-nav-link { font-size: 20px; font-weight: 500; - } .header-dropdown-container { @@ -357,7 +326,6 @@ z-index: 10; width: fit-content; top: 40px; - left: -20px; } .np-header-desktop-nav-link:hover .header-dropdown-container { @@ -366,7 +334,7 @@ .header-dropdown-option { display: block; - padding: 15px; + padding: 15px; color: black; text-decoration: none; white-space: nowrap; @@ -376,12 +344,17 @@ display: flex; align-items: center; color: #fff; - + margin-left: 15px; } .header-dropdown-option:hover { background-color: #f0f0f0; } + +.header-dropdown-option:hover { + background-color: #f0f0f0; +} + .hidden-mobile { display: none; } diff --git a/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_walmart-start.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_walmart-start.html.liquid new file mode 100644 index 00000000..d967bde4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_walmart-start.html.liquid @@ -0,0 +1,115 @@ + +
    + +
    +
    +
    + Need Assistance? +
    +
    + If you are experiencing issues accessing Supplier Academy content please contact +
    +
    +
    + Usuarios Crece con Walmart: ¡Has activado exitosamente tu cuenta en Crece con Walmart! Nos alegra que estés aquí. +
    +
    + Nos encontramos validando tu cuenta, -nos tomará menos de 24 horas-. ¡Pronto podrás disfrutar de los cursos, herramientas y el acompañamiento que te permitirá llevar tu negocio al siguiente nivel! +
    +
    +
    + +
    +
    +
    + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_walmart-start_banners.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_walmart-start_banners.html.liquid new file mode 100644 index 00000000..f19f5ebc --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/_walmart-start_banners.html.liquid @@ -0,0 +1,81 @@ +{% if current_person.properties.first_login == true %} + +{% endif %} + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Sandbox/contact.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/contact.html.liquid new file mode 100644 index 00000000..69a9cb27 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/contact.html.liquid @@ -0,0 +1,23 @@ +{% if current_person.properties.first_login == true %} + +{% endif %} + +{% include "header" %} +{% include "sub_navigation" %} +
    + + + +
    + +{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Sandbox/walmart-start.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/walmart-start.html.liquid new file mode 100644 index 00000000..46089bef --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Sandbox/walmart-start.html.liquid @@ -0,0 +1,37 @@ +{% if current_person.properties.first_login == true %} + +{% endif %} + +{% include "header" %} +{% include "sub_navigation" %} +
    + +{% include 'walmart-start_banners' %} + + +
    + {% for learning_path in learning_paths.enrolled %} + {% for category in learning_path.categories %} + {% if us_user_grow %} + {% if category.name == 'Grow With Walmart' %} + {% include "cards_learning_path" %} + {% endif %} + {% endif %} + {% endfor %} + {% endfor %} + + + +
    + +{% include "footer" %} + + \ No newline at end of file diff --git a/Scripts/tmp.js b/Scripts/tmp.js new file mode 100644 index 00000000..5a9edb01 --- /dev/null +++ b/Scripts/tmp.js @@ -0,0 +1,166 @@ + window.addEventListener( + "message", + (event) => { + if(event.origin.indexOf('qualtrics.com') > -1){ + let footer = document.querySelector('footer'); + + if(footer !== null){ + footer.querySelector('.deLeqc').children[0].replaceWith(preservedContinueButton); + } + } + }, + false, + ); + + window.onload = () => { + hideNextCourseButtonLp(); + autoFSMutationObserver(); + eoqMutationObserver(); + mockMilestoneMutationObserver(); + }; + + let autoFSMutationObserver = () => { + let observer; + + let config = { + attributes: true, + childList: true, + subtree: true + }; + + observer = new MutationObserver(() => { + let fullscreenButton = document.querySelector('button[data-test="with-fullscreen-button"]'); + + if(fullscreenButton){ + if(!document.querySelector('.iSRNPB')){ + setTimeout(() => { + fullscreenButton.click(); + observer.disconnect(); + observer.observe(document, config); + }, 500); + } + + } + }) + + observer.observe(document, config); + } + + function hideNextCourseButtonLp() { + let observer = new MutationObserver(callback); + let config = { attributes: true, childList: true, subtree: true }; + observer.observe(document.body, config); + } + function callback(mutationsList, observer) { + for(let mutation of mutationsList) { + if (mutation.type === 'childList') { + let button = document.querySelector('[data-test="primary-button"]'); + if (button) { + if (window.location.pathname.includes('learning_paths')) { + button.style.display = 'none'; + } + } + } + } + } + + let eoqMutationObserver = () => { + let observer; + + let config = { + attributes: true, + childList: true, + subtree: true + }; + + let observeStarter = () => { + observer.observe(document,config); + } + + let callback1 = () => { + if(document.querySelector('[data-test="activity-title"]').innerHTML == 'Personal Lines Checkpoint 1') { + document.querySelector('[data-test="continue-button"]').style.color = "grey"; + document.querySelector('[data-test="continue-button"]').style.background = "orange"; + } + observer.disconnect(); + observeStarter(); + }; + let callback2 = () => { + if(document.querySelector('[data-test="activity-title"]').innerHTML == 'Personal Lines Checkpoint 1') { + document.querySelector('[data-test="continue-button"]').style.color = "purple"; + document.querySelector('[data-test="continue-button"]').style.background = "white"; + } + observer.disconnect(); + observeStarter(); + }; + + + observer = new MutationObserver(() => { + if(document.querySelector('[data-test="activity-body"]')){ + callback1(); + }; + + if(document.querySelector('#EndOfSurvey')) { + callback2(); + }; + + }) + + observer.observe(document, config); + } + /* + let preservedContinueButton; + let mockMilestoneMutationObserver = () => { + let config = { + attributes: true, + childList: true, + subtree: true + }; + + let mockMilestoneObserver = new MutationObserver(() => { + let activityTitle = document.querySelector('[data-test="activity-title"]'); + let footer = document.querySelector('footer'); + + if(activityTitle && + (activityTitle.textContent.toLowerCase().indexOf('feedback') > -1) && + footer){ + let navButtons = footer.querySelector('.deLeqc').children; + preservedContinueButton = navButtons[0]; + + if(navButtons != null){ + let mockMilestoneWrapper = document.createElement('div'); + mockMilestoneWrapper.setAttribute('title', 'Please make sure to complete the survey to continue'); + mockMilestoneWrapper.setAttribute('aria-describedby', ':r0:'); + + let mockMilestoneButton = document.createElement('button'); + mockMilestoneButton.classList.add('ButtonContainer-sc-1lz9u5r-2'); + mockMilestoneButton.classList.add('dxvqSB'); + mockMilestoneButton.setAttribute('type', 'button'); + mockMilestoneButton.setAttribute('data-test', 'disabled-continue-button'); + mockMilestoneButton.setAttribute('disabled', true); + + let mockMilestoneText = document.createElement('span'); + mockMilestoneText.classList.add('Label-sc-1lz9u5r-0'); + mockMilestoneText.classList.add('hlPxhH'); + mockMilestoneText.textContent = 'Continue'; + + let mockMilestoneChevron = document.createElement('i'); + mockMilestoneChevron.classList.add('chevron'); + mockMilestoneChevron.classList.add('chevron--right'); + mockMilestoneChevron.classList.add('far'); + mockMilestoneChevron.classList.add('fa-chevron-right'); + mockMilestoneChevron.setAttribute('data-test','chevron'); + + mockMilestoneWrapper.appendChild(mockMilestoneButton); + mockMilestoneButton.appendChild(mockMilestoneText); + mockMilestoneButton.appendChild(mockMilestoneChevron); + + navButtons[0].replaceWith(mockMilestoneWrapper); + } + mockMilestoneObserver.disconnect(); + } + }) + + mockMilestoneObserver.observe(document, config); + */ + } diff --git a/Tasks.md b/Tasks.md index cbfba38b..b25c7252 100644 --- a/Tasks.md +++ b/Tasks.md @@ -4,15 +4,29 @@ - [ ] Revert auto-adding of badges to post-new hire dash. Badges should only show when course `97d78ff7-e82b-4f1d-b142-d5ad51fba433` is completed. - 04-15-2025 ## BuilderTrend -- [ ] Ask CSSC about release notes. Cam said he uses a Data designer to merge learner and client data. Wants to know if he can remove the data designer. - 04-16-2025 +- [X] Ask CSSC about release notes. Cam said he uses a Data designer to merge learner and client data. Wants to know if he can remove the data designer. - 04-16-2025 ## DeepL - [X] Send Daniela instructions on how to update languages in templates. - 04-22-2025 - [ ] Ask if product will add an export button to the new access tab or have a dashboard around enrollment source. - 04-22-2025 ## Pipedrive -- [ ] June LP Launch - test adding an LP to the getting started section under "Academy Courses" +- [ ] June LP Launch - test adding an LP to the getting started section under "Academy Courses" - 04-22-2025 ## Arbor Education - [ ] Check that billing contact is not Claire. - 04-22-2025 - [ ] Move academy to open access & upload domain blocking code - 04-22-2025 + +## Walmart Scintilla +- [ ] Make the Basic LMS view templates live in prod - 04-23-2025 + +## Walmart Supplier +- [ ] Follow up with Phillip re: the group deletion question - 04-23-2025 +- [ ] Move Production templates to Sandbox +- [ ] Upload font files to S3 and make appropriate changes in templates/custom css + +## Walmart Volt +- [ ] Start compiling ticket list and notes to send to Dan Kardell. + + +