41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
|
|
/**
|
||
|
|
* App — the citation-evidence MVP shell.
|
||
|
|
*
|
||
|
|
* Three-pane layout per `wiki/ArchitectureOverview.md` §12.1:
|
||
|
|
*
|
||
|
|
* ┌────────────┬──────────────────┬────────────┐
|
||
|
|
* │ Collection │ Document Viewer │ Evidence │
|
||
|
|
* │ List │ │ Sidebar │
|
||
|
|
* └────────────┴──────────────────┴────────────┘
|
||
|
|
*
|
||
|
|
* CE-WP-0002-T06 stops at "viewer shell is rendered, evidence list is
|
||
|
|
* displayed". T07 wires the selection → annotation → evidence flow; T08
|
||
|
|
* wires the sidebar-click → scroll-to-passage round-trip.
|
||
|
|
*/
|
||
|
|
|
||
|
|
import {
|
||
|
|
CollectionList,
|
||
|
|
EngineProvider,
|
||
|
|
EvidenceSidebar,
|
||
|
|
ViewerShell,
|
||
|
|
} from "@work/index";
|
||
|
|
|
||
|
|
export function App() {
|
||
|
|
return (
|
||
|
|
<EngineProvider>
|
||
|
|
<div
|
||
|
|
style={{
|
||
|
|
display: "flex",
|
||
|
|
height: "100vh",
|
||
|
|
fontFamily: "system-ui, sans-serif",
|
||
|
|
color: "#222",
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
<CollectionList />
|
||
|
|
<ViewerShell />
|
||
|
|
<EvidenceSidebar />
|
||
|
|
</div>
|
||
|
|
</EngineProvider>
|
||
|
|
);
|
||
|
|
}
|