@@ -33,23 +33,57 @@ export default function CanvasPage() {
3333 </ div >
3434
3535 { /* App shell */ }
36- < div className = "brand-shell" style = { { position : "relative" , zIndex : 1 , height : "100vh" , overflow : "hidden" } } >
37- < CopilotKit
38- runtimeUrl = "/api/copilotkit"
39- showDevConsole = { false }
40- >
41- < div className = "h-screen w-full flex gap-4 p-4" style = { { background : "var(--surface-light)" } } >
42- { /* Left: Document Editor */ }
43- < div className = "flex-1 overflow-hidden rounded-lg" style = { { background : "var(--surface-primary)" , boxShadow : "0 1px 3px rgba(0, 0, 0, 0.08)" } } >
44- < DocumentEditor />
36+ < div className = "brand-shell" style = { { position : "relative" , zIndex : 1 } } >
37+ < div className = "brand-glass-container" >
38+ { /* Header Banner */ }
39+ < div
40+ className = "shrink-0 border-b border-white/30 dark:border-white/8"
41+ style = { {
42+ background : "linear-gradient(135deg, rgba(190,194,255,0.08) 0%, rgba(133,224,206,0.06) 100%)" ,
43+ } }
44+ >
45+ < div className = "flex items-center justify-between gap-4 px-5 py-3" >
46+ < div className = "flex items-center gap-3 min-w-0 flex-1" >
47+ < div
48+ className = "flex items-center justify-center shrink-0 w-9 h-9 rounded-lg text-white"
49+ style = { {
50+ background : "linear-gradient(135deg, var(--color-lilac), var(--color-mint))" ,
51+ } }
52+ >
53+ < svg width = "18" height = "18" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" strokeWidth = "2" strokeLinecap = "round" strokeLinejoin = "round" >
54+ < path d = "M12 2L2 7l10 5 10-5-10-5z" />
55+ < path d = "M2 17l10 5 10-5" />
56+ < path d = "M2 12l10 5 10-5" />
57+ </ svg >
58+ </ div >
59+ < p className = "text-base font-semibold m-0 leading-snug" style = { { color : "var(--text-primary)" } } >
60+ Document to MCP
61+ < span className = "font-normal" style = { { color : "var(--text-secondary)" } } > — powered by CopilotKit</ span >
62+ </ p >
63+ </ div >
4564 </ div >
65+ </ div >
4666
47- { /* Right: Chat Panel */ }
48- < div className = "w-[400px] overflow-hidden rounded-lg" style = { { background : "var(--surface-primary)" , boxShadow : "0 1px 3px rgba(0, 0, 0, 0.08)" } } >
49- { mounted && < CopilotChat agentId = "default" className = "h-full flex flex-col" /> }
67+ < CopilotKit
68+ runtimeUrl = "/api/copilotkit"
69+ showDevConsole = { false }
70+ >
71+ { /* Content Area */ }
72+ < div className = "flex-1 min-h-0 flex flex-col" >
73+ < div className = "flex-1 min-h-0 flex gap-4 p-4" style = { { background : "var(--surface-light)" } } >
74+ { /* Left: Document Editor */ }
75+ < div className = "flex-1 overflow-hidden rounded-lg" style = { { background : "var(--surface-primary)" , boxShadow : "0 1px 3px rgba(0, 0, 0, 0.08)" } } >
76+ < DocumentEditor />
77+ </ div >
78+
79+ { /* Right: Chat Panel */ }
80+ < div className = "w-[400px] overflow-hidden rounded-lg" style = { { background : "var(--surface-primary)" , boxShadow : "0 1px 3px rgba(0, 0, 0, 0.08)" } } >
81+ { mounted && < CopilotChat agentId = "default" className = "h-full flex flex-col" /> }
82+ </ div >
83+ </ div >
5084 </ div >
51- </ div >
52- </ CopilotKit >
85+ </ CopilotKit >
86+ </ div >
5387 </ div >
5488 </ >
5589 ) ;
0 commit comments