Started the reorganization of Scripts for github. Some notes changes.

This commit is contained in:
Norm Rasmussen
2023-05-04 16:07:06 -04:00
parent 6a674ca24b
commit 18a266746b
209 changed files with 121 additions and 12181 deletions

View File

@ -11,10 +11,10 @@
}
</script>
{% comment %} <script> window.intercomSettings = { app_id: "hal1rveh" }; </script>
<script>
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/hal1rveh';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>
{% comment %} <script> window.intercomSettings = { app_id: "hal1rveh" }; </script>
<script>
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/hal1rveh';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>
<style> .intercom-lightweight-app-launcher { float: right; bottom: 45px !important; margin-right: 40px; } </style> {% endcomment %}
<style>
@ -23,4 +23,13 @@
body {
font-family: "Barlow", sans-serif !important;
}
</style>
</style>
<script type="text/javascript">
if ( window.location !== window.parent.location ) {
} else {
document.addEventListener('DOMContentLoaded', function(event) {
const header = document.getElementById("header_g2");
header.style.display = "flex";
})
}
</script>

View File

@ -1,4 +1,4 @@
{%comment%}<header class="np-header np-header-color">
<header class="np-header np-header-color" id="header_g2">
<div class="np-header-content">
<div class="np-hidden-desktop np-header-mobile-menu-nav">
{% if current_person.signed_in? %}
@ -238,7 +238,6 @@
</div>
</div>
</div>
{% endcomment %}
{% include "messages" %}
<style>

View File

@ -0,0 +1,14 @@
<div class="np-learning-paths-resources">
{% if items.any? %}
{% for learning_path in items %}
{% include "cards_learning_path" with learning_path %}
{% endfor %}
{% else %}
<div class="np-learning-paths-resources-container">
<div class="np-zero-state-text">
Stay tuned for Learning Paths!
</div>
<img class="np-zero-state-learning-paths" alt="{% t .empty %}" />
</div>
{% endif %}
</div>

View File

@ -1,7 +1,8 @@
<nav class="np-sub-navigation">
<div class="np-sub-navigation-content">
{% for link in navigations.sub_navigation %}
{% unless link.label == 'Learning Paths' %}
{% comment %} {% unless link.label == 'Learning Paths' %} {% endunless %} The End Unless usually goes right above
the endfor, on line 7.{% endcomment %}
<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>
@ -9,7 +10,6 @@
</a>
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
</div>
{% endunless %}
{% endfor %}
</div>
</nav>

View File

@ -1,4 +1,4 @@
{% comment %} {% include "header" %} {% endcomment %}
{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}
<main class="np-main np-homepage">
@ -50,7 +50,7 @@
.np-homepage-hero .np-homepage-headline {
font-size: 35px;
line-height: 45px;
font-weight: 800;
font-weight: 800;
margin:10px auto 30px;
}
@ -93,7 +93,7 @@
.np-homepage-hero .np-homepage-headline {
font-size: 55px;
line-height:72px;
font-weight: 800;
font-weight: 800;
}
.np-homepage-hero .np-homepage-subheadline {