Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/thatdeveloperguy-website / app/components/content/QuestionsAndAnswers.tsx |
| Date | Not specified in source |
| Repository | Janady13/thatdeveloperguy-website |
| Revision | 2bea2ebdff0e34494bff597d4fa9c8422a0c3a94 |
| Branch | main |
| Path or archive member | app/components/content/QuestionsAndAnswers.tsx |
| Original SHA-256 | c89968fc88db65c95c51dfc8d03a66003e63873e8fe786cb7dab732c40c7f145 |
| Git blob SHA | f43b21ae5c97f7b48310bb5095ef79c553484a5e |
| Reading-copy SHA-256 | c89968fc88db65c95c51dfc8d03a66003e63873e8fe786cb7dab732c40c7f145 |
Recovered source transcript
Download complete source text ↓18 lines · 0.6 KB
import type { CompiledPage } from '../../../src/contracts/page';
/** Visible Q&A from questions.json — the same text the structured data carries; nothing crawler-only. */
export function QuestionsAndAnswers({ page }: { page: CompiledPage }) {
if (!page.questions.length) return null;
return (
<section id="questions" aria-labelledby="questions-h" className="qa">
<h2 id="questions-h">Questions buyers ask</h2>
{page.questions.map(q => (
<details key={q.id} id={`q-${q.id}`} open>
<summary><h3>{q.question}</h3></summary>
<p>{q.answer}</p>
</details>
))}
</section>
);
}