diff --git a/NP_Custom_Templates/customer_templates/.DS_Store b/NP_Custom_Templates/customer_templates/.DS_Store index 6f8a33e1..9c6a2f10 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/G2/_cards_course.html.liquid b/NP_Custom_Templates/customer_templates/G2/_cards_course.html.liquid new file mode 100644 index 00000000..b5a6f607 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_cards_course.html.liquid @@ -0,0 +1,73 @@ +{% 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 %} +
+
+ + {{ course.name }} + +
+ + {{ course.name }} + +
+ {{ course.full_description }} +
+
+ {{ activities_count }} {% if activities_count == 1 %}Lesson{% else %}Lessons{% endif %} +
+
+
+
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/G2/_course_desktop_view.html.liquid b/NP_Custom_Templates/customer_templates/G2/_course_desktop_view.html.liquid new file mode 100644 index 00000000..b1959b33 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_course_desktop_view.html.liquid @@ -0,0 +1,127 @@ +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+ Learn the basics of profile value, how to customize your profile to catch the eyes of more buyers, and demand capture 101. +
+
+ {% include "course_progress_and_cta" %} +
+
+
+
+
+
+ Curriculum +
+
+ {% for section in course.sections %} +
+ {{ section.name }} +
+ {% for activity in section.activities %} +
+ {{ activity.title }} +
+ {% endfor %} + {% endfor %} +
+
+
+
+ About this course +
+
+ {{ course.full_description }} +
+
+
+
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/G2/_course_progress_and_cta.html.liquid b/NP_Custom_Templates/customer_templates/G2/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..127aa70d --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_course_progress_and_cta.html.liquid @@ -0,0 +1,38 @@ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/G2/_courses_catalog.html.liquid b/NP_Custom_Templates/customer_templates/G2/_courses_catalog.html.liquid new file mode 100644 index 00000000..2b012754 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_courses_catalog.html.liquid @@ -0,0 +1,26 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/G2/_footer.html.liquid b/NP_Custom_Templates/customer_templates/G2/_footer.html.liquid new file mode 100644 index 00000000..9b5c0ad1 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_footer.html.liquid @@ -0,0 +1,202 @@ + + + diff --git a/NP_Custom_Templates/customer_templates/G2/_head.html.liquid b/NP_Custom_Templates/customer_templates/G2/_head.html.liquid new file mode 100644 index 00000000..0fd9f4f8 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_head.html.liquid @@ -0,0 +1,18 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/G2/_header.html.liquid b/NP_Custom_Templates/customer_templates/G2/_header.html.liquid new file mode 100644 index 00000000..38dd03ea --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_header.html.liquid @@ -0,0 +1,283 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+
    +
  • + Products + + +
  • +
  • + Solutions + + +
  • +
  • + Resources + + +
  • +
  • + Plans +
  • +
+
+ {% if current_person.signed_in? %} + +
+ + +
+ {% else %} +
+ {% endif %} + +
+ +
+
+
+
+ +{% include "messages" %} + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/G2/_homepage_events.html.liquid b/NP_Custom_Templates/customer_templates/G2/_homepage_events.html.liquid new file mode 100644 index 00000000..d4a35be9 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/_homepage_events.html.liquid @@ -0,0 +1,193 @@ +
+
+
+
+ Drive revenue & pipeline with strategies covered in G2 Office Hours. +
+
+ Connect with some of the best in the biz for casual Zoom sessions. Learn strategies, share ideas, explore intent data, discuss product releases, and much more. +
+
+
+
+
+ Operationalizing Buyer Intent +
+
+ Pipeline. Revenue. Yes to all of it! Let's chat about how you can leverage Buyer Intent and market like you mean it. +
+
+ January 27, 2022 @ 2PM EST +
+ +
+
+
+ Hosts +
+
+ +
+
+ Robin Izsak-Tseng +
+
+ VP, Revenue Marketing +
+
+
+
+ +
+
+ Lishen Lu +
+
+ Sr. Mgr, Growth Marketing +
+
+
+
+
+ +
+
+
+ How to Drive More G2 Reviews +
+
+ Increase your review numbers with helpful tips, tricks, and tools. +
+
+ February TBD +
+ +
+
+
+ Host +
+
+ +
+
+ Rachel G. +
+
+ Associate Product Manager +
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/G2/homepage.html.liquid b/NP_Custom_Templates/customer_templates/G2/homepage.html.liquid new file mode 100644 index 00000000..20225904 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/G2/homepage.html.liquid @@ -0,0 +1,82 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+ +
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ +
+
+ {% include 'courses_catalog' %} + {% include 'homepage_events' %} +
+{% include "footer" %} + + + + \ No newline at end of file