fix: repair invalid UTF-8 bytes in ai-coach pages (cp1252 smart punctuation)
Turbopack fails on non-UTF-8 source: readiness/strategy/study-plan page.tsx contained Windows-1252 bytes for em-dash and middle-dot. Converted to proper UTF-8 (em dash and middle dot). Visual output unchanged.
This commit is contained in:
@@ -44,7 +44,7 @@ export default function ReadinessPage() {
|
||||
Exam Readiness Analytics
|
||||
</h1>
|
||||
<p className="text-muted-foreground text-base font-medium max-w-2xl pl-1">
|
||||
Real-time algorithmic prediction of your exam readiness <EFBFBD> based on speed, accuracy, syllabus coverage, and test history.
|
||||
Real-time algorithmic prediction of your exam readiness — based on speed, accuracy, syllabus coverage, and test history.
|
||||
</p>
|
||||
</div>
|
||||
<span className="text-xs font-bold uppercase tracking-wider text-[var(--cyan-ai)] bg-cyan-50 dark:bg-[var(--cyan-ai-10)] border border-cyan-300/60 dark:border-[var(--cyan-ai-20)] px-3 py-1.5 rounded-full flex items-center gap-1.5 shrink-0 self-start">
|
||||
@@ -105,7 +105,7 @@ export default function ReadinessPage() {
|
||||
<div key={sub.subject} className="space-y-2">
|
||||
<div className="flex justify-between items-center">
|
||||
<span className="text-sm font-black">{sub.subject}</span>
|
||||
<span className={`text-xs font-bold ${sub.statusColor}`}>{sub.score}% <EFBFBD> {sub.status}</span>
|
||||
<span className={`text-xs font-bold ${sub.statusColor}`}>{sub.score}% · {sub.status}</span>
|
||||
</div>
|
||||
<div className="h-2.5 w-full bg-secondary rounded-full overflow-hidden">
|
||||
<div className={`h-full ${sub.color} rounded-full transition-all duration-700`} style={{ width: `${sub.score}%` }} />
|
||||
@@ -159,7 +159,7 @@ export default function ReadinessPage() {
|
||||
</li>
|
||||
<li className="flex items-start gap-2">
|
||||
<CheckCircle2 size={16} className="text-amber-400 shrink-0 mt-0.5" />
|
||||
<span>Maintain daily streak <EFBFBD> consistency adds directly to your readiness algorithm.</span>
|
||||
<span>Maintain daily streak — consistency adds directly to your readiness algorithm.</span>
|
||||
</li>
|
||||
<li className="flex items-start gap-2">
|
||||
<CheckCircle2 size={16} className="text-amber-400 shrink-0 mt-0.5" />
|
||||
|
||||
@@ -89,7 +89,7 @@ export default function StrategyPage() {
|
||||
<AlertTriangle size={20} className="text-amber-400" />
|
||||
<h3 className="text-lg font-extrabold tracking-tight">Negative Marking Analysis</h3>
|
||||
<span className="ml-auto text-xs text-muted-foreground font-semibold">
|
||||
{isDemo ? "Last Mock Test <EFBFBD> Aug 1" : "Day 1 Initializing"}
|
||||
{isDemo ? "Last Mock Test · Aug 1" : "Day 1 Initializing"}
|
||||
</span>
|
||||
</div>
|
||||
<div className="space-y-4">
|
||||
@@ -123,7 +123,7 @@ export default function StrategyPage() {
|
||||
</div>
|
||||
<p className="text-xs text-muted-foreground mt-4 font-medium pl-1">
|
||||
<span className="font-black text-amber-400">Insight:</span> {isDemo ? (
|
||||
<>You're losing ~29 marks to wrong answers. Switching to "skip and revisit" for uncertain Physics questions could recover 15<EFBFBD>20 marks.</>
|
||||
<>You're losing ~29 marks to wrong answers. Switching to "skip and revisit" for uncertain Physics questions could recover 15–20 marks.</>
|
||||
) : (
|
||||
<>Complete your first mock test or timed DPP to calculate your negative marking profile and fine-tune your subject pacing.</>
|
||||
)}
|
||||
@@ -139,8 +139,8 @@ export default function StrategyPage() {
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 animate-section animate-section-3">
|
||||
{[
|
||||
{ tip: "Start with Chemistry (highest accuracy) to build momentum and bank easy marks in the first 40 minutes.", color: "text-green-400", label: "Opening Strategy" },
|
||||
{ tip: "Attempt Physics only if you are 80%+ confident per question. Otherwise, mark and skip <EFBFBD> recover in last 10 min buffer.", color: "text-red-400", label: "Physics Guard" },
|
||||
{ tip: "Reserve 10<EFBFBD>15 minutes at the end to revisit starred questions. Your review accuracy is historically 20% higher than first-attempt.", color: "text-[var(--cyan-ai)]", label: "Review Window" },
|
||||
{ tip: "Attempt Physics only if you are 80%+ confident per question. Otherwise, mark and skip — recover in last 10 min buffer.", color: "text-red-400", label: "Physics Guard" },
|
||||
{ tip: "Reserve 10–15 minutes at the end to revisit starred questions. Your review accuracy is historically 20% higher than first-attempt.", color: "text-[var(--cyan-ai)]", label: "Review Window" },
|
||||
].map((s) => (
|
||||
<div key={s.label} className="p-4 rounded-xl bg-white/5 border border-border/30 space-y-2">
|
||||
<div className={`text-xs font-black uppercase tracking-wider ${s.color}`}>{s.label}</div>
|
||||
|
||||
@@ -139,9 +139,9 @@ export default function StudyPlanPage() {
|
||||
<h3 className="text-sm font-black uppercase tracking-wider text-muted-foreground">Upcoming This Week</h3>
|
||||
<div className="space-y-2">
|
||||
{[
|
||||
{ day: "Tue, Aug 5", task: "Full-Length Mock <EFBFBD> JEE Mains Pattern", type: "Test", color: "text-purple-400 bg-purple-400/10" },
|
||||
{ day: "Tue, Aug 5", task: "Full-Length Mock — JEE Mains Pattern", type: "Test", color: "text-purple-400 bg-purple-400/10" },
|
||||
{ day: "Wed, Aug 6", task: "Rotational Dynamics Intensive Drill", type: "Practice", color: "text-[var(--cyan-ai)] bg-[var(--cyan-ai-10)]" },
|
||||
{ day: "Thu, Aug 7", task: "Chemistry Organic <EFBFBD> Mistake Review", type: "Review", color: "text-red-400 bg-red-400/10" },
|
||||
{ day: "Thu, Aug 7", task: "Chemistry Organic — Mistake Review", type: "Review", color: "text-red-400 bg-red-400/10" },
|
||||
{ day: "Fri, Aug 8", task: "Optics + Wave Optics Revision", type: "Revision", color: "text-yellow-400 bg-yellow-400/10" },
|
||||
].map((item) => (
|
||||
<div key={item.day} className="flex items-center gap-2 p-2.5 rounded-lg bg-white/5 border border-border/30">
|
||||
|
||||
Reference in New Issue
Block a user