kyd-shared-badge 0.3.43 → 0.3.44
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
|
@@ -286,7 +286,9 @@ const SharedBadgeDisplay = ({ badgeData, chatProps, headless }: { badgeData: Pub
|
|
|
286
286
|
|
|
287
287
|
{/* Connected Platforms */}
|
|
288
288
|
<Reveal headless={isHeadless}>
|
|
289
|
-
<
|
|
289
|
+
<div id="appendix-connected">
|
|
290
|
+
<ConnectedPlatforms accounts={connected} authenticity={assessmentResult?.account_authenticity} />
|
|
291
|
+
</div>
|
|
290
292
|
</Reveal>
|
|
291
293
|
|
|
292
294
|
|
|
@@ -132,7 +132,7 @@ const SharedBadgeDisplay = ({ badgeData, chatProps, headless }: { badgeData: Pub
|
|
|
132
132
|
const keys = new Set(tabs.map(t => t.key));
|
|
133
133
|
if (hash && keys.has(hash)) setActiveTab(hash);
|
|
134
134
|
// If the hash targets a skills appendix anchor, switch to Appendix
|
|
135
|
-
if (hash && (hash.startsWith('appendix-skills') || hash.includes('appendix-skills-cat-'))) {
|
|
135
|
+
if (hash && (hash.startsWith('appendix-skills') || hash.includes('appendix-skills-cat-') || hash === 'appendix-connected')) {
|
|
136
136
|
setActiveTab('appendix');
|
|
137
137
|
}
|
|
138
138
|
} catch {}
|
|
@@ -428,7 +428,7 @@ const SharedBadgeDisplay = ({ badgeData, chatProps, headless }: { badgeData: Pub
|
|
|
428
428
|
})()}
|
|
429
429
|
</div>
|
|
430
430
|
)}
|
|
431
|
-
<div>
|
|
431
|
+
<div id="appendix-connected">
|
|
432
432
|
<ConnectedPlatforms accounts={connected} authenticity={assessmentResult?.account_authenticity} />
|
|
433
433
|
</div>
|
|
434
434
|
</div>
|
|
@@ -71,6 +71,9 @@ const ReportHeader = ({ badgeId, developerName, updatedAt, score = 0, badgeImage
|
|
|
71
71
|
<div className={'text-sm'}>
|
|
72
72
|
<div className={'font-semibold'} style={{ color: 'var(--text-main)' }}>Account Authenticity {isCritical ? 'Warning' : 'Notice'}</div>
|
|
73
73
|
<div className={'mt-1'} style={{ color: 'var(--text-secondary)' }}>{accountAuthenticity?.description || (isCritical ? 'We detected signals that some linked accounts may be inauthentic. Review sources below.' : 'Some inconsistencies were observed across linked accounts. Review sources below.')}</div>
|
|
74
|
+
<div className={'mt-2'}>
|
|
75
|
+
<a href={'#appendix-connected'} className={'text-xs font-medium underline underline-offset-2'} style={{ color: 'var(--text-secondary)' }}>See more</a>
|
|
76
|
+
</div>
|
|
74
77
|
</div>
|
|
75
78
|
</div>
|
|
76
79
|
);
|