larson, omni, kitman
This commit is contained in:
@ -1,13 +1,12 @@
|
||||
<nav class="np-sub-navigation">
|
||||
<div class="np-sub-navigation-content">
|
||||
{% for link in navigations.sub_navigation %}
|
||||
<div class="np-sub-navigation-content-item {{ link.active_class }}">
|
||||
<a class="np-sub-navigation-content-item-link" href="{{ link.url }}">
|
||||
<i class="{{ link.icon }} np-button-color np-sub-navigation-content-item-icon"></i>
|
||||
{{ link.label }}
|
||||
</a>
|
||||
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="np-sub-navigation-content">
|
||||
{% comment %} . {% include "sub_navigation_item", label: "All Courses", icon: "fa fa-book-open", url: '/app/courses' %} {% endcomment %}
|
||||
{% include "sub_navigation_item", label: "Home", icon: "fa fa-home", url: "/app/" %}
|
||||
{% include "sub_navigation_item", label: "Learning Paths", icon: "fa fa-road", url: "/app/learning_paths" %}
|
||||
{% comment %} {% if current_person.properties.partner_training_cert == true %}
|
||||
{% include "sub_navigation_item", label: "Certifications", icon: "fa fa-desktop", url: "/app/certification" %}
|
||||
{% else %}
|
||||
{% include "sub_navigation_item", label: "Certifications", icon: "fa-solid fas fa-exclamation", url: "" %}
|
||||
{% endif %}{% endcomment %}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@ -0,0 +1,21 @@
|
||||
<div class="np-sub-navigation-content-item
|
||||
{% comment %} {% if url contains current_page %}
|
||||
np-sub-navigation-content-item-active
|
||||
{% else %}
|
||||
np-sub-navigation-content-item-inactive
|
||||
{% endif %}{% endcomment %}
|
||||
">
|
||||
<a class="np-sub-navigation-content-item-link subnav-item" href="{{ url }}">
|
||||
<i class="{{ icon }} np-button-color np-sub-navigation-content-item-icon" aria-hidden="true"></i>
|
||||
<div class="oa-sub-navigation-content-item-label">
|
||||
{{ label }}
|
||||
</div>
|
||||
</a>
|
||||
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.subnav-item:hover{
|
||||
color: #ba37d6
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user