diff --git a/frontend/src/pages/AIInterviewPreparationTopicReadinessGate.jsx b/frontend/src/pages/AIInterviewPreparationTopicReadinessGate.jsx new file mode 100644 index 00000000..38f98689 --- /dev/null +++ b/frontend/src/pages/AIInterviewPreparationTopicReadinessGate.jsx @@ -0,0 +1,212 @@ +import React, { useState } from "react"; +import { + Brain, + Target, + CheckCircle2, + Lock, + TrendingUp, +} from "lucide-react"; + +const stages = [ + "Needs Foundation", + "Ready for Practice", + "Ready for Advanced Practice", + "Mastered", +]; + +export default function AIInterviewPreparationTopicReadinessGate() { + const [topic, setTopic] = useState("Binary Search"); + + const metrics = [ + ["Concept Understanding", 88], + ["Practice Accuracy", 84], + ["Recall Performance", 79], + ["Difficulty Progression", 72], + ["Recent Consistency", 91], + ]; + + return ( +
+ + {/* Header */} +
+ +
+ +
+ +
+

+ AI Topic Readiness Gate +

+ +

+ Determine when you are ready to progress to the next learning + stage. +

+
+ +
+ + {/* Topic */} +
+ + + + + +
+ + {/* Readiness */} +
+ + + +

+ Current Readiness +

+ +

+ 83% +

+ + + Ready for Advanced Practice + + +
+ + {/* Metrics */} +
+ +

+ Readiness Factors +

+ +
+ + {metrics.map(([name, score]) => ( +
+ +
+ + {name} + + + + {score}% + +
+ +
+
+
+ +
+ ))} + +
+ +
+ + {/* Readiness Gate */} +
+ +

+ Learning Progression Gate +

+ +
+ + {stages.map((stage, index) => { + const active = index === 2; + const completed = index < 2; + + return ( +
+ + {completed ? ( + + ) : active ? ( + + ) : ( + + )} + +

+ {stage} +

+ +
+ ); + })} + +
+ +
+ + {/* AI Recommendation */} +
+ +
+ + + +
+

+ AI Readiness Recommendation +

+ +

+ You have strong conceptual understanding and consistent recent + performance. Move to advanced Binary Search problems, but + continue short recall sessions to maintain retention. +

+ + +
+ +
+ +
+ +
+ ); +} \ No newline at end of file