Glassdoor notes, some Mizuno templates & a script

This commit is contained in:
Norm Rasmussen
2023-07-06 16:53:42 -04:00
parent 407cdafa47
commit 013ba5b9a1
305 changed files with 293 additions and 366 deletions

View File

@ -1,19 +1,23 @@
{% assign groupValidator = false %}
{% for group in current_person.groups %}
{% if group %}
{% assign groupValidator = true %}
{% unless current_person.email contains '+preview' %}
{% assign ready = false %}
{% if current_person.signed_in? %}
{% if current_person.properties.city
and current_person.properties.state
and current_person.properties.store_name
and current_person.properties.city.size > 0
and current_person.properties.state.size > 0
and current_person.properties.store_name.size > 0
%}
{% assign ready = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if current_person.signed_in? and groupValidator == false %}
{% unless current_person.email contains '+preview-' %}
{% if ready == false %}
<script>
if (window.location.pathname != '/app/sign-up-follow-up'){
window.location.replace('/app/sign-up-follow-up');
}
window.location.href = '/app/sign-up-follow-up'
</script>
{% endunless %}
{% endif %}
{% endif %}
{% endunless %}
<header>
{% if current_school.logo_url %}
@ -32,50 +36,66 @@
</a>
{% endif %}
<div class="np-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-hidden-mobile np-header-desktop-nav">
<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 %}
</ul>
</div>
{%- comment -%} Desktop Profile Tooltip {%- endcomment -%}
<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 class="np-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>
{%- comment -%} Desktop Profile Tooltip {%- endcomment -%}
<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>
<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>
<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>
</header>
@ -90,8 +110,8 @@
background-color: #001588;
display: flex;
flex-direction: row;
justify-content: space-between;
padding-right: 70px;
justify-content: center;
margin-bottom: 15px;
}
.mizuno-logo{
@ -103,13 +123,23 @@
.np-header-logo-image {
display: block;
margin: auto;
height: 120px;
height: 90px;
}
@media screen and (min-width: 768px){
header {
justify-content: space-between;
margin-bottom: 18px;
padding-right: 70px;
}
.mizuno-logo {
padding: 30px 70px;
padding: 20px 50px;
justify-content: flex-start !important;
}
.np-header-desktop-nav{
align-items: center;
}
}
</style>

View File

@ -1,4 +1,4 @@
<div class="homepage-section angled-section promo-angled-section">
<div class="homepage-section angled-section promo-angled-section">
<div class="homepage-section-container angled-section-container np-header-font-color">
<div class="np-homepage-headline-mini np-header-font-color">
About Mizuno
@ -7,11 +7,7 @@
It is our mission to not only meet the demands of those who are sincere athletes but also those who believe in the value of sports by offering superior goods and services. We pursue new height in sports and beyond.
</div>
<div class="video-container">
<iframe id="video" class="mizuno-promo-video" width="1000" height="500" src="https://www.youtube.com/embed/yBD3_0fq_Ug" title="Mizuno Reach Beyond Promo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;" allowfullscreen></iframe>
{% comment %}
<iframe id="video" class="mizuno-promo-video" width="1000" height="500" src="https://youtu.be/yBD3_0fq_Ug" title="Mizuno Reach Beyond Promo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;" allowfullscreen></iframe>
{% endcomment %}
</div>
<div class="np-homepage-headline-mini np-header-font-color">
Our Vision
@ -74,4 +70,4 @@
height: 500px;
}
}
</style>
</style>

View File

@ -0,0 +1,59 @@
<select
class="sign-up-dropdown np-input"
type="text"
name="state-dropdown"
id="sign-up-state-dropdown"
required
>
<option class="second-login-group-option" value="" selected disabled hidden>State</option>
<option class="second-login-state-option" value="AL">Alabama</option>
<option class="second-login-state-option" value="AK">Alaska</option>
<option class="second-login-state-option" value="AZ">Arizona</option>
<option class="second-login-state-option" value="AR">Arkansas</option>
<option class="second-login-state-option" value="CA">California</option>
<option class="second-login-state-option" value="CO">Colorado</option>
<option class="second-login-state-option" value="CT">Connecticut</option>
<option class="second-login-state-option" value="DE">Delaware</option>
<option class="second-login-state-option" value="FL">Florida</option>
<option class="second-login-state-option" value="GA">Georgia</option>
<option class="second-login-state-option" value="HI">Hawaii</option>
<option class="second-login-state-option" value="ID">Idaho</option>
<option class="second-login-state-option" value="IL">Illinois</option>
<option class="second-login-state-option" value="IN">Indiana</option>
<option class="second-login-state-option" value="IA">Iowa</option>
<option class="second-login-state-option" value="KS">Kansas</option>
<option class="second-login-state-option" value="KY">Kentucky</option>
<option class="second-login-state-option" value="LA">Louisiana</option>
<option class="second-login-state-option" value="ME">Maine</option>
<option class="second-login-state-option" value="MD">Maryland</option>
<option class="second-login-state-option" value="MA">Massachusetts</option>
<option class="second-login-state-option" value="MI">Michigan</option>
<option class="second-login-state-option" value="MN">Minnesota</option>
<option class="second-login-state-option" value="MS">Mississippi</option>
<option class="second-login-state-option" value="MO">Missouri</option>
<option class="second-login-state-option" value="MT">Montana</option>
<option class="second-login-state-option" value="NE">Nebraska</option>
<option class="second-login-state-option" value="NV">Nevada</option>
<option class="second-login-state-option" value="NH">New Hampshire</option>
<option class="second-login-state-option" value="NJ">New Jersey</option>
<option class="second-login-state-option" value="NM">New Mexico</option>
<option class="second-login-state-option" value="NY">New York</option>
<option class="second-login-state-option" value="NC">North Carolina</option>
<option class="second-login-state-option" value="ND">North Dakota</option>
<option class="second-login-state-option" value="OH">Ohio</option>
<option class="second-login-state-option" value="OK">Oklahoma</option>
<option class="second-login-state-option" value="OR">Oregon</option>
<option class="second-login-state-option" value="PA">Pennsylvania</option>
<option class="second-login-state-option" value="RI">Rhode Island</option>
<option class="second-login-state-option" value="SC">South Carolina</option>
<option class="second-login-state-option" value="SD">South Dakota</option>
<option class="second-login-state-option" value="TN">Tennessee</option>
<option class="second-login-state-option" value="TX">Texas</option>
<option class="second-login-state-option" value="UT">Utah</option>
<option class="second-login-state-option" value="VT">Vermont</option>
<option class="second-login-state-option" value="VA">Virginia</option>
<option class="second-login-state-option" value="WA">Washington</option>
<option class="second-login-state-option" value="WV">West Virginia</option>
<option class="second-login-state-option" value="WI">Wisconsin</option>
<option class="second-login-state-option" value="WY">Wyoming</option>
</select>

View File

@ -1,11 +1,17 @@
<nav class="np-sub-navigation">
<div class="np-sub-navigation-content">
<div class="np-sub-navigation-content-item">
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
<a class="np-sub-navigation-content-item-link" href="https://mizunogolf.com" target="_blank">
MizunoGolf.com
</a>
</div>
{% for link in navigations.sub_navigation %}
{% if link.label == 'Home' %}
<div class="np-sub-navigation-content-item {{ link.active_class }}">
{% if link.label == 'Catalog' %}
<div class="np-sub-navigation-content-item {{ link.active_class }}" style="display: none">
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
<a class="np-sub-navigation-content-item-link" href="https://mizunogolf.com" target="_blank">
MizunoGolf.com
<a class="np-sub-navigation-content-item-link" href="{{ link.url }}">
{{ link.label }}
</a>
</div>
{% else %}

View File

@ -1,191 +1,80 @@
{% if current_person.signed_in? == false %}
{% include "header_special" %}
<div class="sub-header-angled-section"></div>
{% include "course_version_outdated_alert", courses: courses.featured %}
{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}
<main class="np-main np-homepage">
<div class="np-homepage-hero">
<a href="https://www.mizunousa.com" target="_blank">
<img
alt="{{ current_school.name }}"
class="np-homepage-hero-logo-image"
src="https://s3.amazonaws.com/static.northpass.com/Mizuno+Golf/logo.png"
/>
</a>
<div class="np-homepage-hero-content">
<div class="np-homepage-headline np-header-font-color">
Mizuno Academy
</div>
<div class="np-homepage-subheadline np-header-font-color">
Founded in Osaka, Japan, Mizuno has been dedicated to creating premium performance gear for all sports lovers for over a century. Our mission is to contribute to society through the advancement of sporting goods and the promotion of sports. Mizuno Academy serves as your dedicated platform for all Mizuno product information, training, and certification. Begin your journey today and become a Mizuno Pro.
</div>
<div class="hero-sign-up-cta np-header-font-color">
<a class="hero-sign-up-cta-link" href="{% route sign_up %}">Become a Pro </a><span class="fal fa-arrow-right"></span>
</div>
<main class="np-main np-homepage">
<div class="np-homepage-hero">
<img class="np-homepage-hero-image"
src="{{ homepage.artwork_url }}"
alt="{{ homepage.headline }}"
/>
</div>
{%- comment -%} {% include "sub_navigation" %} {%- endcomment -%}
<div class="np-homepage-featured np-max-width">
<div class="np-homepage-featured-text">
<div class="np-homepage-headline">
{{ homepage.featured_courses_headline }}
</div>
<div class="np-homepage-subheadline">
{{ homepage.featured_courses_subheadline }}
</div>
</div>
{% include "mizuno_promo" %}
{% include "homepage_panels_section" %}
</main>
{% include "footer_special" %}
{% else %}
<script>
window.location.href = '/app/dashboard'
</script>
{% endif %}
{% if courses.featured.any? %}
<div class="np-homepage-featured-courses row">
{% for course in courses.featured %}
{% if course.id == '9b02fce5-9044-450e-a4d9-4160754e4599' %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
{% include "cards_course" with course %}
</div>
{% else %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
{% include "cards_course" with course %}
</div>
{% endif %}
{% endfor %}
</div>
{% else %}
<div class="np-homepage-featured-empty">
<div class="np-zero-state-text">
{% t .empty, key: current_school.course_vocabulary %}
</div>
<img
class="np-zero-state-courses"
alt="{% t .empty, key: current_school.course_vocabulary %}"
/>
</div>
{% endif %}
</div>
</main>
{% include "footer" %}
<style>
.np-homepage{
margin-bottom: 0;
margin-top: -18px;
}
.sub-header-angled-section{
content: "";
width: 100%;
background-color: #001588;
height: calc(100% + 200px);
position: absolute;
top: 0;
left: 0;
transform-origin: left bottom;
transform: skewY(9deg);
.np-homepage-hero-image{
height: auto;
margin-bottom: -4px;
max-height: none;
max-width: 100%;
min-height: 0;
min-width: 0;
}
.np-homepage-hero{
background-color: transparent;
height: 445px;
margin-bottom: 90px;
}
@media screen and (min-widthL 768px){
.np-homepage{
margin-top: 0;
}
.np-homepage-hero-logo-image{
height: 250px;
max-height: 35%;
margin-top: -50px;
}
.np-homepage-hero .np-homepage-subheadline,
.homepage-section .np-homepage-subheadline {
font-size: 20px;
margin-bottom: 30px;
}
.hero-sign-up-cta{
font-size: 27px;
}
.np-homepage-hero .np-homepage-subheadline,
.homepage-section .np-homepage-subheadline,
.hero-sign-up-cta{
opacity: 1;
}
.np-homepage-headline-mini{
font-size: 1.25rem;
font-weight: 900;
}
.hero-sign-up-cta-link{
color: #ffffff;
text-decoration: underline 2px solid #ffffff;
}
.video-container{
margin-bottom: 50px;
}
@media screen and (min-width: 400px){
.sub-header-angled-section{
transform: skewY(7deg);
.np-homepage-hero-image{
max-height: 500px;
}
}
@media screen and (min-width: 465px){
.sub-header-angled-section{
transform: skewY(6deg);
@media only screen and (min-width: 75em){
#mizuno_special_course {
flex-basis: 40.333333%;
max-width: 40.333333%;
}
}
@media screen and (min-width: 768px){
.sub-header-angled-section{
transform: skewY(8deg);
}
.np-homepage-hero{
height: 785px;
width: 70%;
margin: auto;
}
.np-homepage-hero-logo-image{
height: 250px;
margin-top: -50px;
}
.np-homepage-hero .np-homepage-headline {
font-size: 64px;
margin-bottom: 35px;
font-weight: 700;
}
.np-homepage-headline-mini{
font-size: 48px;
margin-bottom: 35px;
font-weight: 700;
}
.np-homepage-hero .np-homepage-subheadline,
.homepage-section .np-homepage-subheadline {
font-size: 25px;
margin-bottom: 35px;
}
.hero-sign-up-cta{
font-size: 36px;
font-weight: 600;
}
.homepage-section-container{
width: 70%;
}
.video-container{
margin-bottom: 70px;
}
}
@media screen and (min-width: 850px){
.np-homepage-hero{
height: 685px;
}
}
@media screen and (min-width: 1000px){
.sub-header-angled-section{
transform: skewY(6deg);
}
}
@media screen and (min-width: 1100px){
.sub-header-angled-section{
transform: skewY(4deg);
}
.np-homepage-hero{
height: 585px;
}
}
@media screen and (min-width: 2000px){
.np-homepage-hero{
margin-top: 100px;
}
}
@media screen and (min-width: 2500px){
.np-homepage-hero{
margin-top: 150px;
}
}
</style>
</style>

View File

@ -1,41 +0,0 @@
<select
class="sign-up-dropdown np-input"
type="text"
name="group-dropdown"
id="sign-up-group-dropdown"
required
>
<option class="second-login-group-option" value="bf21c4c8-6411-4248-9a21-d8afc3acf039">Brett Lamotte Accounts</option>
<option class="second-login-group-option" value="70721b80-d2fb-4b35-b134-10330f05dcd4">Brett Ramsey Accounts</option>
<option class="second-login-group-option" value="6da6e47f-2206-49a1-accf-5b7a0f4c9887">Brian Morgan Accounts</option>
<option class="second-login-group-option" value="48de99d6-9b64-4ad4-9c50-3372570805be">Brian Uvena Accounts</option>
<option class="second-login-group-option" value="e9c26981-54d8-4cf3-9597-815af352babf">Chris Campbell Accounts</option>
<option class="second-login-group-option" value="34ae2b61-3569-419d-83fd-6fe94c3af98d">Chuck Henry Accounts</option>
<option class="second-login-group-option" value="604495a4-5dcb-476b-9734-2bacec5d6ba4">Coby Davis Accounts</option>
<option class="second-login-group-option" value="9a14b3e2-feae-43e9-a1be-8f0a38da4ce6">David Miller Accounts</option>
<option class="second-login-group-option" value="59cc85c5-b6cc-4b84-96c2-306de83c7b81">Eli Wiecking Accounts</option>
<option class="second-login-group-option" value="db75d394-23b6-4060-944a-a779c62bab3f">Eric Kobylinski Accounts</option>
<option class="second-login-group-option" value="0e568fee-5bc4-4405-8729-009baea752f4">Jalen Hodges Accounts</option>
<option class="second-login-group-option" value="e57e371e-d791-463e-949c-c265dad88725">Jarrod Moore Accounts</option>
<option class="second-login-group-option" value="81540a2f-420c-40fd-8d00-d02b042247b4">Jason Libby Accounts</option>
<option class="second-login-group-option" value="edeccc46-77fa-4692-ba3c-8bcb368b2f83">Jeff Homady Accounts</option>
<option class="second-login-group-option" value="c78d63f9-0e17-4143-a0ee-25bed96ae3f0">Joe Bauer Accounts</option>
<option class="second-login-group-option" value="2643abe5-7fc2-477c-92ac-dd15abe7e2a4">Jon Eggleton Accounts</option>
<option class="second-login-group-option" value="6d5a5f84-c32e-4c02-8939-21254a5d20f0">Josh Knipp Accounts</option>
<option class="second-login-group-option" value="5e6ba0a9-6978-4143-9180-11bdd039459b">Kim Henderson Accounts</option>
<option class="second-login-group-option" value="8bbe834a-cd2a-4695-afe9-8b0e71567f01">Marcus Bougard Accounts</option>
<option class="second-login-group-option" value="e9e785b0-5c7d-436c-a31e-4b6b25d65315">Mike Borland Accounts</option>
<option class="second-login-group-option" value="06ee6469-dbe3-44bc-ad19-ae4e663122dc">Mike Lehfeldt Accounts</option>
<option class="second-login-group-option" value="d5637dbc-edc7-4451-8fcf-fe172f8fb970">Mike Shady Accounts</option>
<option class="second-login-group-option" value="1285de52-0f78-46d3-a1d8-edf448cd0537">Mizuno Territory Managers</option>
<option class="second-login-group-option" value="6e0343a3-04fc-4540-9731-996259514dd4">Peyton Randolph Accounts</option>
<option class="second-login-group-option" value="4d02c1cd-842b-4141-ab26-b8ae5374a6a7">PGA ID Test</option>
<option class="second-login-group-option" value="e2834b27-ed29-4519-943e-ff9898cab47c">Pierre Beland Accounts</option>
<option class="second-login-group-option" value="24a35a98-fbb5-4090-99a7-b0197939f576">Ridge Meracle Accounts</option>
<option class="second-login-group-option" value="4d9200df-dc02-42c4-811c-b32ffd5c7758">Steve Danilow Accounts</option>
<option class="second-login-group-option" value="a2f13d69-acdd-4201-90dc-4cfd4f5b7b06">Tad Pierson Accounts</option>
<option class="second-login-group-option" value="65b7766c-f45c-4746-8af2-5265d1de8253">Tim Botschner Accounts</option>
<option class="second-login-group-option" value="2a0100e6-2cd3-4f14-9706-ddadb95e9cb3">Tim Lavin Accounts</option>
<option class="second-login-group-option" value="58309856-2659-465b-83bc-9462be60c125">Tyler Schaaf Accounts</option>
<option class="second-login-group-option" value="da7a064a-da24-4011-b7ba-ffa33586d36c">Mizuno Canada</option>
</select>

View File

@ -1,19 +1,3 @@
{% assign groupValidator = false %}
{% for group in current_person.groups %}
{% if group %}
{% assign groupValidator = true %}
{% endif %}
{% endfor %}
{% if current_person.signed_in? %}
{% if groupValidator == true %}
<script>
if (window.location.pathname != '/app/dashboard'){
window.location.replace('/app/dashboard');
}
</script>
{% endif %}
{% endif %}
<div class="sign-up-follow-up-container" onload="">
<div class="sign-up-follow-up-content">
@ -23,19 +7,20 @@
class="sign-up-follow-up-image sign-up-school-logo"
src="{{ current_school.logo_url }}"
/>
<h1 class="sign-up-follow-up-prompt">Please select the Territory Manager that is responsible for your Mizuno Golf account below: </h1>
<h1 class="sign-up-follow-up-prompt">Please enter your city and store name and select your state from the dropdown below: </h1>
{% include "sign-up-follow-up-dropdown" %}
<input class="sign-up-follow-up-input sign-up-follow-up-store-name" placeholder="Store Name"/>
<img
<input class="sign-up-follow-up-input sign-up-follow-up-city" placeholder="City"/>
{% include "sign_up_follow_up_dropdown" %}
{%- comment -%} <img
alt="sign-up-pga-logo"
class="sign-up-follow-up-image"
src="https://s3.amazonaws.com/static.northpass.com/Mizuno+Golf/Mizuno_follow_up_image.png"
/>
<h1 class="sign-up-follow-up-prompt">Upon completion of Mizuno Product and Fitting Knowledge Courses, PGA Members are eligible to receive PDR credits. If you are a PGA Member, please enter your member number below:</h1>
/> {%- endcomment -%}
{%- comment -%} <h1 class="sign-up-follow-up-prompt">Please enter your store name below:</h1> {%- endcomment -%}
<input class="sign-up-follow-up-input" placeholder="PGA Member Number"/>
<button class="sign-up-follow-up-button" onclick="submitData()">Submit</button>
</div>
</div>
@ -54,7 +39,7 @@
align-items: center;
display: flex;
flex-direction: column;
margin: 3rem 0;
margin: 1rem 0;
text-align: center;
width: 100%;
}
@ -78,6 +63,7 @@
.sign-up-dropdown{
height: 55px;
padding-left: 28px;
}
.sign-up-follow-up-input{
@ -102,9 +88,10 @@
}
.sign-up-follow-up-prompt{
font-size: 2rem;
margin: 3.5rem;
margin-bottom: 1.5rem;
font-size: 1.75rem;
margin: 2rem;
margin-bottom: 1rem;
max-width: 60%;
}
.sign-up-dropdown,
@ -123,25 +110,11 @@
</style>
<script>
/* INPUT AND SUBMIT VALIDATORS */
let digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
let onlyDigits;
let checkIfInputsExist = () => {
window.setTimeout(function(){
let validationStr = $(".sign-up-follow-up-input")[0].value.split("");
onlyDigits = true;
for(let i = 0; i < validationStr.length; i++){
if(digits.indexOf(validationStr[i]) < 0){
onlyDigits = false;
}
}
if(
(($(".sign-up-follow-up-input")[0].value.length >= 8 && $(".sign-up-follow-up-input")[0].value.length <= 9 && onlyDigits == true)
|| $(".sign-up-follow-up-input")[0].value.length == 0)
&& $("#sign-up-group-dropdown")[0].value.length != 0
($(".sign-up-follow-up-store-name")[0].value.length > 0) && $(".sign-up-follow-up-city")[0].value.length > 0 && $("#sign-up-state-dropdown")[0].value.length != 0
){
$(".sign-up-follow-up-button").css("background-color","#001588");
$(".sign-up-follow-up-button").css("color","#FFFFFF");
@ -156,42 +129,33 @@
}, 500)
}
document.addEventListener('keydown', checkIfInputsExist);
document.getElementsByClassName("sign-up-follow-up-input")[0].addEventListener('change', checkIfInputsExist);
document.getElementById("sign-up-group-dropdown").addEventListener('change', checkIfInputsExist);
document.getElementsByClassName("sign-up-follow-up-store-name")[0].addEventListener('change', checkIfInputsExist);
document.getElementsByClassName("sign-up-follow-up-city")[0].addEventListener('change', checkIfInputsExist);
document.getElementById("sign-up-state-dropdown").addEventListener('change', checkIfInputsExist);
let submitData = async () => {
if(
(($(".sign-up-follow-up-input")[0].value.length >= 8 && $(".sign-up-follow-up-input")[0].value.length <= 9 && onlyDigits == true)
|| $(".sign-up-follow-up-input")[0].value.length == 0)
&& $("#sign-up-group-dropdown")[0].value.length != 0
){
if(
($(".sign-up-follow-up-store-name")[0].value.length > 0) && $(".sign-up-follow-up-city")[0].value.length > 0 && $("#sign-up-state-dropdown")[0].value.length != 0
){
function webhookCaller(){
return new Promise(function(res, rej) {
let xhr = new XMLHttpRequest();
url = "https://www.workato.com/webhooks/rest/bd1a1eb7-7e79-4208-a1db-8e9c7440bcc9/pga-id-submit";
url = "https://webhooks.workato.com/webhooks/rest/4c162498-2fc6-4d3f-b5ea-6b98218b2c39/sign-up-follow-up";
xhr.addEventListener("load", e => {
window.location.replace('/app/waiting-room');
//window.location.replace('/app');
});
xhr.open("POST", url, true);
if($(".sign-up-follow-up-input")[0].value.length == 0){
xhr.send(JSON.stringify({
email: '{{ current_person.email }}',
name: "{{ current_person.first_name }} {{ current_person.last_name }}",
user_id: '{{ current_person.id }}',
user_group: $("#sign-up-group-dropdown")[0].value
}))
} else {
xhr.send(JSON.stringify({
email: '{{ current_person.email }}',
name: "{{ current_person.first_name }} {{ current_person.last_name }}",
pga_id: $(".sign-up-follow-up-input")[0].value,
user_id: '{{ current_person.id }}',
user_group: $("#sign-up-group-dropdown")[0].value
}))
}
xhr.send(JSON.stringify({
email: '{{ current_person.email }}',
name: "{{ current_person.first_name }} {{ current_person.last_name }}",
user_id: '{{ current_person.id }}',
user_city: $(".sign-up-follow-up-city")[0].value,
user_state: $("#sign-up-state-dropdown")[0].value,
user_store_name: $(".sign-up-follow-up-store-name")[0].value
}))
})
}

View File

@ -1,18 +1,22 @@
{% assign ready = false %}
{% if current_person.signed_in? %}
{% for group in current_person.groups %}
{% if group %}
{% assign ready = true %}
{% break %}
{% endif %}
{% endfor %}
{% if current_person.properties.city
and current_person.properties.state
and current_person.properties.store_name
and current_person.properties.city.size > 0
and current_person.properties.state.size > 0
and current_person.properties.store_name.size > 0
%}
{% assign ready = true %}
{% endif %}
{% endif %}
{% if ready %}
{% if ready == true %}
<script>
if (window.location.pathname != '/app/dashboard'){
window.location.replace('/app/dashboard');
}
/* if (window.location.pathname != '/app'){
window.location.replace('/app');
} */
window.location.href = '/app'
</script>
{% else %}
<script>
@ -26,7 +30,7 @@
<div class="waiting-room-container">
<img class="image" src="https://s3.amazonaws.com/static.northpass.com/Mizuno+Golf/logo.png">
<div class="text">
Thank you for entering your PGA ID!
Thank you for entering your Region and Store Name!
Please wait while we configure the school for you.
Youll be automatically redirected when it's ready!
</div>

View File

@ -57,7 +57,9 @@ They want to embed Northpass into Wix.
### Account Segmentation & Automation
Mark: Glassdoor is looking at this way differently than Northpass. The epiphany is that Northpass does not have all the same data as Glassdoor. Mark was expecting that we had to map GD segmentation to Northpass 1:1. But we don't have to do that and it isn't wise.
Mark: Glassdoor is looking at this way differently than Northpass. The epiphany is that Northpass
does not have all the same data as Glassdoor. Mark was expecting that we had to map GD segmentation
to Northpass 1:1. But we don't have to do that and it isn't wise.
## 05/31/2023
@ -74,3 +76,18 @@ Can Wix send learner information into the URL? She thinks yes.
Wants to keep their own point system. Not trying to embed ALL of Northpass into Wix.
How are Wix Points stored? They are called "Loyalty Program points"
## 07/06/2023
### Gainsight Issue
Austin reached out to Michael Stalenwart. Michael emailed Glassdoor on 7/5 and said:
> " Hi Team,
> My Product team has connected on this and even checked your instance for the specifics of the integration, and we believe we've identified the issue.
>
> After checking the Northpass Integration details, the assumption is that they would be writing back course progress details to a custom object in Gainsight, and generally, writing to GS Custom Objects is achieved with External API Integration. We noticed you have a custom object named northpass (northpass__gc), that was created as a "High Volume" Object. Gainsight does not allow writing to High Volume Objects in a transactional manner via the External API Integration which is causing the failure. If this is the case, then you'll need to create a "Low Volume Object" and add that in the integration setup of Northpass.
>
> It also looks like Northpass documentation hasn't specified Low Volume Object explicitly which could be the source of confusion.
>
> Let us know if using a Low Volume Object rather than a High Volume Object fixes the issue. Happy to continue to help where needed.

View File

@ -70,4 +70,5 @@ Customer Success Training: The 100 questions projects
There needs to be some deviation between departmental training.
In Brian's Mind: Upload the document to Northpass.
Theory: How do you make internal training applicable to every employee? Finance and Engineering, etc.
Theory: How do you make internal training applicable to every employee? Finance
and Engineering, etc.

View File

@ -7,6 +7,7 @@ normsandbox = "SlpQlju219WnWogn94dQUT6Yt"
walmartprod = "6hUfJdAartHTHhHc0WIRZYPWe"
recast = "9LISLpq7Ebqot3Xrggn5twKWZ"
mizuno = "stXNF84HWL8aCGeRjHEo2rJ1U"
mizuno_running = "XeRrtgm0BFYPjOjPekVwCdGkW"
sps = "VNDXh8K4tLYJ-Nvp78bo6w"
anthology = "8ALsk8jDOlynEwn8ScMBSnG87"
talkspace_1099 = "jpfQoIc2i5S6iq4saFjBOEkbt"

View File

@ -1,7 +1,7 @@
import requests
import Apikeys
apiKey = Apikeys.client
apiKey = Apikeys.mizuno_running
def getallUuid(apiKey):
@ -32,7 +32,7 @@ def addtoGroup(apiKey, uuid):
"data": [
{
"type": "membership-groups",
"id": "2f9aaac9-000a-4888-be33-3b65b76b5b9f",
"id": "7383c506-619f-4a83-b1bc-ba766faae06f",
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Some files were not shown because too many files have changed in this diff Show More