feat: 完善中文心理测评平台

This commit is contained in:
mikemoi
2026-06-22 22:59:01 +02:00
commit 9227c687fc
160 changed files with 16974 additions and 0 deletions
@@ -0,0 +1,16 @@
import React from 'react';
interface ProgressBarProps {
completionPercentage: number;
}
export function ProgressBar({ completionPercentage }: ProgressBarProps) {
return (
<div className="w-full h-2 bg-gray-200 rounded-full overflow-hidden mb-2">
<div
className="h-full bg-green-500 transition-all duration-300"
style={{ width: `${completionPercentage}%` }}
></div>
</div>
);
}