kyd-shared-badge 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -40,9 +40,8 @@ export default function ProviderInsights({ platforms, insights, variant = 'priva
|
|
|
40
40
|
return (
|
|
41
41
|
<div className="space-y-6">
|
|
42
42
|
{platforms.map(platform => {
|
|
43
|
-
const accessor = platform.name.toLowerCase();
|
|
44
43
|
const Icon = platform.name ? providerIcons[platform.name] : null;
|
|
45
|
-
const providerInsight = insights[
|
|
44
|
+
const providerInsight = insights[platform.name];
|
|
46
45
|
const observedDate = platform.observedAt ? new Date(platform.observedAt).toLocaleDateString(undefined, {
|
|
47
46
|
year: 'numeric',
|
|
48
47
|
month: 'short',
|
|
@@ -95,7 +94,7 @@ export default function ProviderInsights({ platforms, insights, variant = 'priva
|
|
|
95
94
|
{/* Data Points */}
|
|
96
95
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
97
96
|
{providerInsight.data_points.map((point, index) => (
|
|
98
|
-
<div key={index} className={isRecruiter ? 'rounded-lg p-4' : 'bg-neutral-50 dark:bg-neutral-700/50 rounded-lg p-4'} style={isRecruiter ? { backgroundColor: 'var(--
|
|
97
|
+
<div key={index} className={isRecruiter ? 'rounded-lg p-4' : 'bg-neutral-50 dark:bg-neutral-700/50 rounded-lg p-4'} style={isRecruiter ? { backgroundColor: 'var(--content-card-background)/90' } : undefined}>
|
|
99
98
|
<div className="flex justify-between items-baseline mb-2">
|
|
100
99
|
<h4 className={isRecruiter ? 'font-medium' : 'font-medium text-neutral-900 dark:text-white'} style={isRecruiter ? { color: 'var(--text-main)' } : undefined}>
|
|
101
100
|
{point.label}
|