75 Commits

Author SHA1 Message Date
kiwihodl
ad218d8803
linted before rebase 2025-04-20 16:14:50 -05:00
kiwihodl
62441e01a0
feat: Implement ZapThreads with access control for paid content - Add to CourseDetails, CourseTemplate, CourseLesson - Block comments for unpaid users - Allow comments for free content and authorized paid users 2025-04-20 16:14:50 -05:00
austinkelsay
a090898fad
lint everything lmao 2025-04-02 17:47:30 -05:00
austinkelsay
5c6bf72a99
Add checks for user logged in, paid course and or subscriber for user being able to mark lesson as completed 2025-03-31 10:22:25 -05:00
austinkelsay
79b8cf1ff8
fix course payment button, remove test account from admins 2025-03-31 10:02:58 -05:00
Austin Kelsay
080ab4a4b5
Update src/components/content/courses/CourseLesson.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-31 09:41:05 -05:00
austinkelsay
ed41f9a170
Standardize details layout on contet, consolidate options into new generic moreOptionsMenu component 2025-03-30 17:31:53 -05:00
austinkelsay
b94e90fc03
Fix element alignent 2025-03-30 12:34:42 -05:00
austinkelsay
3efc82bd06
more options button in place and works, fully tested, probably still need to align with timestamp 2025-03-30 11:46:56 -05:00
austinkelsay
0c5ac0d942 Fix spacing on markdown documents 2025-02-22 17:25:29 -06:00
austinkelsay
bde5e117cf Consolidate user fields, differentiate platform lightning address and nip05, fix millisats on lightning address, small user management and signup ux fixes 2025-02-17 12:50:32 -06:00
austinkelsay
75b3406d33 Fix sn query, cleanup 2025-02-03 17:07:54 -06:00
austinkelsay
9e4390de1f
Welcome modal for learn how to code cta, also creates anon account 2025-01-03 11:59:30 -06:00
austinkelsay
91cfd7a3cb
Fix syntax bug 2024-12-23 16:28:30 -06:00
austinkelsay
ef3acf03df
Redeploy 2024-12-23 16:24:49 -06:00
austinkelsay
67ea5f523e
Allow simple edits of published courses, add cascade delete to userlessons to make this course update cleaner 2024-12-03 12:48:17 -06:00
austinkelsay
9e8e355ae8
Start on discount code impl, keep it single and hardcoded and simple at first 2024-11-26 15:32:25 -06:00
austinkelsay
7af1dd9ef9
Another styling fix combined lesson 2024-11-26 11:50:32 -06:00
austinkelsay
49e222035a
Fix padding on combined lesson 2024-11-26 11:49:36 -06: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
aaeb5de1fe
Take invoice out of track for now since it is too long of string 2024-11-15 18:43:06 -06:00
austinkelsay
4cc94de801
Remove console logs 2024-11-14 16:12:25 -06:00
austinkelsay
0306d9b464
Fix links 2024-11-03 12:59:44 -06:00
austinkelsay
4f0ca4efdc
Link out to habla news for documents and videos 2024-11-03 12:56:03 -06:00
austinkelsay
41ae0d6112
Fix feeds rendering, fixed some mobile styles 2024-10-23 14:48:11 -05:00
austinkelsay
fdd141379e don't stop course publish on invalid event 2024-10-14 16:55:56 -05:00
austinkelsay
03b771283a error log 2024-10-13 17:02:50 -05:00
austinkelsay
5292e4789f Add log for invalid lesson event 2024-10-13 16:59:08 -05:00
austinkelsay
f730519f83 fix course and video tags, fix some mobile styles 2024-10-12 15:39:50 -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
04ab5a2428 Hard code lnAdresses for now 2024-10-04 17:26:28 -05:00
austinkelsay
0a40b7c04c Preparing for deployment 2024-09-30 14:50:10 -05:00
austinkelsay
17ca8fcf59 Styling fixes, add video to promotional carousel 2024-09-30 12:59:19 -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
4585ed263c Implemented document progress tracking based on read time, got video progress tracking working with Youtube embeds 2024-09-19 17:33:22 -05:00
austinkelsay
f7bbf93f95 video lesson tracking for courses, new userlesson table, also github experiment 2024-09-19 15:38:36 -05:00
austinkelsay
8f2935a7dc Small styling fixes, also tested auth with new appConfig with multiple author pubkeys, also added i tag to videos 2024-09-17 18:06:03 -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
b800ab3b88 Good stuff 2024-09-17 13:55:51 -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
austinkelsay
5bb89c4c35 Good stuff 2024-09-15 15:53:27 -05:00
austinkelsay
cb3f124c3a Changed resource to document on the frontend 2024-09-15 15:15:58 -05:00
austinkelsay
aa13faaf44 Rename from workshops to videos 2024-09-15 13:27:37 -05:00
austinkelsay
7091da9ecd Mobile styling fixes, search bar and interactive carousela now both play along with mobile view 2024-09-14 18:05:59 -05:00
austinkelsay
38244a8da7 Add re;ays to every naddr encode, fix layout fo details pages, fix text overflow for nostr comments 2024-09-14 17:39:01 -05:00
austinkelsay
8b782ffc60 naddress slugs for all published details pages, also view nostr note buttons on all content 2024-09-14 17:05:05 -05:00
austinkelsay
3b077b542a placed course lessons in accordian, created course sidebar that is in sync with open course, added link to view not on nostr on lesson templates and coure details 2024-09-14 16:43:03 -05:00