mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
feat(renderer): wire PreviewPane into AppShell
This commit is contained in:
@@ -4,6 +4,7 @@ import { Toolbar } from './Toolbar';
|
|||||||
import { Breadcrumb } from './Breadcrumb';
|
import { Breadcrumb } from './Breadcrumb';
|
||||||
import { StatusBar } from './StatusBar';
|
import { StatusBar } from './StatusBar';
|
||||||
import { EditorPane } from '@/components/editor/EditorPane';
|
import { EditorPane } from '@/components/editor/EditorPane';
|
||||||
|
import { PreviewPane } from '@/components/preview/PreviewPane';
|
||||||
import { useAppStore } from '@/stores/app-store';
|
import { useAppStore } from '@/stores/app-store';
|
||||||
import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@/components/ui/resizable';
|
import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@/components/ui/resizable';
|
||||||
|
|
||||||
@@ -38,9 +39,7 @@ export function AppShell() {
|
|||||||
<>
|
<>
|
||||||
<ResizableHandle />
|
<ResizableHandle />
|
||||||
<ResizablePanel defaultSize={paneSizes.preview} minSize={20}>
|
<ResizablePanel defaultSize={paneSizes.preview} minSize={20}>
|
||||||
<section className="h-full border-l border-border bg-card/10 p-4 text-sm text-muted-foreground">
|
<PreviewPane />
|
||||||
Preview placeholder
|
|
||||||
</section>
|
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user