DocDoeAI / src /lib /mock-data.ts
asnannp's picture
deploy: sync backend to Space root (learn-lesson HF cache fix)
65d68f5
Raw History Blame Contribute Delete
7.75 kB
import {
BookOpen,
Brain,
ClipboardCheck,
FileQuestion,
GraduationCap,
Layers3,
LineChart,
PlaySquare,
Sparkles,
UploadCloud,
} from "lucide-react";
import type {
DashboardStat,
ExamAnswer,
Feature,
FlashcardItem,
PricingPlan,
QuizQuestion,
StudyDocument,
StudyMode,
} from "@/types";
export const studyModes: StudyMode[] = [
"Simple Explanation",
"Smart Notes",
"Quiz + Flashcards",
"Exam Mode",
"Last Night Revision",
"Weak Topic Tracker",
"Previous Paper Analysis",
"Clean Explainer Video",
];
export const dashboardStats: DashboardStat[] = [
{ label: "Documents", value: "12", helper: "Uploaded this month", trend: "+4 new" },
{ label: "Study Outputs", value: "38", helper: "Notes, quizzes, flashcards", trend: "82% complete" },
{ label: "Weak Topics", value: "6", helper: "Need revision focus", trend: "-2 improved" },
{ label: "Exam Readiness", value: "74%", helper: "Sample preview score", trend: "+11%" },
];
export const features: Feature[] = [
{
title: "Upload Materials",
description: "Add selectable-text PDFs or TXT exports of notes, chapters, and question papers.",
href: "/upload",
status: "Ready",
icon: UploadCloud,
},
{
title: "Smart Notes",
description: "Turn dense study material into short, exam-focused notes with key terms.",
href: "/generate/notes",
status: "Preview",
icon: BookOpen,
},
{
title: "Quiz Builder",
description: "Practice with MCQs, short answers, fill blanks, and answer keys.",
href: "/generate/quiz",
status: "Preview",
icon: ClipboardCheck,
},
{
title: "Flashcards",
description: "Use active recall cards for formulas, definitions, and tricky concepts.",
href: "/generate/flashcards",
status: "Preview",
icon: Layers3,
},
{
title: "Exam Mode",
description: "Generate clean 1-mark, 2-mark, and 4-mark answers in exam format.",
href: "/generate/exam-mode",
status: "Preview",
icon: GraduationCap,
},
{
title: "Previous Paper Analyzer",
description: "Find repeated topics, question formats, and chapter weightage.",
href: "/previous-papers",
status: "Preview",
icon: FileQuestion,
},
{
title: "Weak Topic Tracker",
description: "Track repeated mistakes and get revision suggestions before exams.",
href: "/dashboard",
status: "Preview",
icon: Brain,
},
{
title: "Clean Explainer Videos",
description: "Create crisp explainer video previews with subtitles and diagram planning.",
href: "/video-generator",
status: "Preview",
icon: PlaySquare,
},
];
export const documents: StudyDocument[] = [
{
id: "doc-001",
title: "Plus Two Biology - Human Reproduction",
subject: "Biology",
type: "PDF",
uploadedAt: "Today",
pages: 18,
status: "Processed",
},
{
id: "doc-002",
title: "Chemistry Organic Notes - Alcohols",
subject: "Chemistry",
type: "Handwritten",
uploadedAt: "Yesterday",
pages: 9,
status: "Ready for AI",
},
{
id: "doc-003",
title: "Kerala HSE Maths Previous Paper 2025",
subject: "Mathematics",
type: "Question Paper",
uploadedAt: "2 days ago",
pages: 12,
status: "Processed",
},
{
id: "doc-004",
title: "Physics Textbook Page - Wave Optics",
subject: "Physics",
type: "Image",
uploadedAt: "5 days ago",
pages: 3,
status: "Needs review",
},
];
export const quizQuestions: QuizQuestion[] = [
{
id: "q-001",
question: "Which hormone triggers ovulation in humans?",
options: ["FSH", "LH", "Estrogen", "Progesterone"],
answer: "LH",
difficulty: "Easy",
},
{
id: "q-002",
question: "What is the main function of the corpus luteum?",
options: ["Produces progesterone", "Forms the placenta", "Stores ova", "Controls fertilization"],
answer: "Produces progesterone",
difficulty: "Medium",
},
{
id: "q-003",
question: "Write one exam keyword connected to implantation.",
options: ["Blastocyst", "Nephron", "Synapse", "Tendon"],
answer: "Blastocyst",
difficulty: "Exam",
},
];
export const flashcards: FlashcardItem[] = [
{
id: "f-001",
front: "What is implantation?",
back: "Attachment of the blastocyst to the uterine wall. Keyword: endometrium.",
tag: "Biology",
},
{
id: "f-002",
front: "Memory trick for LH surge",
back: "LH means Let the egg Happen. It triggers ovulation.",
tag: "Memory",
},
{
id: "f-003",
front: "Exam answer structure",
back: "Definition first, one keyword, one function or example, no extra story.",
tag: "Exam Mode",
},
];
export const examAnswers: ExamAnswer[] = [
{
marks: "1 Mark",
title: "Define ovulation.",
answer: "Ovulation is the release of a mature ovum from the ovary.",
keywords: ["mature ovum", "ovary"],
},
{
marks: "2 Marks",
title: "What is the role of LH?",
answer:
"LH causes the final maturation of the follicle and triggers ovulation. It also supports formation of the corpus luteum.",
keywords: ["LH surge", "ovulation", "corpus luteum"],
},
{
marks: "4 Marks",
title: "Explain the menstrual cycle in exam format.",
answer:
"The menstrual cycle prepares the female reproductive system for pregnancy. FSH helps follicle growth, estrogen rebuilds the endometrium, LH triggers ovulation, and progesterone maintains the uterine lining.",
keywords: ["FSH", "estrogen", "LH", "progesterone", "endometrium"],
},
];
export const pricingPlans: PricingPlan[] = [
{
name: "Free Trial",
price: "3 days",
description: "Try DocDoe before choosing a monthly plan.",
features: ["Daily Tuition preview", "Study Chat basics", "Limited practice generations"],
},
{
name: "Popular",
price: "INR 299/mo",
description: "For daily tuition, revision, and guided exam practice.",
features: ["Today's Tuition", "Study Chat", "Guided revision flow", "Progress tracking"],
highlighted: true,
},
{
name: "Premium",
price: "INR 599/mo",
description: "For heavier exam preparation with more practice and deeper revision.",
features: ["Everything in Popular", "More study generations", "More guided exam practice", "Priority revision workflow"],
},
];
export const weakTopics = [
{ topic: "Wave Optics derivations", accuracy: "48%", action: "Revise formulas" },
{ topic: "Organic reaction naming", accuracy: "55%", action: "Practice 10 MCQs" },
{ topic: "Menstrual cycle hormones", accuracy: "61%", action: "Review exam answers" },
];
export const activity = [
"Generated smart notes from Biology PDF",
"Completed 12-question quiz on Wave Optics",
"Reviewed 8 flashcards before revision",
"Uploaded Kerala HSE Maths previous paper",
];
export const aiPipelineSteps = [
"Upload study material",
"Extract concepts",
"Rank study importance",
"Generate study outputs",
];
export const productMetrics = [
{ label: "Intelligence modes", value: "8" },
{ label: "Study paths", value: "12" },
{ label: "Core engine", value: "Preview" },
];
export const highlightedMode = {
icon: Sparkles,
title: "Exam-focused tutor behavior",
description:
"Every preview output should include simple meaning, key words, memory tricks, exam answers, and quick checks.",
};
export const trendCards = [
{
title: "Chapter Weightage",
value: "Human Reproduction",
description: "Appeared often in sample previous-paper review.",
icon: LineChart,
},
{
title: "Practice Candidate",
value: "LH surge role",
description: "Good candidate for 2-mark answer practice.",
icon: FileQuestion,
},
];