64 Commits

Author SHA1 Message Date
austinkelsay
bc8e7f7ef1
remove commented out css 2025-05-12 12:51:51 -05:00
austinkelsay
a0c53e9d5a
remove empty space when sidebar closed, fix transition animation 2025-05-12 12:47:48 -05:00
austinkelsay
403948f7b2
fix for memory leak 2025-05-12 11:17:57 -05:00
austinkelsay
44929d54b9
buffer import to account for polyfill, remove unused imports 2025-05-12 09:31:32 -05:00
austinkelsay
9bd0c0877d
fix completed lesson state for all lessons in sidebar 2025-05-12 08:20:02 -05:00
austinkelsay
e3317f870a
smoother course navigation 2025-05-11 16:14:15 -05:00
austinkelsay
027bf28e2f
improve course page architecture with custom hooks and components 2025-05-11 14:07:55 -05:00
austinkelsay
f526913f30
course decryption logic in its own hook 2025-05-11 11:14:54 -05:00
austinkelsay
1e9e9471b7
cancel in-flight decryption requests on timeout 2025-05-10 17:04:39 -05:00
austinkelsay
c54785353e
add retry logic for lesson decryption with timeout handling 2025-05-10 16:56:40 -05:00
austinkelsay
333cb30e31
refactor for recalling /decrypt on lesson change 2025-05-05 18:51:17 -05:00
austinkelsay
14d63d7240
remove duplicate deduping 2025-04-28 17:21:00 -05:00
austinkelsay
fac14d5b77
fix lesson parsing on course page, also fetches all lessons in one query now 2025-04-28 13:28:39 -05:00
austinkelsay
156e2ffc7b
clean up course tabs, unify logic 2025-04-28 10:27:48 -05:00
Austin Kelsay
f3d667a0ba
Update src/pages/course/[slug]/index.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:48 -05:00
austinkelsay
176a58d42d
cleanup 2025-04-28 10:27:48 -05:00
austinkelsay
b5b94e934a
fix tab menu styles, remove test account pubkey from config 2025-04-28 10:27:47 -05:00
austinkelsay
06780ffaa5
Add error toast for missing naddress in course slugs 2025-04-28 10:27:47 -05:00
Austin Kelsay
4f093b9e2c
Update src/pages/course/[slug]/index.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:47 -05:00
austinkelsay
6b30d2cce7
styling fixes, guard against edge cases in course handling, guard against invalid slug in navbar 2025-04-28 10:27:46 -05:00
austinkelsay
42abbabf9d
fix comments on course tab 2025-04-28 10:27:46 -05:00
austinkelsay
c3175321cb
add keyboard navigation to course tabs 2025-04-28 10:27:45 -05:00
Austin Kelsay
d9e68ea18e
Update src/pages/course/[slug]/index.js
Fix tab condition

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:45 -05:00
austinkelsay
dae3ed5ad9
seperate mobile and desktop components for CourseDetails 2025-04-28 10:27:44 -05:00
austinkelsay
d3bf9cc045
Replaced all markdown displays with react-markdown and gituhb-markdown-css styles 2025-04-28 10:27:44 -05:00
austinkelsay
0279140011
styling improvements on course header and course tab 2025-04-28 10:27:44 -05:00
austinkelsay
a924cc9436
added course header with back button, integrated into top nav when on course pages, polishing course and lesson pages styles 2025-04-28 10:27:43 -05:00
austinkelsay
b50aa9286a
massive improvements to course and lesson full screen and mobile layouts 2025-04-28 10:27:43 -05:00
austinkelsay
874d903020
Major updates on course and lesson layout with tabs 2025-04-28 10:27:43 -05:00
austinkelsay
a3e8cda6f4
course view tabs for mobile view sidebar for full screen 2025-04-28 10:27:43 -05:00
austinkelsay
54ec3df1d7
Course page now has sidebar for lessons selection, basic tab menu on mobile to go to lessons tab or content tab 2025-04-28 10:27:39 -05:00
austinkelsay
8d0c349bb3
set keys for zapthreads wrapper without risking leak of old key state 2025-04-20 16:33:09 -05:00
kiwihodl
ad218d8803
linted before rebase 2025-04-20 16:14:50 -05:00
kiwihodl
07e94fbb40
feat: implement ZapThreads comments for all content types (video, document, combined) and course pages 2025-04-20 16:14:50 -05:00
austinkelsay
a090898fad
lint everything lmao 2025-04-02 17:47:30 -05:00
austinkelsay
2ba4615885
Combined view works with courses / lessons 2024-11-21 17:58:54 -06:00
austinkelsay
65692026b6
Fixes to naddr encoding 2024-11-16 12:33:30 -06:00
austinkelsay
4cc94de801
Remove console logs 2024-11-14 16:12:25 -06:00
austinkelsay
efe867e9d9 Can fetch course from db id on course page 2024-10-14 18:58:12 -05:00
austinkelsay
a531798529 Dont reload on purchase 2024-10-12 13:48:12 -05:00
austinkelsay
34e116e9cc Allow details and course pages to be accessed with naddr or note id 2024-10-05 19:35:04 -05:00
austinkelsay
129cbd02e2 Fix authorize function 2024-10-05 16:37:44 -05:00
austinkelsay
a794755df4 Add lud16 to kind0Fields, add kind0 as nested object on user in session, keep it from conflicting with lightningAddress 2024-10-05 16:13:01 -05:00
austinkelsay
4f98ea3656 Progress on course progress flow, lso fixes for course tracking 2024-09-23 22:44:32 -05:00
austinkelsay
215a00e593 fix course and lesson tracking for paid courses, add usercourses and userlessons into session 2024-09-22 17:08:26 -05:00
austinkelsay
96a6a29936 Created userCourse model, added endpoints, added basic useTrackcourse hook 2024-09-21 16:50:59 -05:00
austinkelsay
f7bbf93f95 video lesson tracking for courses, new userlesson table, also github experiment 2024-09-19 15:38:36 -05:00
austinkelsay
09e0ba026a Add encrypt and decrypt endpoint and replaced encryption/decryption in app to use these endpoints 2024-09-17 16:00:00 -05:00
austinkelsay
a0a9b9fcc8 Improvements to progress spinners, fixed resource and course payment buttons to not have to fetch invoice until button is pressed 2024-09-17 13:28:58 -05:00
austinkelsay
365b54c498 Mobile style fixes 2024-09-16 16:10:28 -05:00