This commit is contained in:
Norm Rasmussen
2022-05-04 15:47:09 -04:00
parent 90874413c3
commit 91caa83232
4 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,4 @@
{ {
"cSpell.ignoreWords": [] "cSpell.ignoreWords": [],
"cSpell.words": []
} }

View File

@ -4,7 +4,7 @@
<div class="np-card card--training-event col-x-sm-12 col-sm-12 col-md-12 col-lg-12"> <div class="np-card card--training-event col-x-sm-12 col-sm-12 col-md-12 col-lg-12">
<div class="np-card"> <div class="np-card">
<div class="np-card-container np-dashboard-border"> <div class="np-card-container np-dashboard-border" style="max-width: 300px;">
{% if courses.enrolled.any? %} {% if courses.enrolled.any? %}
<div class="np-card-content-achievements"> <div class="np-card-content-achievements">
<div class="achivements-carousel"> <div class="achivements-carousel">
@ -131,4 +131,5 @@
} }
} }
.achivements-carousel { text-align: -webkit-center; }
</style> </style>

View File

@ -8,14 +8,14 @@
{% assign role = current_person.properties.role %} {% assign role = current_person.properties.role %}
{% case role %} {% case role %}
{% when 'developer', 'architect' %} {% when 'developer', 'architect' %}
<div class="np-homepage-subheadline np-header-font-color" style="white-space: pre-wrap;"> <div class="np-homepage-subheadline np-header-font-color">
Hi {{ current_person.display_name }}, how is the weather in {{ current_person.properties.location }}? Hi {{ current_person.first_name }}, how is the weather in {{ current_person.properties.location }}?
&#10; Here is the training you are eligible for in your role as {{ current_person.properties.role }}. Here is the training you are eligible for in your role as {{ current_person.properties.role }}.
</div> </div>
{% else %} {% else %}
<div class="np-homepage-subheadline np-header-font-color"> <div class="np-homepage-subheadline np-header-font-color">
Hi {{ current_person.display_name }}, how is the weather in {{ current_person.properties.location }}?</div> Hi {{ current_person.first_name }}, how is the weather in {{ current_person.properties.location }}?
<div class="np-homepage-subheadline np-header-font-color">Here is the training you are eligible for in your role as Here is the training you are eligible for in your role as
<div class="dropdown"> <div class="dropdown">
<button class="dropbtn">Select Role ▼ </button> <button class="dropbtn">Select Role ▼ </button>
<div class="dropdown-content"> <div class="dropdown-content">

View File

@ -7,7 +7,7 @@
<div class="np-resource-subtitle"> <div class="np-resource-subtitle">
{% capture subtitle_text %} {% capture subtitle_text %}
{%comment%}{% t .headline, key: current_school.course_vocabulary %}{%endcomment%} {%comment%}{% t .headline, key: current_school.course_vocabulary %}{%endcomment%}
Hey there {{ current_person.name }}! Welcome to your partner training center! Complete at least one of the courses to complete your certification. Hey there {{ current_person.first_name }}! Welcome to your partner training center! Complete at least one of the courses to complete your certification.
{% endcapture %} {% endcapture %}
{{ subtitle_text | replace: "Courses", "tutorials" }} {{ subtitle_text | replace: "Courses", "tutorials" }}
</div> </div>