diff --git a/src/pages/get-started/index.tsx b/src/pages/get-started/index.tsx index 3bf8d265..86ab2557 100644 --- a/src/pages/get-started/index.tsx +++ b/src/pages/get-started/index.tsx @@ -371,7 +371,7 @@ function StatCard({ value, label, index = 0 }: StatCardProps) { {}, + onToggleComplete = () => { }, }: LearningPathProps) => { const isEven = index % 2 === 0; const delay = index * 0.15; @@ -489,9 +489,8 @@ const LearningPath = ({ opacity: isCompleted ? 0.9 : 1, filter: isCompleted ? "saturate(0.9)" : "none", transition: "all 0.3s ease-in-out", - border: `1px solid ${ - isCompleted ? `${color}40` : "rgba(255, 255, 255, 0.1)" - }`, + border: `1px solid ${isCompleted ? `${color}40` : "rgba(255, 255, 255, 0.1)" + }`, background: "linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98))", boxShadow: "0 8px 20px -5px rgba(0, 0, 0, 0.15)", @@ -592,17 +591,15 @@ const LearningPath = ({
{isCompleted ? "Continue Learning" : "Start Learning"} {isCompleted && ( @@ -723,7 +718,7 @@ function GetStartedContent() { Math.round( (Object.values(completedPaths).filter(Boolean).length / learningPaths.length) * - 100, + 100, ) || 0; // Save to localStorage whenever completedPaths changes @@ -759,9 +754,8 @@ function GetStartedContent() {
{/* Features Section */}