diff --git a/Custom_Templates/customer_templates/DeepL/.DS_Store b/Custom_Templates/customer_templates/DeepL/.DS_Store
new file mode 100644
index 00000000..5008ddfc
Binary files /dev/null and b/Custom_Templates/customer_templates/DeepL/.DS_Store differ
diff --git a/Custom_Templates/customer_templates/DeepL/_banner.html.liquid b/Custom_Templates/customer_templates/DeepL/_banner.html.liquid
index 708aa599..a8a9886b 100644
--- a/Custom_Templates/customer_templates/DeepL/_banner.html.liquid
+++ b/Custom_Templates/customer_templates/DeepL/_banner.html.liquid
@@ -2,18 +2,18 @@
- Become part of the DeepL community
+ Introducing DeepL AI Labs
- Join our vibrant community today and connect with like-minded individuals from around the world! Share your ideas, passions, and experiences while learning from others.
+ See what the DeepL R&D teams are building next!
{% for course in courses.in_catalog %}
- {% if course.properties.resource == true %}
- {% if course.properties.language == userLanguage %}
+ {% if course.properties.resource == true %}
+ {% if course.properties.language == userLanguage %}
{% include "cards_resources" %}
{% endif %}
{% endif %}
@@ -60,12 +60,12 @@
background: #6CF1C9;
}
- @media only screen and (max-width: 1170px) {
+ @media only screen and (max-width: 1170px) {
.catalog-courses-wrapper {
grid-template-columns: repeat(2,1fr);
}
}
- @media only screen and (max-width: 768px) {
+ @media only screen and (max-width: 768px) {
.catalog-courses-wrapper {
grid-template-columns: repeat(1,1fr);
}
@@ -77,7 +77,7 @@ document.addEventListener("DOMContentLoaded", function() {
const filters = document.querySelectorAll('.filter');
const cards = document.querySelectorAll('.catalog-course-container .card');
- let activeFilter = null;
+ let activeFilter = null;
filters.forEach(filter => {
filter.addEventListener('click', function() {
@@ -88,7 +88,7 @@ document.addEventListener("DOMContentLoaded", function() {
filter.classList.remove('filter-active');
} else {
activeFilter = value;
-
+
filters.forEach(f => f.classList.remove('filter-active'));
filter.classList.add('filter-active');
}
@@ -114,4 +114,4 @@ document.addEventListener("DOMContentLoaded", function() {
}
}
});
-
+
\ No newline at end of file
diff --git a/Custom_Templates/customer_templates/DeepL/homepage.html.liquid b/Custom_Templates/customer_templates/DeepL/homepage.html.liquid
index a1ef7e78..4e99458b 100644
--- a/Custom_Templates/customer_templates/DeepL/homepage.html.liquid
+++ b/Custom_Templates/customer_templates/DeepL/homepage.html.liquid
@@ -109,9 +109,9 @@
{% include "webinars" %}
{% endif %}
- {% comment %}
+
{% include "banner" %}
- {% endcomment %}
+
{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/DeepL/styles.css.liquid b/Custom_Templates/customer_templates/DeepL/styles.css.liquid
index 7a3ceef6..f4fdaeb3 100644
--- a/Custom_Templates/customer_templates/DeepL/styles.css.liquid
+++ b/Custom_Templates/customer_templates/DeepL/styles.css.liquid
@@ -181,6 +181,7 @@ section {
font-size: 14px;
font-weight: 400;
margin-bottom: 20px;
+ align-items: center;
}
.course-lessons {
padding-right: 5px;
@@ -189,6 +190,20 @@ section {
.course-time {
padding-left: 5px;
}
+
+.sl-card-ribbon {
+ background: #FFE769;
+ color: #0F2B46;
+ font-size: 16px;
+ font-weight: 400;
+ line-height: 14px;
+ padding: 7px 12px;
+ position: absolute;
+ right: 8px;
+ border-radius: 4px;
+ top: 8px;
+}
+
.slick-track {
display: flex !important;
}
diff --git a/Scripts/API_Tests/get_category_ids.py b/Scripts/API_Tests/get_category_ids.py
index a2e6cc39..85398816 100644
--- a/Scripts/API_Tests/get_category_ids.py
+++ b/Scripts/API_Tests/get_category_ids.py
@@ -3,11 +3,11 @@ import os
import Apikeys
import requests
-apikey = Apikeys.SUPPLIERPROD
+apikey = Apikeys.DEEPL
cmd = "touch ~/Downloads/Supplier_Categories.csv"
os.system(cmd)
-url = "https://api2.northpass.com/v2/categories?limit=100"
+url = "https://api.northpass.com/v2/categories?limit=100"
headers = {
"accept": "application/json",
"X-Api-Key" : apikey,
@@ -28,3 +28,8 @@ with open('/Users/normrasmussen/Downloads/Supplier_Categories.csv', 'r') as read
for row in reader:
print(row)
+
+"""
+For use in URLS, the filter syntax is ?filter[category_uuid][in][]=6bfcb970-d82f-4ed9-ad7b-d17f1b82a6a9
+Category Names don't work
+"""
diff --git a/Tasks.md b/Tasks.md
index 7d4ec5be..96397576 100644
--- a/Tasks.md
+++ b/Tasks.md
@@ -39,8 +39,8 @@
## Chubb
### Tasks
-- [ ] Ask in SJ Migrations channel how we deal with old CE Links. Can we do a catch all error page?
-- [ ] Explore Google Form for CISA upload and management
+- [X] Ask in SJ Migrations channel how we deal with old CE Links. Can we do a catch all error page?
+- [X] Explore Google Form for CISA upload and management
### Completed
- [X] Book EMC time for Alisha, Jared, me, Kim, and Jenelle
@@ -60,6 +60,9 @@
## DeepL
+- [-] Provide clients ability to easily access Spotlights feature.
+ - [ ] Sort order of the resources (only) based on 1. date published or 2. Ribbon == new.
+ - [X] Investigate what the url category filtering is and see if it works with DeepL's custom templates.
### Completed
- [X] Ask if product will add an export button to the new access tab or have a dashboard around enrollment source. - 04-22-2025