feat: add live Codex research chat and reusable deck sources
This commit is contained in:
@@ -2,21 +2,25 @@ import { Icon } from './icon'
|
||||
|
||||
export function AppShell({
|
||||
sidebar,
|
||||
researchChat,
|
||||
children,
|
||||
}: {
|
||||
sidebar: React.ReactNode
|
||||
researchChat: React.ReactNode
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<main className="app app-deck">
|
||||
<aside className="app-sidebar" aria-label="デッキ管理">
|
||||
<p className="brand">
|
||||
<Icon name="columns" />
|
||||
<span>Twitter Lite</span>
|
||||
</p>
|
||||
{sidebar}
|
||||
</aside>
|
||||
<section className="reader">{children}</section>
|
||||
{researchChat}
|
||||
<section className="reader">
|
||||
<section className="deck-toolbar" aria-label="デッキ管理">
|
||||
<p className="brand" title="Twitter Lite">
|
||||
<Icon name="columns" />
|
||||
</p>
|
||||
{sidebar}
|
||||
</section>
|
||||
{children}
|
||||
</section>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user