removed projects & added kitman
This commit is contained in:
@ -1,157 +0,0 @@
|
||||
{% include "header" %}
|
||||
{% include "course_version_outdated_alert", courses: courses.featured %}
|
||||
<main class="np-main np-homepage">
|
||||
{% comment %}<div class="np-homepage-hero" >{% endcomment %}
|
||||
<div class="np-homepage-hero" style="background: #34abe2; ">
|
||||
<img class="np-homepage-hero-image"
|
||||
src="{{ homepage.artwork_url }}"
|
||||
alt="{{ homepage.headline }}"
|
||||
/>
|
||||
<div class="np-homepage-hero-content">
|
||||
<div class="np-homepage-headline np-header-font-color">
|
||||
{{ homepage.headline }}
|
||||
</div>
|
||||
<div class="np-homepage-subheadline np-header-font-color">
|
||||
{{ homepage.subheadline }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% include "sub_navigation" %}
|
||||
<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" style='opacity: 50%'>
|
||||
{{ homepage.featured_courses_subheadline }}
|
||||
</div>
|
||||
</div>
|
||||
{% assign course_order = course.properties.course_order | sort "course_order" %}
|
||||
<div class="np-homepage-featured-courses row">
|
||||
{% for course in course_order %}
|
||||
<div class="col-xs-12 col-sm-8 col-md-12" style="margin:auto;">
|
||||
{% include "cards_featured_course" with course %}
|
||||
</div>
|
||||
{% 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>
|
||||
|
||||
{% comment %}{% include "section_popular_topics" %}{% endcomment %}
|
||||
|
||||
{% comment %}{% include "section_tips_tricks" %}{% endcomment %}
|
||||
|
||||
{% comment %}{% include "section_faqs" %}{% endcomment %}
|
||||
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
<style>
|
||||
@media screen and (min-width: 420px) {
|
||||
.np-homepage-hero-content {
|
||||
padding-bottom: 5rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% comment %}<style>
|
||||
@media screen and (min-width: 350px) {
|
||||
.np-homepage-hero {
|
||||
height: 14rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 450px) {
|
||||
.np-homepage-hero {
|
||||
height: 11rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.np-homepage-hero {
|
||||
height: 9rem;
|
||||
}
|
||||
|
||||
.np-homepage-featured-text {
|
||||
padding: 0 4rem 2rem;
|
||||
}
|
||||
.np-homepage-hero-image {
|
||||
height: auto;
|
||||
/* min-height: 350px; */
|
||||
}
|
||||
.np-homepage-hero-content {
|
||||
padding: 5rem 4rem 2.25rem;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.np-homepage-hero-cta,
|
||||
.np-button.np-homepage-hero-cta {
|
||||
margin-top: 2.25rem;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.np-homepage-hero .np-homepage-headline {
|
||||
font-size: 36px;
|
||||
line-height: 45px;
|
||||
}
|
||||
.np-homepage-hero .np-homepage-subheadline {
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.np-button {
|
||||
font-size: 0.875rem;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.np-topics-list {
|
||||
margin: 0 4.5%;
|
||||
}
|
||||
.np-topics-list .np-button-secondary {
|
||||
margin: 6px;
|
||||
flex: 0 1 calc(33.33% - 12px);
|
||||
height: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 992px) {
|
||||
.np-homepage-hero-content {
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
.np-homepage-hero .np-homepage-headline {
|
||||
font-size: 40px;
|
||||
line-height: 15px;
|
||||
}
|
||||
.np-homepage-hero .np-homepage-subheadline {
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.np-topics-list .np-button-secondary {
|
||||
flex: 0 1 calc(25% - 12px);
|
||||
}
|
||||
.np-homepage-featured {
|
||||
margin-top: 6.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
.np-topics-list .np-button-secondary {
|
||||
flex: 0 1 calc(20% - 12px);
|
||||
}
|
||||
|
||||
.np-homepage-hero {
|
||||
height: 7rem;
|
||||
}
|
||||
}
|
||||
</style>{% endcomment %}
|
||||
<script>
|
||||
$(".np-sub-navigation-content-item-link:contains('Home')").parent().addClass("np-sub-navigation-content-item-active")
|
||||
</script>
|
||||
Reference in New Issue
Block a user