From 10c47201ed8f4c471f3c1183d171a7bfe0395647 Mon Sep 17 00:00:00 2001 From: James Tansiri Date: Thu, 19 Dec 2024 07:59:34 +0700 Subject: [PATCH] feat: track progress --- _includes/layouts/course.njk | 15 ++++++--- _includes/layouts/lesson.njk | 22 +++++++++---- public/css/tailwind.css | 33 +++++++++---------- .../essential-sql/essential-sql.11tydata.js | 4 +-- 4 files changed, 44 insertions(+), 30 deletions(-) diff --git a/_includes/layouts/course.njk b/_includes/layouts/course.njk index 0ef1346..6da8e19 100644 --- a/_includes/layouts/course.njk +++ b/_includes/layouts/course.njk @@ -23,10 +23,17 @@ layout: layouts/base.njk {% if lesson.data.section %}

{{ lesson.data.section }}

{% endif %} - - - {{ lesson.data.lesson_name }} - +
+ + + + {{ lesson.data.lesson_name }} + +
{% endfor %} diff --git a/_includes/layouts/lesson.njk b/_includes/layouts/lesson.njk index 5ebac6a..96df530 100644 --- a/_includes/layouts/lesson.njk +++ b/_includes/layouts/lesson.njk @@ -3,7 +3,7 @@ layout: layouts/base.njk --- {% set nextLesson = collections.lesson|filter("course_id", course_id)|sortByDirectoryPrefix|getNextCollectionItem(page) %} -
+