diff --git a/src/app/dashboard/ai-coach/cbt-dpp/page.tsx b/src/app/dashboard/ai-coach/cbt-dpp/page.tsx index 00b467a..af80339 100644 --- a/src/app/dashboard/ai-coach/cbt-dpp/page.tsx +++ b/src/app/dashboard/ai-coach/cbt-dpp/page.tsx @@ -15,6 +15,7 @@ export default function AIDailyPracticePage() { const [attempts, setAttempts] = useState([]) const [loading, setLoading] = useState(true) const [dateFilter, setDateFilter] = useState("") + const [diffFilter, setDiffFilter] = useState("Mixed") const [selectedPdfDpp, setSelectedPdfDpp] = useState(null) const [isFullScreen, setIsFullScreen] = useState(false) const [copiedShare, setCopiedShare] = useState(false) @@ -73,6 +74,9 @@ export default function AIDailyPracticePage() { const scheduledDate = new Date(dpp.scheduled_date).toISOString().split('T')[0]; if (scheduledDate !== dateFilter) return false; } + if (diffFilter !== "Mixed" && dpp.difficulty !== diffFilter) { + return false; + } return true; }); @@ -100,9 +104,9 @@ export default function AIDailyPracticePage() {

- + - AI Daily Practice (DPP) + PrepPilot AI

Launch AI-generated Daily Practice Problems (DPPs) tailored to your exam pattern and weak areas. diff --git a/src/app/dashboard/ai-coach/tutor/page.tsx b/src/app/dashboard/ai-coach/tutor/page.tsx index 25dbb98..c0aabc0 100644 --- a/src/app/dashboard/ai-coach/tutor/page.tsx +++ b/src/app/dashboard/ai-coach/tutor/page.tsx @@ -1,10 +1,28 @@ "use client" import { TutorChat } from "@/components/AI/TutorChat" +import { BrainCircuit, Sparkles } from "lucide-react" export default function TutorChatPage() { return ( -

+
+
+
+
+

+ + + + AI Tutor +

+
+
+ + AI Powered + +
+
+
diff --git a/src/components/AI/TutorChat.tsx b/src/components/AI/TutorChat.tsx index 00470a8..283e4ff 100644 --- a/src/components/AI/TutorChat.tsx +++ b/src/components/AI/TutorChat.tsx @@ -25,7 +25,7 @@ const QUICK_PROMPTS = [ export function TutorChat() { const [messages, setMessages] = useState([ - { role: "assistant", content: "Hello! I'm your PragatiVeer AI Tutor. Ask me anything — from concept explanations to step-by-step problem solving for JEE & NEET topics." } + { role: "assistant", content: "Hello! I'm your PrepPilot AI. Ask me anything — from concept explanations to step-by-step problem solving for JEE & NEET topics." } ]) const [input, setInput] = useState("") const [streaming, setStreaming] = useState(false) @@ -121,7 +121,7 @@ export function TutorChat() {
-
PragatiVeer AI Tutor
+
PrepPilot AI
Online · JEE & NEET specialist