--- // HandoffTable — the four-row "what crosses contexts" table. // // Static shell: the row data is passed in via `rows` so this component has // no opinion on what each handoff package contains. The table structure is // the load-bearing part of the design (dark header, blue row labels, // muted body) and lives here so the next page that needs it gets the same // beat for free. type Localized = { en: string; pt: string }; interface Row { /** The package name, rendered as a `
| { typeof columns[0] === 'string' ? ( columns[0] ) : ( <> <> {columns[0].en} {columns[0].pt} > > ) } | { typeof columns[1] === 'string' ? ( columns[1] ) : ( <> <> {columns[1].en} {columns[1].pt} > > ) } | { typeof columns[2] === 'string' ? ( columns[2] ) : ( <> <> {columns[2].en} {columns[2].pt} > > ) } |
|---|---|---|
| {typeof row.package === 'string' ? ( row.package ) : ( <> {row.package.en} {row.package.pt} > )} | {typeof row.contains === 'string' ? ( row.contains ) : ( <> {row.contains.en} {row.contains.pt} > )} | {typeof row.why === 'string' ? ( row.why ) : ( <> {row.why.en} {row.why.pt} > )} |