diff --git a/CustomerNotes.md b/CustomerNotes.md index a3dc391c..68821508 100644 --- a/CustomerNotes.md +++ b/CustomerNotes.md @@ -1,5 +1,6 @@ # Crayon + As of tonight Crayon.co/Academy will no longer have a form Crayon.co/Academy/Activator-Course - Form to course url @@ -372,8 +373,10 @@ They need more training and enablement They will follow up for Figma files and # Humly ## Technical People + - Tomasz (Tom) - Client and Team Leader - Bartosz - Full stack developer, 2 years at Humly + ## Answers to Questions from email How do we know what courses a candidate has completed? Should we store it ourselves or should we always get it from Northpass? What is the best practice? - They want to apply some logic to these completions in Northpass @@ -399,3 +402,45 @@ Status is they are mapping out and deciding what Northpass involvment should be ## Tasks - [ ] Tom and Bartos:z will start working on this + + +# Omnisend + +## Tasks +- [ ] Wistia Project, what access do they have? +- [ ] Share button with /app/course within course viewer bright green 52 front +- [ ] EXpert led categories url not working +- [ ] + +## Notes + +Can they embed a video from the Wistia Project video into Omnisend's product? + +### Skip Cover Page logic + +Is a user enrolled? +LOGIC: Learner comes in, skip cover for page, start course -> skip cover, +If not enabled, they should see overview page +Automation logic, single-activity or 2 activities are not considered a course +The key is a single video + +The logic should be if a single video exists skip cover page + +### Video on overview page + +Course card, will also enroll person in course/activate them +Bring in video from Wistia Project +Get analytics via wistia or google + +This is key analytics they need too +What's new are every month, on average 600 views +This week so far 51 +It usually lines up with activated learners on Northpass +There was another link with dashboard, Audrius to check clicks + +Fundamentals First Video +Out of 202 played it out of 220 load + +Whats new 95% play rate +Out of 41 people, 39 played its + diff --git a/ErikaInterview.md b/ErikaInterview.md new file mode 100644 index 00000000..582f856c --- /dev/null +++ b/ErikaInterview.md @@ -0,0 +1,29 @@ +# Interview with Erika + +Tough admin, used enablement and creativity to make it work +Created multiple workspaces for the users for that account +Client's issue was didn't want to manage multiple accounts, had no bandwidth +Used teaching to help the customer + +Needier customers were district contracts +Gave her her phone number to client who wanted instant communication +Setup regular checkins with these accounts +More frequent communication for larger clients +Tiered system, small team and each person handled almost 700 accounts +Just taking the time explain + +Being an AM was her most enjoyable, creative time +Tight knit group +Constant communication + +Project Question: +Go to learning library, resources first +See what's available first +Try to connect with client and asking more questions +Align with them, is there a temporary fix +Check in with peers and see if anyone else has faced this issue before +Is there a bridge to solve this temporarily +Being honest and aligning with the customer +Offer to pushback + +Catalyst for CS with client diff --git a/NP_Custom_Templates/customer_templates/.DS_Store b/NP_Custom_Templates/customer_templates/.DS_Store index ba63ea4f..a984b7d1 100644 Binary files a/NP_Custom_Templates/customer_templates/.DS_Store and b/NP_Custom_Templates/customer_templates/.DS_Store differ diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_catalog_course_card.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_catalog_course_card.html.liquid new file mode 100644 index 00000000..9b544787 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_catalog_course_card.html.liquid @@ -0,0 +1,68 @@ +{% assign categories = '' | split: '' %} +{% for cat in course.categories %} + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + {% assign categories = categories | concat: cat_name %} +{% endfor %} +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +{% case course.properties.difficulty %} +{% when "Beginner" %} + {% assign diff = 1 %} +{% when "Advanced" %} + {% assign diff = 2 %} +{% when "Expert" %} + {% assign diff = 3 %} +{% else %} + {% assign diff = 0 %} +{% endcase %} + +{% if course.properties.course_time < 10 %} + {% assign time = 1 %} +{% elsif course.properties.course_time < 30 %} + {% assign time = 2 %} +{% elsif course.properties.course_time < 60 %} + {% assign time = 3 %} +{% elsif course.properties.course_time < 120 %} + {% assign time = 4 %} +{% else %} + {% assign time = 5 %} +{% endif %} + + +
+ + {{ course.name }} + {% if course.ribbon and course.ribbon.size > 0 %} +
+ {{ course.ribbon }} +
+ {% endif %} +
+
+ + {{ course.name }} + +
+ {{ course.properties.course_time }} +
+
+ {{course.full_description}} +
+ +
+
\ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_catalog_filter.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_catalog_filter.html.liquid new file mode 100644 index 00000000..32eff5ec --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_catalog_filter.html.liquid @@ -0,0 +1,164 @@ +{% assign diff_1 = 0 | times: 1 %} +{% assign diff_2 = 0 | times: 1 %} +{% assign diff_3 = 0 | times: 1 %} + +{% assign time_1 = 0 | times: 1 %} +{% assign time_2 = 0 | times: 1 %} +{% assign time_3 = 0 | times: 1 %} +{% assign time_4 = 0 | times: 1 %} +{% assign time_5 = 0 | times: 1 %} + +{% assign co_categories = '' | split: '' %} +{% for co in courses.in_catalog %} + + {% for cat in co.categories %} + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + {% assign co_categories = co_categories | concat: cat_name %} + {% endfor %} + + {% case co.properties.difficulty %} + {% when "Beginner" %} + {% assign diff_1 = diff_1 | plus: 1 %} + {% when "Advanced" %} + {% assign diff_2 = diff_2 | plus: 1 %} + {% when "Expert" %} + {% assign diff_3 = diff_3 | plus: 1 %} + {% endcase %} + + {% if co.properties.course_time < 10 %} + {% assign time_1 = time_1 | plus: 1 %} + {% elsif co.properties.course_time < 30 %} + {% assign time_2 = time_2 | plus: 1 %} + {% elsif co.properties.course_time < 60 %} + {% assign time_3 = time_3 | plus: 1 %} + {% elsif co.properties.course_time < 120 %} + {% assign time_4 = time_4 | plus: 1 %} + {% else %} + {% assign time_5 = time_5 | plus: 1 %} + {% endif %} + +{% endfor %} +{% assign co_unique_categories = co_categories | uniq | sort %} + + + + +
+
+
+ CATEGORY +
+
+ All +
+ {% for cat in co_unique_categories %} + {% assign number_of_courses = co_categories | split: cat %} + {% assign number_of_courses = number_of_courses.size | minus: 1 %} +
+ {{ cat }} ({{ number_of_courses }}) +
+ {% endfor %} +
+ +
+
+ DIFFICULTY +
+
+ + + Beginner ({{ diff_1 }}) +
+
+ + + Advanced ({{ diff_2 }}) +
+
+ + + Expert ({{ diff_3 }}) +
+
+ +
+
+ DURATION +
+
+ + + < 10 mins ({{ time_1 }}) +
+
+ + + 10-30 mins ({{ time_2 }}) +
+
+ + + 30-60 mins ({{ time_3 }}) +
+
+ + + 1-2 hours ({{ time_4 }}) +
+
+ + + > 2 hours ({{ time_5 }}) +
+
+
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_catalog_filter_mobile.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_catalog_filter_mobile.html.liquid new file mode 100644 index 00000000..f4e48ae5 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_catalog_filter_mobile.html.liquid @@ -0,0 +1,121 @@ +
+
+
+ Filter +
+ +
+
+
+
+ CATEGORY +
+
+ All +
+ {% for cat in co_unique_categories %} + {% assign number_of_courses = co_categories | split: cat %} + {% assign number_of_courses = number_of_courses.size | minus: 1 %} +
+ {{ cat }} ({{ number_of_courses }}) +
+ {% endfor %} +
+ +
+
+ DIFFICULTY +
+
+ + + Beginner ({{ diff_1 }}) +
+
+ + + Advanced ({{ diff_2 }}) +
+
+ + + Expert ({{ diff_3 }}) +
+
+ +
+
+ DURATION +
+
+ + + < 10 mins ({{ time_1 }}) +
+
+ + + 10-30 mins ({{ time_2 }}) +
+
+ + + 30-60 mins ({{ time_3 }}) +
+
+ + + 1-2 hours ({{ time_4 }}) +
+
+ + + > 2 hours ({{ time_5 }}) +
+
+
+
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_courses_list_course_card.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_courses_list_course_card.html.liquid new file mode 100644 index 00000000..15d25c1e --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_courses_list_course_card.html.liquid @@ -0,0 +1,8 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} + + + +
+ {{ course.name }} +
+
\ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_footer.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_footer.html.liquid new file mode 100644 index 00000000..6e5108f6 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_footer.html.liquid @@ -0,0 +1,568 @@ +{% include "footer_join" %} + + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_footer_join.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_footer_join.html.liquid new file mode 100644 index 00000000..b553989e --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_footer_join.html.liquid @@ -0,0 +1,100 @@ + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_head.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_head.html.liquid new file mode 100644 index 00000000..5a17c29a --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_head.html.liquid @@ -0,0 +1,39 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_header.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_header.html.liquid new file mode 100644 index 00000000..15d33585 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_header.html.liquid @@ -0,0 +1,14 @@ +{% include 'header_desktop' %} +{% include 'header_mobile' %} +{% include "messages" %} + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_header_desktop.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_header_desktop.html.liquid new file mode 100644 index 00000000..de0ddeb8 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_header_desktop.html.liquid @@ -0,0 +1,353 @@ +
+ +
+ + + + Start Free + + FAQ + + {% if current_person.signed_in? %} +
+ +
    +
  • + {{ current_person.name }} + +
  • +
  • + {{ current_person.email }} +
  • + {% unless current_school.sso_active? %} +
  • + + Profile + +
  • + {% endunless %} +
  • + + Logout + +
  • +
+
+ {% else %} + Start free + + {% endif %} +
+
+ + + + diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_header_mobile.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_header_mobile.html.liquid new file mode 100644 index 00000000..e3ef4942 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_header_mobile.html.liquid @@ -0,0 +1,487 @@ +
+ + + +
+ + + +
+ +
+
+ + + + +
+
+ +
+
+ DIFFICULTY +
+ +
+ + +
+
+ +
+
+
+
+
+ + + + diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_beginning.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_beginning.html.liquid new file mode 100644 index 00000000..59cd40a3 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_beginning.html.liquid @@ -0,0 +1,197 @@ +
+
+ BEFORE YOU START +
+
+ Learn the fundamentals +
+
+ Whether it's sign-up forms, automation worflows or designing and sending your first email campaign - we got you covered. +
+ + Start learning + + {% assign beginner_courses = 0 | times: 1 %} +
+ {% for course in courses.in_catalog %} + {% if course.properties.beginner %} + {% include 'homepage_beginning_course_card' with course %} + {% assign beginner_courses = beginner_courses | plus: 1 %} + {% if beginner_courses == 3 %} {% break %} {% endif %} + {% endif %} + {% endfor %} +
+
+ + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_beginning_course_card.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_beginning_course_card.html.liquid new file mode 100644 index 00000000..2527dde2 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_beginning_course_card.html.liquid @@ -0,0 +1,33 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +
+ + {{ course.name }} + {% if course.ribbon and course.ribbon.size > 0 %} +
+ {{ course.ribbon }} +
+ {% endif %} +
+
+ + + {{ course.name }} + +
+ {{course.full_description}} +
+ + {% if course.started? %} + Continue course + {% else %} + Start course + {% endif %} + +
+
\ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_courses_list.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_courses_list.html.liquid new file mode 100644 index 00000000..10616cee --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_courses_list.html.liquid @@ -0,0 +1,22 @@ +{% assign popular_count = 0 | times: 1 %} +{% assign latest_count = 0 | times: 1 %} + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_latest.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_latest.html.liquid new file mode 100644 index 00000000..3fac35a2 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_latest.html.liquid @@ -0,0 +1,24 @@ +
+
+ LATEST VIDEOS +
+
+
+ + More courses + +
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_opinions.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_opinions.html.liquid new file mode 100644 index 00000000..ae76d413 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_opinions.html.liquid @@ -0,0 +1,132 @@ +
+ +
+ + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_popular.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_popular.html.liquid new file mode 100644 index 00000000..845c8af0 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_popular.html.liquid @@ -0,0 +1,18 @@ +
+
+ POPULAR COURSES +
+ + + More courses + +
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_recommended.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_recommended.html.liquid new file mode 100644 index 00000000..0ea6095e --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_recommended.html.liquid @@ -0,0 +1,175 @@ + + + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_homepage_recommended_course_card.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_recommended_course_card.html.liquid new file mode 100644 index 00000000..5cac11a5 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_homepage_recommended_course_card.html.liquid @@ -0,0 +1,38 @@ +{% assign activities_count = 0 %} +{% for course_section in course.sections %} + {% for course_activity in course_section.activities %} + {% assign activities_count = activities_count | plus: 1 %} + {% endfor %} +{% endfor %} +{%comment%}{% capture course_path %}{% route course, id: course.id %}{% endcapture %}{%endcomment%} +{% capture course_path %}{% route course_viewer, course_id: course.id, learning_path_id: params.learning_path_id %}{% endcapture %} +{% capture enroll_path %}{% route course_enrollment, code: course.enrollment_code %}{% endcapture %} + +
+
+
+
+
+ {{activities_count}} LESSONS COURSE +
+
+ {{course.name}} +
+
+ {{course.short_description}} +
+ + + +
+
+
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/_similar_courses.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/_similar_courses.html.liquid new file mode 100644 index 00000000..e82ea0a9 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/_similar_courses.html.liquid @@ -0,0 +1,32 @@ +{% assign similar_count = 0 | plus: 0 %} +{% assign categories_names = course.categories | map: "name" %} +{% assign property = "" %} +
+
+ SIMILAR COURSES +
+
+ {% for checked_course in courses.in_catalog %} + {% if checked_course.id != course.id %} + {% for category in checked_course.categories %} + {% if categories_names contains category.name %} + {% capture course_path %}{% route course, id: checked_course.id %}{% endcapture %} + + +
+ {{ checked_course.name }} +
+
+ {% assign similar_count = similar_count | plus: 1 %} + {% break %} + {% endif %} + {% endfor %} + {% endif %} + {% if similar_count == 5 %} {% break %} {% endif %} + {% endfor %} +
+ + More courses + +
+ diff --git a/NP_Custom_Templates/customer_templates/Omnisend/auth_url_email.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/auth_url_email.html.liquid new file mode 100644 index 00000000..f06fb12e --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/auth_url_email.html.liquid @@ -0,0 +1,13 @@ +{% form_authenticity_token %} + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/catalog.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/catalog.html.liquid new file mode 100644 index 00000000..968943b8 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/catalog.html.liquid @@ -0,0 +1,213 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +
+ +
+
+
+ +
+ {% include 'catalog_filter' %} +
+
+ Filter +
+
+
+ {% for course in courses.in_catalog %} + {% include 'catalog_course_card' with course %} + {% endfor %} +
+
+
+ {% include 'catalog_filter_mobile' %} +
+ +{% include "footer" %} + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/course.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/course.html.liquid new file mode 100644 index 00000000..762417aa --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/course.html.liquid @@ -0,0 +1,389 @@ +{% assign activities_count = 0 %} +{% for course_section in course.sections %} + {% for course_activity in course_section.activities %} + {% assign activities_count = activities_count | plus: 1 %} + {% endfor %} +{% endfor %} +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +{% if course.enrolled? %} + {% assign wrapperClassName = "course-header-left-button" %} +{% else %} + {% assign wrapperClassName = "course-header-left-button enroll-button" %} +{% endif %} + + +{% include 'header' %} +{% if course.enrolled? %} + +{% else %} +
+
+
+
+ {{ course.name }} +
+
+
+ {{ activities_count }} LESSONS COURSE +
+
+ {{ course.properties.course_time }} +
+
+ + {% if course.started? %} + Continue course + {% else %} + {% if course.enrolled? %} + Start Course + {% else %} + Enroll in course + {% endif %} + {% endif %} + +
+
+ +
+
+
+
+
+
+ DESCRIPTION +
+
+ {{ course.full_description }} +
+
+
+
+ WHAT YOU WILL LEARN +
+
+ {% for section in course.sections %} +
+ {{ section.name }} +
+ {% endfor %} +
+
+
+ {% if course.instructors.size != 0 %} +
+ {% assign instructor = course.instructors.first %} +
+
+
+
+
+
+ THIS COURSE BROUGHT BY +
+
+ +
+
+ {{ instructor.name }} +
+
+ {{ instructor.title }} +
+
+
+
+ {{ instructor.bio }} +
+
+
+
+
+
+
+ {% endif %} +
+ {% include 'similar_courses' %} +
+
+{% endif %} +{% include 'footer' %} + + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/dashboard.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/dashboard.html.liquid new file mode 100644 index 00000000..9c2c0727 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/dashboard.html.liquid @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/faq.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/faq.html.liquid new file mode 100644 index 00000000..4c6ebe5a --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/faq.html.liquid @@ -0,0 +1,70 @@ +{% include "header" %} +
+
+ Frequently Asked Questions +
+
+
+ Why do I need to sign up? +
+
+ When you sign up for Omnisend Academy, you get lifetime access to online education resources to help your ecommerce business make marketing relevant by sending personalized messages to the right person, at the right time, using the right channel. +
+
+
+
+ Is Omnisend Academy content free? +
+
+ Yes, all the tutorials, online courses, and webinars are free. To create your free Omnisend account, you'll simply need to sign-up and you're ready to go! +
+
+
+
+ How is Omnisend Academy different from videos on YouTube or other educational sources? +
+
+ While we recognize there are many different tools and ways to build a business and market it properly, we believe it’s better to have more voices than fewer. All the educational material offered in Omnisend Academy is produced in-house or approved by Omnisend. That means you don't have to scroll through endless listings of content to find truthful ones. And while we understand that strategies and products are always evolving and changing, we are on top of everything that is going on in the market just to provide you with the latest and greatest guidance from industry experts. +
+
+
+
+ Who are the instructors? +
+
+ All courses are taught by experts who work at Omnisend, our partners, or successful entrepreneurs who are seeing growth using Omnisend. We have one of the most experienced and knowledgable people in the industry so that you don't have to verify whether their advice can be trusted or not. +
+
+
+{% include "footer" %} + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/homepage.html.liquid b/NP_Custom_Templates/customer_templates/Omnisend/homepage.html.liquid new file mode 100644 index 00000000..6f4c6b49 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/homepage.html.liquid @@ -0,0 +1,31 @@ +{% include "header" %} +{% include "homepage_recommended" %} +{% include 'homepage_courses_list' %} + +
+ {% include 'homepage_latest' %} + {% include "homepage_beginning" %} +
+ {% include 'homepage_opinions' %} +
+ {% include 'homepage_popular' %} + +
+{% include "footer" %} + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Omnisend/styles.css.liquid b/NP_Custom_Templates/customer_templates/Omnisend/styles.css.liquid new file mode 100644 index 00000000..ef0b9ef1 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Omnisend/styles.css.liquid @@ -0,0 +1,170 @@ +html { + font-size: 16px !important; +} + +@media only screen and (max-width: 1440px) { + html { + font-size: 14.5px !important; + } +} + +@media only screen and (max-width: 900px) { + html { + font-size: 13px !important; + } +} + +body { + font-family: Roboto, sans-serif; + color: #1E2423; + overflow-x: clip; +} + +/* COURSES_LIST */ + +.courses-list-title { + font-weight: 500; + font-size: 0.9375rem; + line-height: 24px; + letter-spacing: 3px; + margin-bottom: 20px; +} + +.courses-list { + margin: 30px 0; +} +.list-course { + text-decoration: none; +} +.list-course:nth-child(1) { + padding-left: 0; +} + +.list-course:nth-child(5) { + padding-right: 0; +} +.list-course-image { + border-radius: 10px; + margin-bottom: 15px; + width: 100%; +} + +.list-course-name { + color: initial; + font-family: 'Faktum', sans-serif; + font-size: 1.375rem; + line-height: 32px; + word-wrap: anywhere; +} + +.courses-list-more { + text-decoration: none; + color: #2F8481; + font-weight: 700; + margin-top: 30px; + display: inline-block; +} + +.courses-list-more:hover { + color: #246b69; +} +@media only screen and (max-width: 950px) { + .courses-list-list { + flex-direction: column; + } + .list-course { + margin-bottom: 30px; + padding: 0; + } + .list-course-image { + border-radius: 10px; + } + .courses-list-more { + margin-top: 0; + } +} + +/* CARDS_COURSE */ +.course-card { + margin-bottom: 30px; +} + +.course-card-image-wrapper { + display: inline-block; + position: relative; +} + +.course-card-image { + border-radius: 10px; + width: 100%; +} + +.course-card-image-ribbon { + text-decoration: none; + color: white; + background: #2F8481; + padding: 3px 5px; + position: absolute; + top: 10px; + right: 0; + opacity: 0.9; + border-radius: 2px; +} + +.course-card-image-ribbon:hover { + color: white; +} + +.course-card-content { + text-align: left; +} + +.course-card-content * { + text-align: left; +} + +.course-card-content-category { + padding: 15px 0 05px 0; + font-weight: 500; + font-size: 0.9375rem; + line-height: 24px; + letter-spacing: 3px; +} + +.course-card-content-title { + font-family: 'Faktum', sans-serif; + font-weight: 800; + font-size: 2.125rem; + line-height: 46px; + text-decoration: none; + color: #1E2423; + display: inline-block; + margin-bottom: 15px; +} + +.course-card-content-title:hover { + color: black; +} + +.course-card-content-description { + margin-bottom: 15px; + font-weight: 300; + font-size: 1.125rem; + line-height: 32px; +} + +.course-card-button { + color: #2F8481; + text-decoration: none; + font-weight: 700; + font-size: 1.125rem; + font-family: Roboto, sans-serif; +} + +.course-card-button:hover { + color: #246b69; +} + +.course-card-button .fa-angle-right { + margin-left: 6px; +} \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Scenario/homepage.html.liquid b/NP_Custom_Templates/customer_templates/Scenario/homepage.html.liquid index 3fe5b601..7d9e4269 100644 --- a/NP_Custom_Templates/customer_templates/Scenario/homepage.html.liquid +++ b/NP_Custom_Templates/customer_templates/Scenario/homepage.html.liquid @@ -26,19 +26,15 @@ {{ homepage.featured_courses_subheadline }} - {% assign catalog_courses = courses.in_catalog %} - {% if catalog_courses.any? %} + {% assign course_order = courses.in_catalog | where: 'properties', "course_order" %} + {{ course_order }} + {% if courses.in_catalog.any? %} {% else %}