sovereign-intelligence
Front door to Drake Stapleton's sovereign stack.
Brought by drakestapleton
sovereign-intelligence / docs / archive / drakestapleton.com-old / src / components / VoiceMark.tsx
| 1 | import type { ReactNode } from "react"; |
| 2 | |
| 3 | /** |
| 4 | * HisWords marks a passage as the author's own words: spoken aloud by him, |
| 5 | * placed on the page by AI. Rendered as one small, quiet marker; the site |
| 6 | * footer carries the key that explains it. Unmarked prose was drafted with |
| 7 | * AI from his direction and kept only with his approval. |
| 8 | */ |
| 9 | export function HisWords({ |
| 10 | children, |
| 11 | block = false, |
| 12 | }: { |
| 13 | children: ReactNode; |
| 14 | block?: boolean; |
| 15 | }) { |
| 16 | const mark = ( |
| 17 | <span className="his-words-mark" aria-hidden="true"> |
| 18 | ◆ |
| 19 | </span> |
| 20 | ); |
| 21 | const srNote = ( |
| 22 | <span className="visually-hidden">His own words, spoken aloud. </span> |
| 23 | ); |
| 24 | if (block) { |
| 25 | return ( |
| 26 | <div className="his-words-block" title="His own words, spoken aloud"> |
| 27 | {srNote} |
| 28 | {mark} |
| 29 | {children} |
| 30 | </div> |
| 31 | ); |
| 32 | } |
| 33 | return ( |
| 34 | <span className="his-words" title="His own words, spoken aloud"> |
| 35 | {srNote} |
| 36 | {mark} |
| 37 | {children} |
| 38 | </span> |
| 39 | ); |
| 40 | } |