stlyes fixes
This commit is contained in:
@@ -29,7 +29,7 @@ export const LinkResults: React.FC<LinkResultsProps> = ({
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
<h3 className="text-lg font-semibold text-gray-900 dark:text-white">Linking Results</h3>
|
||||
<div className="flex items-center gap-2">
|
||||
<PlugInIcon className="w-5 h-5 text-blue-500" />
|
||||
<PlugInIcon className="w-5 h-5 text-brand-500" />
|
||||
<span className="text-sm text-gray-600 dark:text-gray-400">Version {linkerVersion}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -46,14 +46,14 @@ export const LinkResults: React.FC<LinkResultsProps> = ({
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
<h3 className="text-lg font-semibold text-gray-900 dark:text-white">Linking Results</h3>
|
||||
<div className="flex items-center gap-2">
|
||||
<PlugInIcon className="w-5 h-5 text-blue-500" />
|
||||
<PlugInIcon className="w-5 h-5 text-brand-500" />
|
||||
<span className="text-sm text-gray-600 dark:text-gray-400">Version {linkerVersion}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{linksAdded > 0 ? (
|
||||
<div className="space-y-4">
|
||||
<div className="flex items-center gap-2 text-green-600 dark:text-green-400">
|
||||
<div className="flex items-center gap-2 text-success-600 dark:text-success-400">
|
||||
<CheckCircleIcon className="w-5 h-5" />
|
||||
<span className="font-medium">{linksAdded} link{linksAdded !== 1 ? 's' : ''} added</span>
|
||||
</div>
|
||||
@@ -63,15 +63,15 @@ export const LinkResults: React.FC<LinkResultsProps> = ({
|
||||
{/* Stage 3: Group links by cluster match */}
|
||||
{links.some(l => l.cluster_match) && (
|
||||
<div className="mb-4">
|
||||
<div className="text-xs font-semibold text-blue-600 dark:text-blue-400 mb-2">
|
||||
<div className="text-xs font-semibold text-brand-600 dark:text-brand-400 mb-2">
|
||||
Cluster Matches (High Priority)
|
||||
</div>
|
||||
<ul className="space-y-2">
|
||||
{links.filter(l => l.cluster_match).map((link, index) => (
|
||||
<li key={`cluster-${index}`} className="flex items-center gap-2 text-sm pl-2 border-l-2 border-blue-500">
|
||||
<li key={`cluster-${index}`} className="flex items-center gap-2 text-sm pl-2 border-l-2 border-brand-500">
|
||||
<span className="text-gray-600 dark:text-gray-400">"{link.anchor_text || 'Untitled'}"</span>
|
||||
<span className="text-gray-400">→</span>
|
||||
<span className="text-blue-600 dark:text-blue-400">
|
||||
<span className="text-brand-600 dark:text-brand-400">
|
||||
Content #{link.target_content_id || 'N/A'}
|
||||
</span>
|
||||
{link.relevance_score !== undefined && (
|
||||
@@ -96,7 +96,7 @@ export const LinkResults: React.FC<LinkResultsProps> = ({
|
||||
<li key={`other-${index}`} className="flex items-center gap-2 text-sm">
|
||||
<span className="text-gray-600 dark:text-gray-400">"{link.anchor_text || 'Untitled'}"</span>
|
||||
<span className="text-gray-400">→</span>
|
||||
<span className="text-blue-600 dark:text-blue-400">
|
||||
<span className="text-brand-600 dark:text-brand-400">
|
||||
Content #{link.target_content_id || 'N/A'}
|
||||
</span>
|
||||
{link.relevance_score !== undefined && (
|
||||
@@ -117,7 +117,7 @@ export const LinkResults: React.FC<LinkResultsProps> = ({
|
||||
<li key={index} className="flex items-center gap-2 text-sm">
|
||||
<span className="text-gray-600 dark:text-gray-400">"{link.anchor_text}"</span>
|
||||
<span className="text-gray-400">→</span>
|
||||
<span className="text-blue-600 dark:text-blue-400">
|
||||
<span className="text-brand-600 dark:text-brand-400">
|
||||
Content #{link.target_content_id}
|
||||
</span>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user