Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/thatdeveloperguy-website / app/components/content/EvidenceBlock.tsx |
| Date | Not specified in source |
| Repository | Janady13/thatdeveloperguy-website |
| Revision | 2bea2ebdff0e34494bff597d4fa9c8422a0c3a94 |
| Branch | main |
| Path or archive member | app/components/content/EvidenceBlock.tsx |
| Original SHA-256 | 6aec68910839b4169b04fb7ef47e5f4cecd673162012cc92b2e6c64648ac8b2d |
| Git blob SHA | 35a8a2a51f2daa0ad14efd01422ef7307c0b605c |
| Reading-copy SHA-256 | 6aec68910839b4169b04fb7ef47e5f4cecd673162012cc92b2e6c64648ac8b2d |
Recovered source transcript
Download complete source text ↓21 lines · 0.9 KB
import type { CompiledPage } from '../../../src/contracts/page';
/** Claims and what supports them, with unsupported ones visibly marked rather than dropped or dressed up. */
export function EvidenceBlock({ page }: { page: CompiledPage }) {
const evidence = page.serviceDetail?.evidence;
if (!evidence?.length) return null;
return (
<section id="evidence" aria-labelledby="evidence-h" className="evidence-block">
<h2 id="evidence-h">What supports this</h2>
<dl>
{evidence.map(e => (
<div key={e.claim} className={`evidence-item evidence-${e.status}`}>
<dt>{e.claim}</dt>
<dd>{e.support} <span className="evidence-status">{e.status === 'supported' ? 'Supported by the organization record' : 'Not yet published — awaiting the owner'}</span></dd>
</div>
))}
</dl>
</section>
);
}