From 0843510f0201f876c763efd6b1625da96b20c2fc Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Wed, 2 Mar 2022 13:59:50 -0500 Subject: [PATCH] added G2 templates --- .../customer_templates/.DS_Store | Bin 12292 -> 12292 bytes .../G2/_cards_course.html.liquid | 73 +++++ .../G2/_course_desktop_view.html.liquid | 127 ++++++++ .../G2/_course_progress_and_cta.html.liquid | 38 +++ .../G2/_courses_catalog.html.liquid | 26 ++ .../customer_templates/G2/_footer.html.liquid | 202 +++++++++++++ .../customer_templates/G2/_head.html.liquid | 18 ++ .../customer_templates/G2/_header.html.liquid | 283 ++++++++++++++++++ .../G2/_homepage_events.html.liquid | 193 ++++++++++++ .../G2/homepage.html.liquid | 82 +++++ 10 files changed, 1042 insertions(+) create mode 100644 NP_Custom_Templates/customer_templates/G2/_cards_course.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/_course_desktop_view.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/_course_progress_and_cta.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/_courses_catalog.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/_footer.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/_head.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/_header.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/_homepage_events.html.liquid create mode 100644 NP_Custom_Templates/customer_templates/G2/homepage.html.liquid diff --git a/NP_Custom_Templates/customer_templates/.DS_Store b/NP_Custom_Templates/customer_templates/.DS_Store index 6f8a33e171853b3f7f785a0ce84c4072751a3d9a..9c6a2f103a879354d4324631012f8633ee5ce8c5 100644 GIT binary patch delta 483 zcmZokXi1phFPh50z`)GFAi%(o&ydFu%#h5G$&fnnqVi+|9Trwbpd`!W8a0{8U(`f4 z9`NR8v;y-~)Nf9ls6W|3Kxwm{z)n6!t;y#U^d{RV@@@7|_|9C<%is()t(YN|p@^Xj zXksx~q==y)C*3eOIX|}mXfO=mQJtIb;*yk;p9ECO5hQk&@#piyjzBhE9Vsrhq-iP0 zKylJ$YZVu!P$mX<1|uwv1&bp)>spTJ=N}MfLFH25PDYoToTHY@oXt?YnMLC#%Vt{@ ICmP!W0BhTL{r~^~ delta 133 zcmZokXi1phFB;3hz`)GFAi%(o$B@I2&k)ZL%#b?qqVi+|9Trwbpd`yAL4%D4y!jbT zHX8`u=G*u{g^^KX@;L>)$u^37n>`f1GjIN{;=nX{xq8&ZiTV>K$V}D{xXJFwkit;L Skhqye<0s4Jy{b)&*yRDCy(mlo 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 %} +
+ +
+
+ +{% 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