stage 4-1
This commit is contained in:
@@ -86,11 +86,23 @@ export default function AnalysisPreview() {
|
||||
|
||||
{loading || analyzing ? (
|
||||
<div className="text-center py-12">
|
||||
<div className="inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-blue-500"></div>
|
||||
<p className="mt-2 text-gray-600 dark:text-gray-400">
|
||||
<div className="inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-blue-500 mb-3"></div>
|
||||
<p className="text-gray-600 dark:text-gray-400">
|
||||
{loading ? 'Loading content...' : 'Analyzing content...'}
|
||||
</p>
|
||||
</div>
|
||||
) : !content ? (
|
||||
<div className="text-center py-12">
|
||||
<BoltIcon className="w-12 h-12 text-gray-400 dark:text-gray-500 mx-auto mb-3 opacity-50" />
|
||||
<p className="text-gray-600 dark:text-gray-400 mb-2">Content not found</p>
|
||||
<p className="text-sm text-gray-400 dark:text-gray-500">Unable to load content for analysis</p>
|
||||
</div>
|
||||
) : !scores ? (
|
||||
<div className="text-center py-12">
|
||||
<BoltIcon className="w-12 h-12 text-gray-400 dark:text-gray-500 mx-auto mb-3 opacity-50" />
|
||||
<p className="text-gray-600 dark:text-gray-400 mb-2">Analysis unavailable</p>
|
||||
<p className="text-sm text-gray-400 dark:text-gray-500">Unable to analyze this content</p>
|
||||
</div>
|
||||
) : content && scores ? (
|
||||
<div className="space-y-6">
|
||||
{/* Content Info */}
|
||||
|
||||
Reference in New Issue
Block a user