import React from 'react'; import { Card } from './ui/card'; import { Button } from './ui/button'; import { Progress } from './ui/progress'; import { Brain, Calendar, Download, Info } from 'lucide-react'; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from './ui/tooltip'; import { Badge } from './ui/badge'; interface MemoryLineProps { progress: number; } export function MemoryLine({ progress }: MemoryLineProps) { const nextReview = progress < 25 ? 'T+7' : progress < 50 ? 'T+14' : progress < 75 ? 'T+30' : 'Complete'; return (

Memory Line

Track your learning retention using spaced repetition. Regular reviews help solidify understanding!

{progress}%
{/* Progress Bar with Milestones */}
{/* Milestone Markers */}
{[0, 25, 50, 75, 100].map((milestone) => (
= milestone ? 'bg-primary border-primary' : 'bg-background border-border' } `} /> ))}
{/* Milestone Labels */}
T+0 T+7 T+14 T+30 Done
{/* Actions */}

Download your learning progress report

{/* Review Explanation */}

Based on spaced repetition for optimal retention

); }