Commit Graph

106 Commits

Author SHA1 Message Date
4be37c2544 Add styles for .video-cta and its child .button 2026-01-08 02:30:02 +01:00
24531f9b15 Move Start quiz button to a new div with class video-cta 2026-01-08 02:30:02 +01:00
55005aba1f Add 'Back' button to QuizRunner component 2026-01-08 02:27:25 +01:00
446dab7d49 Import Link component in QuizRunner.tsx 2026-01-08 02:24:18 +01:00
b3d760bd11 Style explanation header with flexbox 2026-01-08 02:23:06 +01:00
618776a73e Add link to learn page in ExplanationPanel 2026-01-08 02:23:06 +01:00
745c577203 Replace useEffect with useLayoutEffect in QuizRunner.tsx for currentIndex and showResult updates 2026-01-08 02:18:00 +01:00
ef6fd3bb84 Add useLayoutEffect to QuizRunner.tsx 2026-01-08 02:18:00 +01:00
87374ec67f Add canSubmit calculation in QuizRunner 2026-01-08 02:12:08 +01:00
63f674d60e Remove canSubmit logic from QuizRunner 2026-01-08 02:12:08 +01:00
fb213e8c15 Remove unused props from QuestionRenderer 2026-01-08 02:12:08 +01:00
1073bc1ada Disable submit button when cannot submit 2026-01-08 02:11:31 +01:00
540b544eed Fix logic for determining canSubmit in QuizRunner 2026-01-08 02:11:31 +01:00
6d5e788764 Add canSubmit prop to QuestionRenderer 2026-01-08 02:11:31 +01:00
2fa955e0ad Determine canSubmit based on question type and response 2026-01-08 02:10:57 +01:00
639b59ce3f Add canSubmit prop to QuestionRenderer 2026-01-08 02:10:57 +01:00
fad98dc4e0 Conditionally render back button in QuizRunner 2026-01-08 02:10:57 +01:00
8dcea82fcd Add back button and refactor quiz actions in QuizRunner component 2026-01-08 02:08:46 +01:00
47c55af132 Remove unused useEffect hooks in QuizRunner.tsx 2026-01-08 02:06:18 +01:00
e780de5b40 Add effects to manage question state and history in QuizRunner 2026-01-08 02:06:10 +01:00
0897fb16a0 Add back button to QuizRunner component 2026-01-08 02:05:31 +01:00
d107139d6c Add useEffect hooks for state management in QuizRunner 2026-01-08 02:04:22 +01:00
336c899625 Add goPrev function to QuizRunner 2026-01-08 02:04:21 +01:00
6eb3a54ed0 Handle question submission and update history 2026-01-08 02:04:13 +01:00
70fe54bcc7 Initialize history with null values on quiz start 2026-01-08 02:04:13 +01:00
ad6338522d Add history state to QuizRunner 2026-01-08 02:04:13 +01:00
d1a18a0039 Modify NavLink active class condition in App.tsx 2026-01-08 02:00:28 +01:00
6a661a0c28 Update button text in App.tsx 2026-01-08 02:00:28 +01:00
de1b85caa0 Add useLocation hook and update NavLink logic in App.tsx 2026-01-08 01:59:15 +01:00
3a6b2e8628 Create RandomEntryRedirect component 2026-01-08 01:57:40 +01:00
5325d1a3e1 Add route for random entry redirect 2026-01-08 01:57:39 +01:00
2a31e5ce71 Convert button to NavLink for Random Reel in App.tsx 2026-01-08 01:55:37 +01:00
3affaec1dd Add button to start random reel in App component 2026-01-08 01:55:06 +01:00
dbcc77f808 Reduce gap between actions in entry card 2026-01-08 01:51:40 +01:00
a41f0e2491 Adjust alignment and layout in entry card components 2026-01-08 01:50:04 +01:00
4ae792d1cc Adjust flex properties for .entry-card__content and .entry-card__title 2026-01-08 01:48:54 +01:00
72247b04c9 Add max-width to .entry-card__content 2026-01-08 01:48:54 +01:00
4eb4d24d35 Update entry card styling and add content container 2026-01-08 01:46:55 +01:00
cfb4fac284 Update EntryCard component with new styling and link formatting 2026-01-08 01:46:47 +01:00
f1d5440a47 Update entry card padding and gap in index.css 2026-01-08 01:45:19 +01:00
85271593a6 Remove unused counts and meta information from EntryCard component 2026-01-08 01:45:13 +01:00
93fa2ac212 Remove unused Link import from OverviewPage 2026-01-08 01:44:07 +01:00
210432b47e Remove eyebrow text and jump button from OverviewPage 2026-01-08 01:44:07 +01:00
24c5f00677 Update App.tsx for new quiz navigation link 2026-01-08 01:41:25 +01:00
99751aa59f Add container styling to index.css 2026-01-08 01:41:25 +01:00
336a3aa164 Refactor topbar styling and add nav-link-btn class 2026-01-08 01:40:19 +01:00
fa7e16aa3b Update topbar layout and styling in App.tsx 2026-01-08 01:39:42 +01:00
c93c20277d Add nonce parameter to QuizPage and update QuizRunner key 2026-01-08 01:39:17 +01:00
8b3345a3a1 Add button for starting new random quiz and update navigation logic 2026-01-08 01:38:09 +01:00
5b0cbd4f4d Update quiz link to include nonce for uniqueness 2026-01-08 01:38:09 +01:00