// Compare translations: pick a second Bible to read beside the one you're reading, and whether the // words that differ are highlighted. The chapter shows how different the two are. import Sheet from './Sheet.jsx'; import { READER_TRANSLATIONS } from '../../utils/bibleText.js'; export default function CompareSheet({ open, onClose, translation, parallel, onParallel, showDiff, onShowDiff }) { const chip = (active) => `rounded-full border px-3 py-1.5 text-sm font-medium ${active ? 'border-[var(--r-text)] bg-[var(--r-text)] text-[var(--r-bg)]' : 'border-[var(--r-line)] text-[var(--r-sub)] hover:bg-black/5'}`; const options = READER_TRANSLATIONS.filter((t) => t.id !== translation); return (

Read another Bible beside the {translation}. You’ll see how different its wording is for the whole chapter and for each verse.

Compare {translation} with
{options.map((t) => ( ))}
{parallel && ( <> Highlight the words that differ
{[[true, 'Show'], [false, 'Hide']].map(([id, text]) => ( ))}
)}

The wording is compared word by word, ignoring capitals and punctuation. It shows how the wording differs, not which translation is more accurate. Tap any verse and open Compare to see all six translations of it.

); }